64 lines
2.3 KiB
JSON
64 lines
2.3 KiB
JSON
{
|
|
"name": "template-nodejs-express",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"lint": "eslint . --ext .ts",
|
|
"lint-fix": "eslint . --ext .ts --fix",
|
|
"update-client-hash": "node -e \"require('fs').writeFileSync('public/misc/hash.txt', require('randomstring').generate())\"",
|
|
"debug-client": "tsc-watch --project ./public/js-source",
|
|
"debug-server": "tsc-watch --project ./src --onSuccess \"node --enable-source-maps --use-openssl-ca --unhandled-rejections=strict ./out/index\"",
|
|
"debug": "concurrently npm:debug-*",
|
|
"build": "tsc",
|
|
"production": "node --use-openssl-ca --unhandled-rejections=strict ./out/index",
|
|
"install-debug": "npm install && npm run build",
|
|
"install-prod": "npm install --only=dev && npm install --only=prod && npm run build && rm -r node_modules && npm install --only=prod",
|
|
"install-prod-win": "npm install --only=dev && npm install --only=prod && npm run build && rmdir /Q/S node_modules && npm install --only=prod"
|
|
},
|
|
"dependencies": {
|
|
"@10xjs/polyfill-analyzer": "^0.1.0",
|
|
"compression": "^1.7.4",
|
|
"connect-redis": "^5.0.0",
|
|
"cookie-parser": "~1.4.4",
|
|
"env-var": "^6.3.0",
|
|
"express": "~4.16.1",
|
|
"express-session": "^1.17.1",
|
|
"http-errors": "~1.6.3",
|
|
"json-prune": "^1.1.0",
|
|
"node-fetch": "^2.6.1",
|
|
"node-sass-middleware": "0.11.0",
|
|
"polyfill-library": "^3.97.0",
|
|
"proper-url-join": "^2.1.1",
|
|
"pug": "^3.0.0",
|
|
"redis": "^3.0.2",
|
|
"role-acl": "^4.5.4",
|
|
"threads": "^1.6.3",
|
|
"tiny-worker": "^2.3.0",
|
|
"uuid": "^8.3.1",
|
|
"winston": "^3.3.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/compression": "^1.7.0",
|
|
"@types/connect-redis": "0.0.15",
|
|
"@types/express": "^4.17.8",
|
|
"@types/express-session": "^1.17.1",
|
|
"@types/http-errors": "^1.8.0",
|
|
"@types/node": "^14.14.7",
|
|
"@types/node-fetch": "^2.5.7",
|
|
"@types/node-sass-middleware": "0.0.31",
|
|
"@types/proper-url-join": "^2.0.0",
|
|
"@types/redis": "^2.8.28",
|
|
"@types/uuid": "^8.3.0",
|
|
"@typescript-eslint/eslint-plugin": "^4.7.0",
|
|
"@typescript-eslint/parser": "^4.7.0",
|
|
"concurrently": "^5.3.0",
|
|
"eslint": "^7.13.0",
|
|
"eslint-plugin-no-null": "^1.0.2",
|
|
"eslint-plugin-promise": "^4.2.1",
|
|
"node-watch": "^0.7.0",
|
|
"tsc-watch": "^4.2.9",
|
|
"typescript": "^4.0.5",
|
|
"ws": "^7.4.0"
|
|
}
|
|
}
|