-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpackage.json
133 lines (133 loc) · 3.84 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
{
"name": "antm",
"private": true,
"author": "三少 <[email protected]>",
"description": "前端工程应用工具集",
"license": "MIT",
"keywords": [
"Taro",
"React",
"Tools",
"antm",
"antmjs"
],
"repository": {
"type": "https",
"url": "https://github.com/AntmJS/antm.git"
},
"bugs": {
"url": "https://github.com/AntmJS/antm/issues/new"
},
"engines": {
"node": ">=16",
"npm": ">=8",
"yarn": ">=1.22"
},
"browserslist": [
"Chrome >= 35",
"ChromeAndroid >= 35",
"iOS >= 8",
"Safari >= 8",
"Android >= 4.1",
"QQAndroid >= 4.1",
"UCAndroid >= 4.1"
],
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"type-enum": [
2,
"always",
[
"feat",
"fix",
"style",
"chore",
"typings",
"docs",
"refactor",
"test"
]
]
}
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog",
"types": {
"feat": {
"description": "新功能(feature)"
},
"fix": {
"description": "修补bug"
},
"style": {
"description": "格式(不影响代码运行的变动)"
},
"chore": {
"description": "构建过程或辅助工具的变动"
},
"typings": {
"description": "Typescript 类型错误"
},
"docs": {
"description": "文档(documentation)"
},
"refactor": {
"description": "重构(既不是新增功能,也不是修改bug的代码变动)"
},
"test": {
"description": "增加或修改测试用例"
}
}
}
},
"scripts": {
"eslint": "npx eslint -c eslint.config.js '**/*.{js,jsx,ts,tsx}' && npx tsc -p tsconfig.json --skipLibCheck",
"stylelint": "npx stylelint --aei --config stylelint.config.js '**/*.{css,less}'",
"prettier": "npx prettier --write '**/*.{js,jsx,ts,tsx,md,html,css,less}'",
"clear-all": "rimraf packages/*/node_modules",
"bootstrap:ci": "npx lerna bootstrap --npm-client=yarn",
"bootstrap:lerna": "npx lerna bootstrap",
"bootstrap": "npm-run-all clear-all bootstrap:lerna",
"build": "npx lerna run build",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"release:lerna": "lerna version --exact --no-git-tag-version --force-publish",
"release:beta": "lerna publish --force-publish=* --exact --skip-temp-tag --preid=beta --npm-tag=beta",
"test": "npx lerna run test",
"prepare": "husky install",
"docs:start": "npx ts-node ./packages/doc/scripts/run.ts --transpileOnly --transpiler ts-node/transpilers/swc",
"docs:build": "npx ts-node ./packages/doc/scripts/build.ts --transpileOnly --transpiler ts-node/transpilers/swc",
"release:doc": "yarn docs:build && npx gh-pages -d doc_build -e ./main",
"release": "npm-run-all build release:lerna && npm run changelog && node ./pullRequest.js",
"relea": "npm-run-all release:lerna && npm run changelog && node ./pullRequest.js"
},
"workspaces": [
"packages/*"
],
"dependencies": {
"@antmjs/eslint": "^2.3.1",
"@antmjs/stylelint": "^2.3.1",
"@antmjs/warning": "^2.3.1",
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"all-contributors-cli": "^6.20.0",
"commitizen": "^4.2.4",
"concurrently": "^7.3.0",
"conventional-changelog-cli": "^2.1.1",
"cz-conventional-changelog": "^3.3.0",
"eslint": "8.21.0",
"husky": "^7.0.1",
"lerna": "^5.4.0",
"lint-staged": "^11.0.1",
"npm-run-all": "^4.1.5",
"postcss-less": "^6.0.0",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"stylelint": "^14.11.0",
"typescript": "^5.0.4",
"vue": "^3.0.0"
}
}