proxy backend
This commit is contained in:
@@ -10,6 +10,9 @@
|
||||
"prisma:generate": "prisma generate",
|
||||
"prisma:migrate": "prisma migrate dev",
|
||||
"prisma:studio": "prisma studio",
|
||||
"build:frontend": "cd ../frontend && npm run build && xcopy /E /I /Y dist ..\\backend\\public",
|
||||
"build:full": "npm run build:frontend && npm run build",
|
||||
"package": "npm run build:full && pkg . --targets node18-win-x64 --output ../release/wled-controller.exe",
|
||||
"test": "jest",
|
||||
"lint": "eslint src --ext .ts",
|
||||
"format": "prettier --write \"src/**/*.ts\""
|
||||
@@ -23,11 +26,12 @@
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@prisma/client": "^5.8.0",
|
||||
"bonjour-service": "^1.3.0",
|
||||
"cors": "^2.8.5",
|
||||
"express": "^4.18.2",
|
||||
"luxon": "^3.4.4",
|
||||
"node-cron": "^3.0.3",
|
||||
"p-limit": "^5.0.0",
|
||||
"p-limit": "^4.0.0",
|
||||
"zod": "^3.22.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
@@ -47,6 +51,20 @@
|
||||
"ts-jest": "^29.1.1",
|
||||
"ts-node": "^10.9.2",
|
||||
"tsx": "^4.7.0",
|
||||
"typescript": "^5.3.3"
|
||||
"typescript": "^5.3.3",
|
||||
"pkg": "^5.8.1"
|
||||
},
|
||||
"bin": "dist/server.js",
|
||||
"pkg": {
|
||||
"assets": [
|
||||
"prisma/schema.prisma",
|
||||
"node_modules/@prisma/client/**/*",
|
||||
"node_modules/.prisma/**/*",
|
||||
"public/**/*"
|
||||
],
|
||||
"outputPath": "../release",
|
||||
"targets": [
|
||||
"node18-win-x64"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user