generated from nlpsandbox/date-annotator-example
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
16 lines (16 loc) · 1.07 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
"devDependencies": {
"@openapitools/openapi-generator-cli": "2.3.5"
},
"scripts": {
"generate:server": "openapi-generator-cli generate -g python-flask -o server -i $npm_config_specification",
"generate:server:latest": "openapi-generator-cli generate -g python-flask -o server -i https://nlpsandbox.github.io/nlpsandbox-schemas/covid-symptom-annotator/latest/openapi.json",
"generate:server:edge": "openapi-generator-cli generate -g python-flask -o server -i https://nlpsandbox.github.io/nlpsandbox-schemas/covid-symptom-annotator/edge/openapi.json",
"generate:server:version": "openapi-generator-cli generate -g python-flask -o server -i https://nlpsandbox.github.io/nlpsandbox-schemas/covid-symptom-annotator/$npm_config_schemas_version/openapi.json",
"lint": "cd server && flake8",
"test": "cd server && tox",
"install:dependencies": "npm ci && cd server && pip install -r requirements.txt",
"start:dev": "cd server && python -m openapi_server",
"start:prod": "docker-compose up --build"
}
}