This repository was archived by the owner on Mar 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
54 lines (54 loc) · 1.28 KB
/
package.json
File metadata and controls
54 lines (54 loc) · 1.28 KB
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
{
"name": "node-fast",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"description": "Another node backend based on Fastify + Swagger + MongoDB",
"repository": "https://github.com/devilbags/node-fast.git",
"author": "Joey Liu <liuqiaowei512@gmail.com>",
"scripts": {
"start": "nodemon index",
"debug": "nodemon --inspect index",
"test": "jest",
"test:watch": "jest --watch",
"coveralls": "jest --coverage && cat ./coverage/lcov.info | coveralls",
"precommit": "lint-staged"
},
"lint-staged": {
"*.{js,json,css,md}": [
"prettier --write",
"git add"
]
},
"jest": {
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 90,
"lines": 90,
"statements": 90
}
},
"collectCoverageFrom": [
"**/src/**",
"!**/node_modules/**",
"!**/src/database/**"
]
},
"dependencies": {
"fastify": "^1.6.0",
"fastify-mongodb": "^0.7.1",
"fastify-plugin": "^1.1.3",
"fastify-swagger": "^0.12.0",
"mongoose": "^5.1.6"
},
"devDependencies": {
"coveralls": "^3.0.1",
"husky": "^0.14.3",
"jest": "^23.1.0",
"lint-staged": "^7.2.0",
"mongodb-memory-server": "^1.8.0",
"nodemon": "^1.17.5",
"prettier": "^1.13.5"
}
}