53 lines
1.4 KiB
JSON
53 lines
1.4 KiB
JSON
{
|
|
"name": "thingsboard-web-ui",
|
|
"private": true,
|
|
"version": "4.3.0",
|
|
"description": "ThingsBoard Web UI Microservice",
|
|
"main": "server.ts",
|
|
"bin": "server.js",
|
|
"scripts": {
|
|
"pkg": "tsc && pkg -t node18-linux-x64,node18-win-x64 --out-path ./target ./target/src && node install.js",
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"start": "nodemon --watch '.' --ext 'ts' --exec 'WEB_FOLDER=./target/web ts-node server.ts'",
|
|
"start-prod": "nodemon --watch '.' --ext 'ts' --exec 'WEB_FOLDER=./target/web NODE_ENV=production ts-node server.ts'",
|
|
"build": "tsc"
|
|
},
|
|
"dependencies": {
|
|
"compression": "^1.7.5",
|
|
"config": "^3.3.12",
|
|
"connect-history-api-fallback": "^1.6.0",
|
|
"express": "^4.21.1",
|
|
"http": "0.0.0",
|
|
"http-proxy": "^1.18.1",
|
|
"js-yaml": "^4.1.0",
|
|
"winston": "^3.16.0",
|
|
"winston-daily-rotate-file": "^5.0.0"
|
|
},
|
|
"nyc": {
|
|
"exclude": [
|
|
"test",
|
|
"__tests__",
|
|
"node_modules",
|
|
"target"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@types/compression": "^1.7.5",
|
|
"@types/config": "^3.3.5",
|
|
"@types/connect-history-api-fallback": "^1.5.4",
|
|
"@types/express": "~4.17.21",
|
|
"@types/http-proxy": "^1.17.15",
|
|
"@types/node": "~20.17.6",
|
|
"fs-extra": "^11.2.0",
|
|
"nodemon": "^3.1.7",
|
|
"pkg": "^5.8.1",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "5.5.4"
|
|
},
|
|
"pkg": {
|
|
"assets": [
|
|
"node_modules/config/**/*.*"
|
|
]
|
|
}
|
|
}
|