-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
92 lines (92 loc) · 2.87 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
{
"name": "wechat-miniprogram-flow",
"version": "1.2.0",
"description": "基于gulp的微信小程序工作流",
"keywords": [
"miniprogram",
"小程序",
"miniprogram-flow",
"miniprogram-workflow",
"gulp",
"wechat-miniprogram"
],
"main": "app/app.ts",
"scripts": {
"build": "gulp --color build",
"start": "gulp --color start",
"lint:ts": "npx tslint --project tsconfig.json",
"lint": "eslint --fix --color --parser-options=ecmaVersion:7 --ext .js,.ts app/",
"stylelint": "npx stylelint --fix --cache --color \"app/**/*.{css,scss,sass}\"",
"add_npm": "ts-node gulp/MiniprogramNpm.ts "
},
"lint-staged": {
"app/**/*.{js,ts}": "eslint --fix --color",
"app/**/*.{scss,sass,less}": "npx stylelint --cache --color --fix"
},
"husky": {
"hooks": {
"pre-commit": "echo '检查css和js代码格式...' && yarn stylelint && yarn lint && yarn lint:ts",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"author": "caico",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.8.7",
"@babel/preset-env": "^7.8.7",
"@commitlint/cli": "^12.1.1",
"@commitlint/config-conventional": "^12.1.1",
"@types/gulp": "^4.0.6",
"@types/gulp-autoprefixer": "0.0.32",
"@types/gulp-concat": "0.0.32",
"@types/gulp-dart-sass": "^1.0.0",
"@types/gulp-imagemin": "^7.0.0",
"@types/gulp-rename": "0.0.33",
"@types/gulp-sourcemaps": "0.0.32",
"@types/gulp-typescript": "^2.13.0",
"@types/gulp-uglify": "^3.0.6",
"@types/jsonfile": "^5.0.0",
"@types/lodash": "^4.14.168",
"@types/node": "^14.14.31",
"@types/yargs": "^15.0.4",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"babel-eslint": "^10.1.0",
"colors": "^1.4.0",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.1.0",
"eslint-config-prettier": "^6.10.0",
"eslint-config-standard": "^14.1.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-promise": "^4.2.1",
"gulp": "^4.0.2",
"gulp-babel": "^8.0.0",
"gulp-dart-sass": "^1.0.2",
"gulp-eslint": "^6.0.0",
"gulp-rename": "^2.0.0",
"gulp-sourcemaps": "^2.6.5",
"gulp-stylelint": "^13.0.0",
"gulp-tslint": "^8.1.4",
"gulp-typescript": "^5.0.1",
"gulp-uglify": "^3.0.2",
"husky": "^4.2.3",
"jsonfile": "^6.0.1",
"lint-staged": "^10.0.8",
"lodash": "^4.17.21",
"miniprogram-api-typings": "^3.3.2",
"prettier": "^1.19.1",
"sass": "^1.32.12",
"stylelint": "^13.2.1",
"stylelint-config-prettier": "^8.0.1",
"stylelint-config-standard": "^20.0.0",
"ts-node": "^9.1.1",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"tslint-config-standard": "^9.0.0",
"typescript": "^4.2.4",
"yaml": "^1.10.2",
"yargs": "^15.3.0"
}
}