-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
51 lines (51 loc) · 1.64 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
{
"name": "wepy-plugin-image",
"version": "0.1.2",
"description": "wepy插件根据图片大小转base64或者上传七牛",
"main": "src/index.js",
"scripts": {
"test": "npm run eslint && ./node_modules/mocha/bin/mocha --require babel-register --watch --timeout 30000",
"eslint:diff": "node_modules/eslint/bin/eslint.js $(git diff-index HEAD --name-only --diff-filter ACMR |grep '\\.\\(jsx\\|es6\\|js\\|vue\\)$')",
"eslint": "cross-env NODE_ENV=production node_modules/eslint/bin/eslint.js --max-warnings 10 --ext .js,.vue static src build config test fis-conf.js",
"commitmsg": "commitlint -e $GIT_PARAMS"
},
"keywords": [],
"author": "huixisheng@gmail.com",
"license": "MIT",
"dependencies": {
"babel-preset-es2015": "^6.24.1",
"mime": "^2.2.0",
"pack-qiniu": "^1.0.2",
"validator": "^10.2.0"
},
"husky": {
"hooks": {
"pre-commit": "npm run eslint"
}
},
"devDependencies": {
"@commitlint/cli": "^6.1.3",
"@commitlint/config-angular": "^6.1.3",
"@x-scaffold/webpack-config": "*",
"autoprefixer": "^8.1.0",
"babel-core": "^6.0.0",
"babel-eslint": "^8.2.2",
"babel-plugin-transform-runtime": "^6.22.0",
"babel-preset-env": "^1.6.1",
"babel-preset-stage-2": "^6.22.0",
"babel-register": "^6.26.0",
"chai": "^4.1.2",
"cross-env": "^5.0.5",
"eslint": "^4.18.2",
"eslint-config-style-guide": "0.0.6",
"eslint-friendly-formatter": "^3.0.0",
"eslint-import-resolver-webpack": "^0.8.4",
"husky": "^0.15.0-rc.13",
"mocha": "^5.0.4",
"node-plus-string": "^1.0.1"
},
"engines": {
"node": ">= 4.0.0",
"npm": ">= 3.0.0"
}
}