/
package.json
66 lines (66 loc) · 1.52 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
{
"name": "wechatserver",
"version": "1.0.0",
"description": "A local server for wechat",
"main": "./src/index.js",
"author": "cuitfanshide",
"license": "MIT",
"keywords": [
"wechat",
"server",
"node",
"local",
"hapi",
"QRCode"
],
"scripts": {
"start": "babel-node ./src/index.js",
"lint": "./node_modules/.bin/eslint src",
"build": "rm -rf dist && babel src -d dist --ignore='node_modules' && cp -r config dist/"
},
"devDependencies": {
"@babel/cli": "^7.1.2",
"@babel/core": "^7.1.2",
"@babel/node": "^7.0.0",
"@babel/plugin-transform-async-to-generator": "^7.1.0",
"@babel/plugin-transform-runtime": "^7.1.0",
"@babel/preset-env": "^7.1.0",
"@babel/runtime": "^7.1.2",
"babel-eslint": "^10.0.1",
"eslint": "^5.9.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-import": "^2.14.0",
"husky": "^1.1.2",
"lint-staged": "^7.3.0",
"nodemon": "^1.18.4",
"prettier": "^1.15.3"
},
"dependencies": {
"axios": "^0.18.0",
"chalk": "^2.4.1",
"config": "^2.0.1",
"hapi": "^16.7.0",
"hapi-async-handler": "^1.0.3",
"joi": "^13.7.0",
"mongoose": "^5.3.2",
"xml2js": "^0.4.19"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && eslint src"
}
},
"lint-staged": {
"*.js": [
"prettier --trailing-comma es5 --single-quote --write",
"eslint --fix",
"git add"
],
"yarn.lock": [
"git rm --cached"
]
},
"engines": {
"node": ">=10.0.0"
}
}