-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
27 lines (27 loc) · 1 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
{
"name": "vent-your-rent",
"version": "1.0.0",
"main": "index.js",
"engines": {
"node": "^v10.16.3",
"yarn": "^1.19.0"
},
"scripts": {
"dev": "docker-compose -f local.yml up --build",
"postdev": "docker-compose -f local.yml down",
"containercmd": "docker-compose -f local.yml run --rm ",
"python": "yarn containercmd django python",
"release": "bin/release",
"build": "cd frontend && yarn build",
"postinstall": "cd frontend && yarn",
"graphql": "yarn graphql:dump-schema && cd frontend && yarn graphql:generate-types",
"graphql:dump-schema": "yarn containercmd django python manage.py graphql_schema --schema vent_your_rent.api.graphql.schema.schema --out frontend/schema.json",
"migrate": "yarn python manage.py makemigrations && yarn python manage.py migrate && yarn graphql",
"pyinstall": "pipenv install $1 && pipenv lock -r > requirements/base.txt"
},
"cacheDirectories": [
"frontend/node_modules",
"node_modules"
],
"dependencies": {}
}