-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
51 lines (51 loc) · 1.55 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
{
"name": "BE2-NC-Knews",
"version": "1.0.0",
"description": "## Northcoders News API",
"main": "index.js",
"scripts": {
"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",
"test": "mocha ./db/utils/spec",
"lint": "eslint ./ --fix",
"pre-commit": "npm t",
"testApp": "mocha ./spec/index.spec",
"posttest": "npm run lint",
"setupDb": "psql -f ./db/setupdb.sql",
"make-migration": "knex migrate:make",
"migrate": "knex migrate:latest",
"seed": "knex seed:run",
"start": "node listen.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/northcoders/BE2-NC-Knews.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/northcoders/BE2-NC-Knews/issues"
},
"homepage": "https://github.com/northcoders/BE2-NC-Knews#readme",
"dependencies": {
"body-parser": "^1.18.3",
"chai-datetime": "^1.5.0",
"chai-sorted": "^0.2.0",
"cors": "^2.8.5",
"express": "^4.16.4",
"knex": "^0.15.2",
"pg": "^7.8.2",
"react-sticky-nav": "^3.1.5"
},
"devDependencies": {
"chai": "^4.2.0",
"eslint": "^5.9.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-plugin-import": "^2.14.0",
"husky": "^1.1.4",
"mocha": "^6.0.2",
"supertest": "^3.4.2"
}
}