forked from AntmJS/vantui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
146 lines (146 loc) · 4.04 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
134
135
136
137
138
139
140
141
142
143
144
145
146
{
"name": "vantui",
"private": true,
"author": "三少 <[email protected]>",
"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": ">=12",
"npm": ">=6.4",
"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": "husky install"
},
"dependencies": {
"@antmjs/babel-preset": "^1.17.5",
"@antmjs/eslint": "^1.17.5",
"@antmjs/stylelint": "^1.17.5",
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"@octokit/core": "^3.4.0",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^19.0.0",
"@rollup/plugin-image": "^2.1.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.0.0",
"@rollup/plugin-typescript": "^8.2.5",
"@types/node": "^16.3.2",
"@types/react": "^17.0.14",
"@types/react-dom": "^17.0.9",
"all-contributors-cli": "^6.20.0",
"commitizen": "^4.2.4",
"conventional-changelog-cli": "^2.1.1",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.27.0",
"execa": "^5.0.0",
"fs-extra": "^10.0.0",
"globby": "^11.0.3",
"husky": "^7.0.0",
"lerna": "^4.0.0",
"lint-staged": "^11.0.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.3.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"rimraf": "^3.0.2",
"rollup": "^2.48.0",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-copy-watch": "^0.0.1",
"rollup-plugin-styles": "^3.14.1",
"run-s": "^0.0.0",
"stylelint": "^13.13.1",
"typescript": "^4.3.5"
},
"devDependencies": {
"@antmjs/warning": "^1.17.7"
}
}