|
|
@ -4,7 +4,9 @@ |
|
|
|
"description": "API for striker-ui", |
|
|
|
"description": "API for striker-ui", |
|
|
|
"scripts": { |
|
|
|
"scripts": { |
|
|
|
"build": "pkg --compress GZip --output striker-ui-api --targets node14-linux index.js", |
|
|
|
"build": "pkg --compress GZip --output striker-ui-api --targets node14-linux index.js", |
|
|
|
"clean": "rm -f striker-ui-api", |
|
|
|
"build:clean": "rm -f striker-ui-api", |
|
|
|
|
|
|
|
"compress": "[[ -e striker-ui-api ]] && XZ_OPT='--verbose -9e' tar --create --verbose --xz --file striker-ui-api.tar.xz striker-ui-api || echo 'Cannot find output of build.' && exit 1", |
|
|
|
|
|
|
|
"decompress": "tar --extract --verbose --file striker-ui-api.tar.xz", |
|
|
|
"dev": "node index.js", |
|
|
|
"dev": "node index.js", |
|
|
|
"rebuild": "npm run clean && npm run build", |
|
|
|
"rebuild": "npm run clean && npm run build", |
|
|
|
"start": "npm run build && ./striker-ui-api", |
|
|
|
"start": "npm run build && ./striker-ui-api", |
|
|
|