-
Notifications
You must be signed in to change notification settings - Fork 130
/
package.json
45 lines (45 loc) · 1.29 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
{
"private": true,
"workspaces": [
"packages/*"
],
"repository": {
"type": "git",
"url": "git+https://github.com/alibaba/dawn.git"
},
"scripts": {
"bootstrap": "lerna bootstrap && yarn build",
"clean": "lerna clean --yes",
"prepare": "husky install",
"lint": "eslint --quiet --cache --ext .js,.jsx,.ts,.tsx ./",
"lint:fix": "npm run lint -- --fix",
"commitlint": "commitlint --edit $1",
"test": "yarn bootstrap",
"build": "lerna run build --stream",
"release": "lerna publish --create-release github"
},
"devDependencies": {
"@commitlint/cli": "^14.1.0",
"@types/node": "^16.11.6",
"@typescript-eslint/eslint-plugin": "^5.3.1",
"@typescript-eslint/parser": "^5.3.1",
"commitlint-config-ali": "^0.1.3",
"eslint": "^8.1.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.27.0",
"eslint-plugin-react-hooks": "^4.3.0",
"husky": "^7.0.4",
"lerna": "^4.0.0",
"lint-staged": "^11.2.6",
"prettier": "^2.4.1",
"rimraf": "^3.0.2",
"ts-add-module-exports": "^1.0.0",
"typescript": "^4.4.4"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": "eslint --cache --fix",
"*.{js,css,md}": "prettier --write"
}
}