Skip to content

Commit

Permalink
Update npm scripts
Browse files Browse the repository at this point in the history
Signed-off-by: tschaffter <[email protected]>
  • Loading branch information
tschaffter committed Jun 21, 2021
1 parent 27f0062 commit 5e19e21
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
"@openapitools/openapi-generator-cli": "2.3.3"
},
"scripts": {
"generate:server": "openapi-generator-cli generate -g python-flask -o server -i $npm_config_specification",
"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/location-annotator/latest/openapi.json",
"generate:server:edge": "openapi-generator-cli generate -g python-flask -o server -i https://nlpsandbox.github.io/nlpsandbox-schemas/location-annotator/edge/openapi.json",
"generate:server:version": "openapi-generator-cli generate -g python-flask -o server -i https://nlpsandbox.github.io/nlpsandbox-schemas/location-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",
Expand Down

0 comments on commit 5e19e21

Please sign in to comment.