-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
31 lines (31 loc) · 1.02 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
{
"name": "how-to-database",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"build": "docker-compose build",
"db:migrate:make": "knex --knexfile db/knexfile.js migrate:make",
"db:migrate": "docker exec -it how-to-database_server_1 yarn run db:migrate:docker",
"db:migrate:docker": "knex --knexfile db/knexfile.js migrate:latest",
"db:seed": "docker exec -it how-to-database_server_1 yarn run db:seed:docker",
"db:seed:docker": "knex --knexfile db/knexfile.js seed:run",
"db:setup": "npm-run-all db:migrate db:seed",
"db:shell": "docker exec -it how-to-database_postgres_1 psql postgres://how_to_database_user@postgres/how_to_database",
"dev": "PORT=3001 nodemon app.js",
"start": "docker-compose up"
},
"author": "Kevin Qi",
"license": "MIT",
"devDependencies": {
"nodemon": "^2.0.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.5"
},
"dependencies": {
"express": "^4.17.3",
"knex": "^2.4.0",
"morgan": "^1.10.0",
"pg": "^8.0.3"
}
}