-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
37 lines (37 loc) · 1.32 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
{
"name": "root",
"private": true,
"scripts": {
"lib:lint": "lerna exec --scope @panhezeng/utils -- yarn lint",
"lib:build": "lerna exec --scope @panhezeng/utils -- yarn build",
"example:dev": "lerna exec --scope @panhezeng/utils-example -- yarn dev",
"example:lint": "lerna exec --scope @panhezeng/utils-example -- yarn lint",
"example:build": "lerna exec --scope @panhezeng/utils-example -- yarn build",
"format": "prettier --write \"*.{js,jsx,ts,tsx,vue,html,css,less,md,json}\"",
"prepare": "husky install",
"lerna:bootstrap": "lerna bootstrap",
"lerna:add": "lerna add @panhezeng/utils --scope=@panhezeng/utils-example",
"lerna:version": "lerna version",
"commit": "commit",
"build": "yarn lib:build && yarn example:build",
"update": "ncu -u && yarn install && lerna exec --scope '@panhezeng/*' -- 'ncu -u && yarn install'"
},
"devDependencies": {
"@commitlint/config-conventional": "^17.3.0",
"@commitlint/prompt-cli": "^17.3.0",
"husky": "^8.0.2",
"lerna": "^6.0.3",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1"
},
"lint-staged": {
"src*/**/*.{js,jsx,ts,tsx,vue}": "yarn run lib:lint && yarn run example:lint"
},
"workspaces": [
"packages/*"
],
"dependencies": {},
"publishConfig": {
"registry": "https://registry.npm.org/"
}
}