generated from clemEssien/NeuroNer-Phi-Annotator-Example
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
19 lines (19 loc) · 1.12 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
"devDependencies": {
"@openapitools/openapi-generator-cli": "2.3.5",
"release-it": "^14.11.4"
},
"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/phi-annotator/latest/openapi.json",
"generate:server:edge": "openapi-generator-cli generate -g python-flask -o server -i https://nlpsandbox.github.io/nlpsandbox-schemas/phi-annotator/edge/openapi.json",
"generate:server:version": "openapi-generator-cli generate -g python-flask -o server -i https://nlpsandbox.github.io/nlpsandbox-schemas/phi-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",
"release": "release-it"
},
"version": "1.1.1"
}