-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
30 lines (30 loc) · 1.29 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
{
"name": "explainaboard_web",
"version": "0.2.0",
"scripts": {
"start": "concurrently \"npm run start-backend\" \"npm run start-frontend\"",
"start-frontend": "npm --prefix frontend run start",
"start-backend": "cd backend/src/gen && EB_ENV=development python -m explainaboard_web",
"start-backend:staging": "cd backend/src/gen && EB_ENV=staging python -m explainaboard_web",
"start-backend:prod": "cd backend/src/gen && EB_ENV=production python -m explainaboard_web",
"gen-api-code": "bash openapi/gen_api_layer.sh project",
"setup": "npm install && npm run gen-api-code && pip install -r backend/requirements.txt -r backend/src/gen/requirements.txt && npm --prefix frontend install",
"prepare": "husky install",
"build-image": "docker build . --platform amd64 --tag \"explainaboard_web:latest\"",
"run-container": "DOCKER_DEFAULT_PLATFORM=linux/amd64 docker run --rm -p 80:80/tcp explainaboard_web"
},
"repository": {
"type": "git",
"url": "git+https://github.com/neulab/explainaboard_web.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/neulab/explainaboard_web/issues"
},
"homepage": "https://github.com/neulab/explainaboard_web#readme",
"devDependencies": {
"concurrently": "^6.3.0",
"husky": "^7.0.4"
}
}