-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
47 lines (47 loc) · 1.69 KB
/
package.json
File metadata and controls
47 lines (47 loc) · 1.69 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
38
39
40
41
42
43
44
45
46
47
{
"name": "back-end",
"version": "1.0.0",
"description": "Clone Coding backend that uses Auth0 for Athorization",
"main": "index.js",
"scripts": {
"start": "node index.js",
"db_start_dev": "docker run --rm --name postgres_dev -d -p 6000:5432 -e POSTGRES_PASSWORD=password postgres",
"db_start_test": "docker run --rm --name postgres_test -d -p 7000:5432 -e POSTGRES_PASSWORD=password postgres",
"db_reset_dev": "npx knex migrate:rollback && npx knex migrate:latest && npx knex seed:run",
"db_reset_test": "npx knex migrate:rollback --env testing && npx knex migrate:latest --env testing && npx knex seed:run --env testing",
"db_stop_dev": "docker container stop postgres_dev",
"db_stop_test": "docker container stop postgres_test",
"dev": "npx cross-env NODE_ENV=development nodemon index.js",
"test": "npx cross-env NODE_ENV=testing jest --watch --verbose",
"heroku-postbuild": "npx knex migrate:rollback --env production && npx knex migrate:latest --env production && npx knex seed:run --env production"
},
"repository": {
"type": "git",
"url": "git+https://github.com/labs13-clone/back-end.git"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/labs13-clone/back-end/issues"
},
"homepage": "https://github.com/labs13-clone/back-end#readme",
"dependencies": {
"axios": "^0.21.1",
"cors": "^2.8.5",
"express": "^4.17.1",
"helmet": "^3.18.0",
"jest": "^24.8.0",
"jsonwebtoken": "^8.5.1",
"knex": "^0.19.5",
"pg": "^7.11.0"
},
"devDependencies": {
"cross-env": "^5.2.0",
"dotenv": "^8.0.0",
"nodemon": "^1.19.1",
"supertest": "^4.0.2"
},
"engines": {
"node": "10.x"
}
}