Local modifications to ClusterLabs/Anvil by Alteeve
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 lines
846 B

{
"name": "striker-ui-api",
"version": "0.1.0",
"description": "API for striker-ui",
"scripts": {
"build": "pkg --compress GZip --output striker-ui-api --targets node14-linux index.js",
"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",
"rebuild": "npm run clean && npm run build",
"start": "npm run build && ./striker-ui-api",
"style:fix": "prettier --write *"
},
"dependencies": {
"cors": "^2.8.5",
"express": "^4.17.1",
"multer": "^1.4.4"
},
"devDependencies": {
"pkg": "^5.5.1",
"prettier": "^2.5.0"
}
}