forked from antvis/X6
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
64 lines (64 loc) · 2 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
{
"name": "x6",
"private": true,
"workspaces": [
"configs/*",
"packages/*",
"examples/*",
"sites/*"
],
"scripts": {
"build:apps": "sh ./scripts/build-apps",
"build:demos": "sh ./scripts/build-demos",
"build:sites": "sh ./scripts/build-sites",
"build:x6-base": "lerna run build --stream --scope @antv/x6-vector --scope @antv/x6-geometry --scope @antv/x6-react-components --scope @antv/x6-sites-demos-helper",
"build:x6-core": "lerna run build --stream --scope @antv/x6",
"build:x6-exts": "lerna run build --stream --scope @antv/x6-vue-shape --scope @antv/x6-react-shape",
"build:dev": "run-s build:x6-base build:x6-core build:x6-exts",
"lint": "lerna run lint",
"test": "lerna run test --no-private",
"build": "lerna run build",
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'",
"pretty-quick": "pretty-quick",
"clean": "lerna run clean",
"clean:lerna": "lerna run clean && lerna clean -y",
"clean:modules": "rimraf node_modules **/yarn-error.log",
"bootstrap": "lerna bootstrap && yarn build:dev",
"reboot": "run-s clean:lerna clean:modules bootstrap",
"package:compare": "yarn package-compare",
"package:check": "yarn package-inherit check",
"package:inherit": "yarn package-inherit update",
"prepare": "is-ci || husky install configs/husky-config",
"precommit": "yarn lint-staged && lerna run --concurrency 1 --stream precommit"
},
"lint-staged": {
"**/*.{js,jsx,tsx,ts,less,md,json}": [
"pretty-quick —-staged"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"body-max-line-length": [
2,
"always",
300
],
"footer-max-line-length": [
2,
"always",
300
]
}
},
"dependencies": {
"@commitlint/cli": "^12.0.1",
"@commitlint/config-conventional": "^12.0.1",
"devmoji": "^2.2.0",
"husky": "^6.0.0",
"is-ci": "^3.0.0",
"lerna": "^4.0.0"
}
}