-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
36 lines (36 loc) · 1.17 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
{
"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",
"migrate-latest-test": "NODE_ENV=test knex migrate:latest",
"migrate-rollback-test": "NODE_ENV=test knex migrate:rollback",
"test": "mocha ./spec/*.spec.js",
"seed": "knex seed:run",
"seed-test": "NODE_ENV=test knex seed:run",
"dev": "nodemon listen.js",
"start": "node listen.js",
"seed:prod": "NODE_ENV=production DB_URL=$(heroku config:get DATABASE_URL) knex seed:run",
"migrate:latest:prod": "NODE_ENV=production DB_URL=$(heroku config:get DATABASE_URL) knex migrate:latest",
"migrate:rollback:prod": "NODE_ENV=production DB_URL=$(heroku config:get DATABASE_URL) knex migrate:rollback"
},
"author": "",
"license": "ISC",
"dependencies": {
"cors": "^2.8.5",
"express": "^4.17.1",
"knex": "^0.17.3",
"pg": "^7.11.0"
},
"devDependencies": {
"chai": "^4.2.0",
"mocha": "^6.1.4",
"nodemon": "^1.19.1",
"supertest": "^4.0.2"
}
}