forked from IBM/nodejs-cloudant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
58 lines (58 loc) · 1.37 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
{
"name": "ibm-nodejs-cloudant-app",
"version": "1.0.0",
"description": "node.js + express + cloudant",
"config": {
"entrypoint": "server/server.js"
},
"scripts": {
"dev": "nodemon server/server.js",
"start": "node server/server.js",
"check-coverage": "nyc report --check-coverage --lines 100",
"lint": "eslint --ignore-path .gitignore .",
"fix": "eslint --ignore-path .gitignore . --fix",
"test": "nyc mocha test --recursive --exit"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint && npm run test && npm run check-coverage"
}
},
"nyc": {
"check-coverage": true,
"per-file": true,
"lines": 100,
"statements": 100,
"functions": 100,
"branches": 100,
"exclude": [
"test"
],
"reporter": [
"lcov",
"text-summary"
]
},
"dependencies": {
"@cloudant/cloudant": "^4.3.1",
"body-parser": "^1.19.0",
"express": "^4.17.1",
"express-validator": "^6.12.0",
"helmet": "^4.6.0",
"ibm-cloud-env": "^0.2.7"
},
"devDependencies": {
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"eslint": "^7.28.0",
"eslint-config-strongloop": "^2.1.0",
"husky": "^6.0.0",
"mocha": "^9.0.0",
"mock-require": "^3.0.3",
"nodemon": "^2.0.7",
"nyc": "^15.1.0",
"sinon": "^11.1.1",
"sinon-chai": "^3.7.0",
"supertest": "^6.1.3"
}
}