generated from gsong/express-react-project-starter
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
47 lines (47 loc) · 2.04 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
{
"name": "express-react-project-starter",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"_db:delete": "rimraf .data/db",
"_db:init": "docker-compose exec -u postgres db /usr/bin/env ash -c '/var/tmp/pg/load-data.sh'",
"_heroku:db:init": "docker-compose run --rm -e DATABASE_URL=$(heroku config:get DATABASE_URL) db /usr/bin/env ash -c 'psql ${DATABASE_URL} < /var/tmp/pg/seed.psql'",
"_heroku:db:reset": "heroku pg:reset",
"app:start": "cd app && npm start",
"db:delete": "run-s db:stop _db:delete",
"db:init": "run-s db:delete db:start _db:init",
"db:pg_dump": "docker-compose exec -u postgres db /usr/bin/env ash -c 'pg_dump -O -x -f /var/tmp/pg/seed.psql ${POSTGRES_DB}'",
"db:start": "docker-compose up -d",
"db:stop": "docker-compose down",
"eslint": "(cd app && npm run eslint); (cd server && npm run eslint)",
"heroku:dashboard": "open https://dashboard.heroku.com/apps/$(heroku apps | sed -n '2 p')",
"heroku:db:init": "run-s _heroku:db:reset _heroku:db:init",
"heroku:deploy": "bin/heroku-deploy.sh",
"heroku:psql": "docker-compose run --rm -e DATABASE_URL=$(heroku config:get DATABASE_URL) db /usr/bin/env ash -c 'psql ${DATABASE_URL}'",
"heroku:setup": "bin/heroku-setup.sh",
"postinstall": "(cd app && npm install); (cd server && npm install)",
"prettier": "prettier --write .",
"psql": "docker-compose exec -u postgres db /usr/bin/env ash -c 'psql ${POSTGRES_DB}'",
"server:start": "cd server && npm start",
"start": "run-p db:start server:start app:start",
"stop": "run-s db:stop"
},
"repository": {
"type": "git",
"url": "git+https://github.com/gsong/express-react-project-starter.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/gsong/express-react-project-starter/issues"
},
"homepage": "https://github.com/gsong/express-react-project-starter#readme",
"dependencies": {
"npm-run-all": "^4.1.5",
"rimraf": "^3.0.2"
},
"devDependencies": {
"all-contributors-cli": "^6.20.0"
}
}