-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
48 lines (48 loc) · 1.95 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
{
"name": "pantry-list-api",
"version": "1.0.0",
"repository": "https://github.com/SharpNotions/pantry-list-api.git",
"author": "Travis Stodter <[email protected]>",
"license": "MIT",
"scripts": {
"start" : "node ./src/app.js",
"start-dev" : "nodemon ./src/app.js",
"test" : "jest",
"test-watch" : "jest --watch",
"pretty" : "prettier --write --print-width 80 --single-quote --trailing-comma es5 --tab-width 2 'src/**/*.js' 'tests/**/*.js'",
"create-migration" : "DATABASE_HOST=localhost DATABASE_NAME=pantry_list knex migrate:make",
"migrate" : "DATABASE_HOST=localhost DATABASE_NAME=pantry_list knex migrate:latest",
"migrate-rollback" : "DATABASE_HOST=localhost DATABASE_NAME=pantry_list knex migrate:rollback",
"migrate-prod" : "NODE_ENV=production PGSSLMODE=require DATABASE_URL=<Heroku -> postgres -> URI> knex migrate:latest",
"docker:start" : "docker-compose up",
"docker:test" : "docker exec pantry-list-api_dev_1 ./node_modules/.bin/jest",
"docker:migrate" : "docker exec pantry-list-api_dev_1 ./node_modules/.bin/knex migrate:latest",
"docker:migrate-rollback": "docker exec pantry-list-api_dev_1 ./node_modules/.bin/knex migrate:rollback"
},
"dependencies": {
"apollo-server-koa": "^1.3.2",
"boom": "^7.2.0",
"google-auth-library": "^1.3.2",
"graphql": "^0.13.2",
"knex": "^0.14.4",
"koa": "^2.5.0",
"koa-bodyparser": "^4.2.0",
"koa-logger": "^3.2.0",
"koa-router": "^7.4.0",
"node-fetch": "^2.1.1",
"objection": "^1.0.1",
"objection-graphql": "^0.3.1",
"objection-softdelete": "^2.0.0",
"pg": "^7.4.1",
"ramda": "^0.25.0"
},
"devDependencies": {
"jest": "^22.4.2",
"nodemon": "^1.17.2",
"prettier": "^1.11.1",
"sinon": "^4.4.5"
},
"engines": {
"node": ">=8.9.0"
}
}