-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
40 lines (40 loc) · 1.13 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
{
"name": "express-api-unit-test-starter",
"version": "1.0.0",
"description": "Boilerplate express + mongoose API with unit test setup (mocha, chai, supertest, rewire, sinon)",
"main": "index.js",
"scripts": {
"start": "node server.js",
"dev": "nodemon server.js",
"test": "mocha ./src/tests/*.spec.js --exit",
"test:watch": "mocha --watch ./src/tests/*.spec.js",
"coverage": "nyc --reporter=text npm test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Rishabh570/express-api-unit-test-starter.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/Rishabh570/express-api-unit-test-starter/issues"
},
"homepage": "https://github.com/Rishabh570/express-api-unit-test-starter#readme",
"devDependencies": {
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"mocha": "^9.2.2",
"nyc": "^15.1.0",
"rewire": "^6.0.0",
"sinon": "^13.0.1",
"sinon-chai": "^3.7.0",
"supertest": "^6.2.2"
},
"dependencies": {
"cors": "^2.8.5",
"express": "^4.17.3",
"mongoose": "^6.2.6",
"nanoid": "^3.3.1"
}
}