-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpackage.json
More file actions
37 lines (37 loc) · 1.07 KB
/
package.json
File metadata and controls
37 lines (37 loc) · 1.07 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
{
"name": "contacts-api",
"version": "0.0.1",
"private": true,
"scripts": {
"createdb": "sequelize db:create",
"dropdb": "sequelize db:drop",
"migrate": "sequelize db:migrate",
"start": "npm run migrate && node ./bin/www",
"nodemon": "npm run migrate && nodemon ./bin/www",
"pretest": "NODE_ENV=test npm run createdb && NODE_ENV=test npm run migrate",
"posttest": "NODE_ENV=test npm run dropdb",
"test": "NODE_ENV=test mocha --timeout 10000 --recursive specs/",
"precoverage": "npm run pretest",
"postcoverage": "npm run posttest",
"coverage": "NODE_ENV=test nyc mocha --timeout 10000 --recursive specs/"
},
"dependencies": {
"body-parser": "^1.19.0",
"cookie-parser": "~1.4.4",
"cors": "^2.8.5",
"debug": "^4.1.1",
"express": "^4.17.1",
"morgan": "^1.9.1",
"pg": "^7.12.1",
"pg-hstore": "^2.3.3",
"sequelize": "^5.15.1",
"sequelize-cli": "^5.5.1"
},
"devDependencies": {
"chai": "^4.2.0",
"mocha": "^6.2.0",
"nodemon": "^1.19.1",
"nyc": "^15.0.0",
"supertest": "^4.0.2"
}
}