-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
35 lines (35 loc) · 1.09 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
{
"name": "nc_news",
"version": "1.0.0",
"description": "",
"main": "listen.js",
"scripts": {
"setup-dbs": "psql -f db/setup.sql",
"migrate-make": "knex migrate:make",
"migrate-latest": "knex migrate:latest",
"migrate-rollback": "knex migrate:rollback",
"test": "mocha ./spec/*.spec.js",
"seed": "knex seed:run",
"dev": "nodemon listen.js",
"start": "node listen.js",
"utils-test": "mocha ./utils/spec/*.spec.js",
"seed:prod": "NODE_ENV=production DATABASE_URL=$(heroku config:get DATABASE_URL) knex seed:run",
"migrate:latest:prod": "NODE_ENV=production DATABASE_URL=$(heroku config:get DATABASE_URL) knex migrate:latest",
"migrate:rollback:prod": "NODE_ENV=production DATABASE_URL=$(heroku config:get DATABASE_URL) knex migrate:rollback"
},
"author": "",
"license": "ISC",
"dependencies": {
"cors": "^2.8.5",
"express": "^4.16.4",
"knex": "^0.16.4-next2",
"pg": "^7.9.0"
},
"devDependencies": {
"chai": "^4.2.0",
"chai-sorted": "^0.2.0",
"mocha": "^6.0.2",
"nodemon": "^1.18.10",
"supertest": "^4.0.2"
}
}