express/cors/compression types, script improvements

This commit is contained in:
2026-02-01 00:51:21 +00:00
parent 2e060e5b6c
commit 2ca9fad533
2 changed files with 1593 additions and 2 deletions

View File

@@ -1,10 +1,16 @@
{
"devDependencies": {
"@types/compression": "^1.8.1",
"@types/cors": "^2.8.19",
"@types/express": "^5.0.6",
"pm2": "^6.0.14",
"typescript": "^5.9.3"
},
"scripts": {
"dev": "tsc --watch & tsc -b src/srv/ --watch & http-server src & node --watch src/srv/proxy.js",
"build": "tsc"
"dev": "tsc --watch & tsc -b src/srv/ --watch & node --watch src/srv/proxy.js",
"build": "tsc",
"serve": "pm2 start src/srv/proxy.js",
"stop": "pm2 stop proxy"
},
"dependencies": {
"compression": "^1.8.1",