-
-
Notifications
You must be signed in to change notification settings - Fork 225
/
package.json
70 lines (70 loc) · 2.39 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
{
"name": "root",
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"build": "lerna exec --scope zarm -- yarn build",
"clean": "lerna run clean && lerna clean -y",
"deploy": "lerna exec --scope site -- gh-pages -d assets",
"deploy:build": "lerna exec --scope site -- yarn build",
"dev": "lerna exec --scope site -- yarn start",
"postinstall": "lerna exec --scope @zarm-design/cli -- yarn build && lerna exec --scope @zarm-design/bem -- yarn build && lerna exec --scope @zarm-design/icons -- yarn build",
"lint": "yarn install && yarn lint:tsc && yarn lint:script && yarn lint:style",
"lint:script": "eslint --ext .ts,.tsx,.js,.jsx packages",
"lint:style": "stylelint \"packages/**/*.scss\" --syntax scss",
"lint:tsc": "tsc --noEmit",
"prepublishOnly": "yarn lint && yarn build && yarn test",
"prettier": "prettier --write -c '**/*.{js,jsx,ts,tsx,html,md,json}'",
"release": "lerna publish",
"sort": "npx sort-package-json \"package.json\" \"packages/*/package.json\"",
"test": "lerna exec --no-private -- yarn test"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.{js,jsx,ts,tsx,html,md,json}": [
"prettier --write --no-error-on-unmatched-pattern"
],
"*.scss": [
"stylelint --syntax scss"
]
},
"resolutions": {
"@types/react": "18.0.26",
"@types/react-dom": "18.0.9"
},
"devDependencies": {
"@babel/eslint-parser": "^7.16.3",
"@babel/eslint-plugin": "^7.14.5",
"@commitlint/cli": "^17.3.0",
"@commitlint/config-conventional": "^17.3.0",
"@types/jest": "^26.0.22",
"@typescript-eslint/eslint-plugin": "^5.3.1",
"@typescript-eslint/parser": "^5.3.1",
"browserslist": "^4.16.4",
"concurrently": "^6.0.2",
"eslint": "^7.10.0",
"eslint-config-prettier": "8.1.0",
"eslint-config-za": "^2.4.0-alpha.3",
"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": "^8.0.2",
"lerna": "^4.0.0",
"lint-staged": "^13.1.0",
"prettier": "^2.8.0",
"prettier-plugin-organize-imports": "^3.2.1",
"prettier-plugin-packagejson": "^2.3.0",
"rimraf": "^3.0.2",
"stylelint": "13.8.0",
"stylelint-config-za": "0.3.0",
"stylelint-scss": "^3.18.0",
"typescript": "~4.5.0"
}
}