-
Notifications
You must be signed in to change notification settings - Fork 41
/
package.json
21 lines (21 loc) · 1.26 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"name": "api-server",
"version": "0.2.0",
"description": "Open-RMF API server",
"private": true,
"scripts": {
"prepack": "../../.venv/bin/pipenv run python setup.py bdist_wheel",
"restart": "RMF_API_SERVER_CONFIG=sqlite_local_config.py ../../.venv/bin/pipenv run python -m api_server",
"start": "rm -rf run && mkdir -p run/cache && RMF_API_SERVER_CONFIG=${RMF_API_SERVER_CONFIG:-sqlite_local_config.py} ../../.venv/bin/pipenv run python -m api_server",
"start:psql": "rm -rf run && mkdir -p run/cache && RMF_API_SERVER_CONFIG=psql_local_config.py ../../.venv/bin/pipenv run python -m api_server",
"test": "../../.venv/bin/pipenv run python scripts/test.py",
"test:cov": "../../.venv/bin/pipenv run python -m coverage run scripts/test.py",
"test:report": "../../.venv/bin/pipenv run python -m coverage html && xdg-open htmlcov/index.html",
"lint": "../../.venv/bin/pipenv run pyright && ../../.venv/bin/pipenv run pylint --rcfile=../../.pylintrc api_server --ignore=ros_pydantic,rmf_api,rmf_ros2",
"generate-models": "./generate-models.sh",
"generate-docs": "RMF_API_SERVER_CONFIG=scripts/docs_config.py ../../.venv/bin/pipenv run python scripts/extract_docs.py -o docs"
},
"devDependencies": {
"pipenv-install": "workspace:*"
}
}