-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
68 lines (68 loc) · 1.78 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
{
"name": "frontend-monorepo-template",
"version": "1.0.0",
"main": "index.js",
"repository": "https://github.com/thundersdata-frontend/frontend-monorepo-template.git",
"author": "[email protected]",
"private": true,
"scripts": {
"eslint": "eslint --fix --ext .ts,.tsx",
"prettier": "prettier --check packages/**/*.tsx --write",
"postinstall": "npx husky install",
"commit": "git-cz",
"reinstall": "find . -type dir -name node_modules | xargs rm -rf && yarn"
},
"config": {
"commitizen": {
"path": "node_modules/cz-customizable"
}
},
"lint-staged": {
"src/**/*.{js,ts,tsx}": [
"npm run eslint",
"npm run prettier"
]
},
"workspaces": {
"packages": [
"packages/*"
],
"nohoist": [
"**/react",
"**/react-dom",
"**/td-design/**",
"**/react-native",
"**/react-native/**",
"**/react-native-**",
"**/@react-native-**",
"**/@tarojs",
"**/@tarojs/**",
"**/alita",
"**/alita/**",
"**/@alita/**",
"**/umi",
"**/umi/**",
"**/@umijs/**"
]
},
"devDependencies": {
"@commitlint/cli": "^17.0.0",
"@commitlint/config-conventional": "^17.0.0",
"@types/lodash-es": "^4.17.6",
"@typescript-eslint/eslint-plugin": "^5.26.0",
"@typescript-eslint/parser": "^5.26.0",
"commitizen": "^4.2.4",
"cz-customizable": "^6.3.0",
"eslint": "^8.16.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^2.7.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.30.0",
"eslint-plugin-react-hooks": "^4.5.0",
"eslint-plugin-react-native": "^4.0.0",
"husky": "^8.0.1",
"lint-staged": "^12.4.2",
"prettier": "^2.6.2",
"typescript": "^4.7.2"
}
}