-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
66 lines (66 loc) · 1.58 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": "node-grpc-boilerplate",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"scripts": {
"babel-node": "babel-node --presets=env",
"start:dev": "nodemon --exec npm run babel-node -- ./src/app.js",
"clean": "rm -rf build && mkdir build",
"build-server": "babel -d ./build ./src -s",
"build": "npm run clean && npm run build-server",
"lint": "standard",
"pretest": "npm run lint",
"test": "jest --forceExit"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-plugin-transform-async-to-generator":"^6.24.1",
"babel-eslint": "^8.0.3",
"jest": "^21.2.1",
"nodemon": "^1.12.7",
"standard": "^10.0.3"
},
"eslintConfig": {
"root": true,
"extends": ["standard"]
},
"standard": {
"parser": "babel-eslint"
},
"jest": {
"testEnvironment": "node",
"coverageThreshold": {
"global": {
"branches": 75,
"functions": 75,
"lines": 75,
"statements": 75
}
},
"collectCoverage": true,
"collectCoverageFrom": ["src/**/*.js"],
"testPathIgnorePatterns": ["<rootDir>/config/"]
},
"babel":{
"presets": [["env",{
"targets": {
"node": "8"
},
"useBuiltIns": "usage"}
]],
"plugins": ["transform-async-to-generator"]
},
"dependencies": {
"bunyan": "^1.8.12",
"bunyan-format": "^0.2.1",
"config": "^1.28.1",
"grpc-caller": "^0.3.1",
"grpc-create-error": "^1.0.0",
"mali": "^0.4.1",
"mali-logger": "^0.2.1",
"mali-tojson": "^0.2.0",
"grpc": "1.6.6"
}
}