forked from ZhongAnTech/zarm
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
60 lines (60 loc) · 2.14 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": "root",
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"clean": "lerna run clean && lerna clean -y",
"lint:tsc": "tsc --noEmit",
"lint:script": "eslint --ext .ts,.tsx,.js,.jsx packages",
"lint:style": "stylelint \"packages/**/*.scss\" --syntax scss",
"lint": "yarn lint:script && yarn lint:style",
"test": "lerna exec --no-private -- yarn test",
"prebuild": "lerna exec --scope @zarm-design/cli -- yarn build && lerna exec --scope @zarm-design/icons -- yarn build",
"build": "yarn prebuild && lerna exec --scope zarm -- yarn build",
"dev": "yarn prebuild && lerna exec --scope site -- yarn start",
"deploy:build": "yarn prebuild && lerna exec --scope site -- yarn build -p",
"deploy": "lerna exec --scope site -- gh-pages -d assets",
"release": "yarn lint && yarn build && yarn test && lerna publish",
"prepublish": "yarn lint && yarn build && yarn test",
"prettier": "prettier -c --write '**/*'",
"pretty-quick": "pretty-quick",
"bundlesize": "lerna run bundlesize",
"sort": "npx sort-package-json \"package.json\" \"packages/*/package.json\""
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged",
"commit-msg": "commitlint -e $HUSKY_GIT_PARAMS"
}
},
"devDependencies": {
"@commitlint/cli": "^12.1.1",
"@commitlint/config-conventional": "^12.1.1",
"@types/jest": "^26.0.22",
"@typescript-eslint/eslint-plugin": "3.10.1",
"@typescript-eslint/parser": "3.10.1",
"babel-eslint": "10.1.0",
"browserslist": "^4.16.4",
"bundlesize": "^0.18.1",
"concurrently": "^6.0.2",
"eslint": "7.10.0",
"eslint-config-prettier": "8.1.0",
"eslint-config-za": "2.2.2",
"eslint-plugin-babel": "5.3.1",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-jsx-a11y": "6.4.1",
"eslint-plugin-react": "7.21.5",
"eslint-plugin-react-hooks": "4.1.2",
"husky": "^4.3.8",
"lerna": "^4.0.0",
"prettier": "^2.2.1",
"pretty-quick": "^3.1.0",
"rimraf": "^3.0.2",
"stylelint": "13.8.0",
"stylelint-config-za": "0.3.0",
"stylelint-scss": "^3.18.0",
"typescript": "4.0.2"
}
}