-
Notifications
You must be signed in to change notification settings - Fork 96
/
package.json
127 lines (127 loc) · 3.43 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
{
"name": "vantui",
"private": true,
"author": "三少 <hi_sanshao@outlook.com>",
"description": "前端组件库",
"license": "MIT",
"keywords": [
"Taro",
"VantUI",
"React",
"antm",
"antmjs"
],
"repository": {
"type": "https",
"url": "https://github.com/AntmJS/vantui.git"
},
"bugs": {
"url": "https://github.com/AntmJS/vantui/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",
"release": "npm run release:lerna && npm run changelog && node ./pullRequest.js",
"test": "npx lerna run test",
"prepare": "rm -rf ./node_modules/vue/jsx.d.ts & husky install"
},
"workspaces": [
"packages/*"
],
"dependencies": {
"@antmjs/doc": "^2.3.28",
"@antmjs/eslint": "^2.3.20",
"@antmjs/stylelint": "^2.3.20",
"@antmjs/warning": "^2.3.20",
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"all-contributors-cli": "^6.20.0",
"commitizen": "^4.2.4",
"conventional-changelog-cli": "^2.1.1",
"cz-conventional-changelog": "^3.3.0",
"eslint": "8.12.0",
"husky": "^7.0.1",
"lerna": "^5.4.0",
"lint-staged": "^11.0.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"stylelint": "^14.11.0",
"typescript": "^4.7.4"
}
}