-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpackage.json
57 lines (57 loc) · 2.03 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
{
"name": "@alicloud/console-base",
"private": true,
"workspaces": [
"packages*/*"
],
"devDependencies": {
"@alicloud/eslint-config": "^1.13.3",
"@alicloud/markdownlint-config": "^1.0.3",
"@alicloud/stylelint-config": "^1.2.4",
"@commitlint/cli": "^17.6.3",
"@commitlint/config-conventional": "^17.6.3",
"eslint": "^8.41.0",
"husky": "^8.0.3",
"lerna": "^6.6.2",
"lint-staged": "^13.2.2",
"markdownlint-cli2": "^0.7.1",
"npm-check-updates": "^16.10.12",
"stylelint": "^13.13.1",
"ts-node": "^10.9.1"
},
"resolutions": {
"fork-ts-checker-webpack-plugin": "^6.5.3",
"@types/react": "^17.0.0"
},
"lint-staged": {
"*.{js,ts,tsx}": "eslint",
"*.{js,ts,tsx,css}": "stylelint",
"*.md": "markdownlint-cli2"
},
"scripts": {
"prepare": "husky install",
"boot": "yarn clean && yarn install && rm yarn.lock && lerna link",
"boot:packages": "lerna run prepublishOnly",
"clean": "rm -rf node_modules",
"clean:lock": "rm -f packages*/**/package-lock.json",
"clean:tag:remote": "git tag -l \"@alicloud/*\" | xargs -n 1 git push --delete origin",
"clean:tag:local": "git tag -l \"@alicloud/*\" | xargs -n 1 git tag -d",
"lint": "eslint packages*/**/src/ --ext js,ts,tsx",
"lint:sc": "stylelint \"**/src/**/*.{js,jsx,ts,tsx}\"",
"lint:md": "markdownlint-cli2 **/*.md #node_modules",
"lint:test": "markdownlint-cli2 ./README.md",
"lerna:boot": "lerna bootstrap --hoist",
"lerna:clean": "lerna clean --yes",
"lerna:publish": "lerna publish",
"lerna:publish:patch": "lerna publish patch",
"lerna:publish:minor": "lerna publish minor",
"lerna:publish:prerelease": "lerna publish prerelease --dist-tag alpha",
"lerna:build:local": "lerna run prepublishOnly",
"tnpm:sync": "lerna exec tnpm sync",
"ncu:main": "ncu",
"ncu:packages": "lerna exec --no-bail -- ncu",
"ncu:full": "npm run ncu && npm run ncu:packages",
"depcheck:main": "depcheck",
"depcheck:packages": "lerna exec --no-bail -- depcheck"
}
}