-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
39 lines (39 loc) · 1.27 KB
/
package.json
File metadata and controls
39 lines (39 loc) · 1.27 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
{
"name": "node-postgres-example",
"version": "1.0.0",
"description": "Node and Containerized PostgreSQL",
"main": "index.js",
"scripts": {
"lint": "eslint .",
"pretest": "npm run lint",
"test": "NODE_ENV=${NODE_ENV:-unit_testing} mocha --recursive --colors",
"test:only": "NODE_ENV=${NODE_ENV:-unit_testing} mocha --recursive --colors",
"start": "NODE_ENV=${NODE_ENV:-development} node index.js",
"watch": "nodemon --exec 'npm test && npm start'",
"migrate": "node-pg-migrate",
"dbup": "docker-compose up -d",
"dbdown": "docker-compose down",
"dblogs": "docker logs -f postgres_example",
"dbcli": "docker exec -it postgres_example psql -d postgres_example_development -U postgres",
"initdb": "./scripts/initdb"
},
"repository": {
"type": "git",
"url": "git+https://github.com/carterbancroft/node-postgres-example.git"
},
"author": "Carter Bancroft",
"license": "Unlicense",
"bugs": {
"url": "https://github.com/carterbancroft/node-postgres-example/issues"
},
"homepage": "https://github.com/carterbancroft/node-postgres-example#readme",
"dependencies": {
"node-pg-migrate": "^4.2.1",
"pg": "^7.17.1"
},
"devDependencies": {
"eslint": "^6.8.0",
"mocha": "^7.0.0",
"nodemon": "^2.0.2"
}
}