-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
24 lines (24 loc) · 957 Bytes
/
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
{
"name": "frontend-scalingo",
"description": "Empty package.json to allow scalingo nodejs buildpack to setup properly",
"version": "0.1.0",
"private": true,
"scripts": {
"build": "(cd front; npm install; npm run build)",
"test": "python web/manage.py test web --noinput",
"test-f": "python web/manage.py test $f --keepdb",
"generate-schema": "python web/manage.py spectacular --file api-schema.yaml",
"generate-schema-ts": "npm run generate-schema && cd front && npm run generate-api",
"generate-and-check-types": "npm run generate-schema && cd front && npm run generate-and-check-types",
"migrate": "python web/manage.py makemigrations && python web/manage.py migrate",
"restart": "docker-compose down && docker-compose up -d",
"deploy-preview": "git push origin $branch:preview --force"
},
"engines": {
"node": "16.16.0",
"npm": "8.11"
},
"cacheDirectories": [
"front/node_modules"
]
}