forked from H5-Dooring/dooringx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
37 lines (37 loc) · 928 Bytes
/
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
{
"name": "root",
"workspaces": [
"packages/*"
],
"scripts": {
"start": "lerna exec npm run start --scope=dooringx-lib",
"start:example":"lerna exec npm run start --scope=dooringx-example",
"start:doc":"lerna exec npm run start --scope=dooringx-doc",
"build": "lerna exec npm run build --scope=dooringx-lib",
"deploy": "lerna exec npm run deploy --scope=dooringx-doc",
"pub": "node ./script/publish.js",
"changelog": "node ./script/changelog.js"
},
"private": true,
"devDependencies": {
"lerna": "^3.22.1",
"husky": "4.3.0",
"lint-staged": "^11.0.0",
"rimraf": "^3.0.2",
"fs-extra": "^10.0.0",
"prettier": "^2.2.0",
"typescript": "^4.1.2",
"tslib": "^2.1.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,tsx,ts,less,md,json}": [
"npx prettier --write ./packages/dooringx-doc/src ./packages/dooringx-lib/src",
"git add ."
]
}
}