heissepreise/package.json
Werner Robitza 4e739b98e5 improve node environment handling and CLI
Add proper CLI flags to avoid having positional CLI args. Allow setting options via ENV for other deployments.

Improve README

Split up node environment so that dev/prod can be handled differently in the future.
2023-06-07 14:14:26 +02:00

45 lines
1.0 KiB
JSON

{
"name": "heissepreise",
"version": "1.0.0",
"description": "",
"main": "server.js",
"scripts": {
"prepare": "husky install",
"dev": "NODE_ENV=development PORT=$PORT nodemon server.js",
"start": "NODE_ENV=production PORT=$PORT node server.js",
"format": "npx prettier --write ."
},
"repository": {
"type": "git",
"url": "git+https://github.com/badlogic/heissepreise.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/badlogic/heissepreise/issues"
},
"nodemonConfig": {
"ignore": [
"data/*",
"site/output/*",
"node_modules/*"
]
},
"homepage": "https://github.com/badlogic/heissepreise#readme",
"dependencies": {
"axios": "^1.4.0",
"chokidar": "^3.5.3",
"compression": "^1.7.4",
"express": "^4.18.2",
"n-readlines": "^1.0.1",
"node-html-parser": "^6.1.5"
},
"devDependencies": {
"husky": "^8.0.3",
"nodemon": "^2.0.22",
"prettier": "^2.8.8",
"pretty-quick": "^3.1.3",
"socket.io": "^4.6.2"
}
}