-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
39 lines (39 loc) · 1.48 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
{
"name": "prerequisite-tree",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"_db:delete": "rimraf .data/db",
"_db:init": "docker-compose exec -u postgres db /var/tmp/pg/load-data.sh",
"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: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:deploy": "git push -f heroku HEAD:main",
"heroku:psql": "docker-compose run --rm -e DATABASE_URL=$(heroku config:get DATABASE_URL) db /bin/ash -c 'psql ${DATABASE_URL}'",
"heroku:setup": "bin/setup-heroku.sh",
"postinstall": "(cd app && npm install); (cd server && npm install)",
"prettier": "prettier --write .",
"psql": "docker-compose exec -u postgres db /bin/ash -c 'psql ${POSTGRES_DB}'",
"server:start": "cd server && npm start",
"start": "run-p db:start server:start app:start"
},
"repository": {
"type": "git",
"url": "git+https://github.com/picaq/prerequisite-tree.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/picaq/prerequisite-tree/issues"
},
"homepage": "https://github.com/picaq/prerequisite-tree#readme",
"dependencies": {
"npm-run-all": "^4.1.5",
"rimraf": "^3.0.2"
}
}