forked from arco-design/arco-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
60 lines (60 loc) · 1.69 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
{
"name": "@arco-design/arco-cli",
"description": "Arco CLI & Arco Scripts",
"private": "true",
"workspaces": [
"packages/*"
],
"scripts": {
"init": "yarn && lerna bootstrap",
"format": "prettier --config .prettierrc --write \"packages/**/*.{js,jsx,ts,tsx}\"",
"eslint": "eslint packages/ --fix --cache --quiet --ext .js,.jsx,.ts,.tsx",
"stylelint": "stylelint 'packages/**/*.less' --fix --cache",
"preRelease": "lerna run clean && lerna run build"
},
"devDependencies": {
"@types/cross-spawn": "^6.0.2",
"@types/fs-extra": "^9.0.11",
"@types/gulp": "^4.0.8",
"@types/gulp-if": "^0.0.33",
"@types/gulp-plumber": "^0.0.32",
"@types/merge-stream": "^1.1.2",
"@types/node": "^15.6.0",
"@types/through2": "^2.0.36",
"@typescript-eslint/eslint-plugin": "^3.10.1",
"@typescript-eslint/parser": "^3.10.1",
"chalk": "^4.0.0",
"eslint": "^6.0.0",
"eslint-config-airbnb": "^18.1.0",
"eslint-config-prettier": "^6.5.0",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react": "^7.12.3",
"eslint-plugin-typescript": "^0.14.0",
"fs-extra": "^9.0.0",
"husky": "^4.3.0",
"lerna": "^3.21.0",
"lint-staged": "^10.2.4",
"prettier": "^2.0.5",
"stylelint": "^13.4.1",
"stylelint-config-standard": "^20.0.0",
"typescript": "^4.4.3"
},
"lint-staged": {
"packages/**/*.{js,jsx,ts,tsx}": [
"npm run eslint",
"git add"
],
"*.{css, less}": [
"npm run stylelint",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}