generated from nlpsandbox/date-annotator-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
18 lines (18 loc) · 1.1 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
"name": "contact-annotator-example",
"devDependencies": {
"@openapitools/openapi-generator-cli": "2.3.5"
},
"private": true,
"scripts": {
"generate:server": "openapi-generator-cli generate -g python-flask -o server -i $npm_config_openapi",
"generate:server:latest": "openapi-generator-cli generate -g python-flask -o server -i https://nlpsandbox.github.io/nlpsandbox-schemas/contact-annotator/latest/openapi.json",
"generate:server:edge": "openapi-generator-cli generate -g python-flask -o server -i https://nlpsandbox.github.io/nlpsandbox-schemas/contact-annotator/edge/openapi.json",
"generate:server:version": "openapi-generator-cli generate -g python-flask -o server -i https://nlpsandbox.github.io/nlpsandbox-schemas/contact-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"
}
}