-
Notifications
You must be signed in to change notification settings - Fork 89
/
package.json
62 lines (62 loc) · 1.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
{
"name": "mini-antui",
"version": "0.5.1",
"description": "小程序版AntUI",
"repository": {
"type": "git",
"url": "[email protected]:ant-mini-program/mini-antui.git"
},
"files": [
"es"
],
"keywords": [
"antui",
"mini-program"
],
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.1.6",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/preset-env": "^7.1.6",
"@babel/preset-typescript": "^7.1.0",
"eslint": "^5.16.0",
"eslint-config-ali": "^3.1.0",
"eslint-plugin-import": "^2.11.0",
"eslint-plugin-typescript": "^0.14.0",
"gulp": "^3.9.1",
"gulp-babel": "^8.0.0",
"gulp-clean-css": "^4.0.0",
"gulp-if": "^2.0.2",
"gulp-less": "^4.0.1",
"gulp-rename": "^1.2.3",
"lint-staged": "^8.2.0",
"mini-types": "^0.0.1",
"pre-commit": "^1.2.2",
"stylelint": "^10.1.0",
"stylelint-config-standard": "^18.2.0",
"typescript": "^3.2.4",
"typescript-eslint-parser": "^22.0.0"
},
"scripts": {
"lint-staged": "lint-staged",
"build": "yarn && NODE_ENV=production node scripts/compiler.js",
"pub": "npm run build && node scripts/pub.js",
"dev": "yarn && node scripts/compiler.js"
},
"pre-commit": [
"lint-staged"
],
"lint-staged": {
"*.ts": [
"eslint --ext .ts",
"git add"
],
"*.js": [
"eslint",
"git add"
],
"*.less": [
"stylelint --syntax less"
]
}
}