-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
64 lines (64 loc) · 1.72 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:dev": "sh ./scripts/build-dev",
"build:apps": "sh ./scripts/build-apps",
"build:demos": "sh ./scripts/build-demos",
"build:sites": "sh ./scripts/build-sites",
"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": "^13.1.0",
"@commitlint/config-conventional": "^13.1.0",
"husky": "^7.0.2",
"is-ci": "^3.0.0",
"lerna": "^4.0.0"
},
"resolutions": {
"monaco-editor-webpack-plugin": "2.0.0",
"monaco-editor": "0.21.0"
}
}