-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
119 lines (119 loc) · 2.87 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"name": "typescript-template",
"private": true,
"version": "0.0.0",
"description": "Template repository for TypeScript projects with Babel",
"keywords": [],
"types": "types/index.d.ts",
"main": "lib/index.js",
"files": [
"src/",
"lib/",
"types/",
"!**/__tests__"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/satya164/typescript-template.git"
},
"author": "Satyajit Sahoo <[email protected]> (https://github.com/satya164/)",
"scripts": {
"lint": "eslint --ext .tsx,.ts,.js .",
"typescript": "tsc --noEmit",
"test": "jest",
"prebuild": "del lib/ types/",
"babel": "babel src --out-dir lib --extensions '.tsx,.ts,.js' --ignore '**/__tests__/**' --source-maps --delete-dir-on-start",
"declarations": "tsc --declaration --emitDeclarationOnly --outDir types",
"build": "yarn babel && yarn declarations",
"prepare": "yarn build",
"release": "release-it"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"dependencies": {
"core-js": "^3.6.5"
},
"devDependencies": {
"@babel/cli": "^7.10.1",
"@babel/core": "^7.10.2",
"@babel/preset-env": "^7.10.2",
"@babel/preset-typescript": "^7.10.1",
"@commitlint/config-conventional": "^8.3.4",
"@release-it/conventional-changelog": "^1.1.4",
"@types/jest": "^26.0.0",
"codecov": "^3.7.0",
"commitlint": "^8.3.5",
"del-cli": "^3.0.1",
"eslint": "^7.2.0",
"eslint-config-satya164": "^3.1.7",
"husky": "^4.2.5",
"jest": "^26.0.1",
"prettier": "^2.0.5",
"release-it": "^13.6.2",
"typescript": "^3.9.5"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "yarn lint && yarn typescript && yarn test"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"release-it": {
"git": {
"commitMessage": "chore: release ${version}",
"tagName": "v${version}"
},
"npm": {
"publish": true
},
"github": {
"release": true
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular"
}
}
},
"jest": {
"testEnvironment": "node",
"modulePathIgnorePatterns": [
"<rootDir>/types/",
"<rootDir>/lib/"
],
"testRegex": "/__tests__/.*\\.(test|spec)\\.(js|tsx?)$"
},
"eslintConfig": {
"extends": "satya164"
},
"eslintIgnore": [
"node_modules/",
"coverage/",
"lib/"
],
"prettier": {
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
},
"browserslist": [
">1%",
"last 2 chrome versions",
"last 2 edge versions",
"last 2 firefox versions",
"last 2 safari versions",
"not dead",
"not ie <= 11",
"not op_mini all",
"not android <= 4.4",
"not samsung <= 4"
]
}