Open-source IoT Platform - Device management, data collection, processing and visualization.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

52 lines
1.8 KiB

{
"name": "thingsboard-web-report",
"private": true,
"version": "4.4.0",
"description": "ThingsBoard Web Reporting Microservice",
"main": "server.ts",
"bin": "server.js",
"scripts": {
"pkg": "tsc && pkg -t node22-linux-x64 --output ./target/thingsboard-web-report-linux ./target/src && pkg -t node22-win-x64 --no-bytecode --public-packages \"*\" --public --output ./target/thingsboard-web-report-win.exe ./target/src && node install.js",
"test": "echo \"Error: no test specified\" && exit 1",
"start": "nodemon --watch '.' --ext 'ts' --exec 'ts-node server.ts'",
"start-prod": "nodemon --watch '.' --ext 'ts' --exec 'NODE_ENV=production ts-node server.ts'",
"build": "tsc",
"postinstall": "node -e \"if (process.env.NODE_ENV !== 'production') { try { const stdout = require('child_process').execSync('patch-package').toString(); console.log(stdout); } catch (error) { console.log(error.message); if (error.stderr) { console.error(error.stderr.toString()); } process.exit(-1); } }\""
},
"dependencies": {
"config": "~4.1.1",
"express": "~5.1.0",
"js-yaml": "^4.1.1",
"playwright-chromium": "~1.54.2",
"playwright-core": "~1.54.2",
"winston": "~3.17.0",
"winston-daily-rotate-file": "~5.0.0"
},
"nyc": {
"exclude": [
"test",
"__tests__",
"node_modules",
"target"
]
},
"devDependencies": {
"@types/config": "~3.3.5",
"@types/express": "~5.0.3",
"@types/node": "~22.17.2",
"@yao-pkg/pkg": "^6.6.0",
"fs-extra": "~11.3.1",
"nodemon": "~3.1.10",
"patch-package": "^8.0.1",
"postinstall-postinstall": "^2.1.0",
"ts-node": "~10.9.2",
"typescript": "~5.9.3"
},
"pkg": {
"assets": [
"node_modules/config/**/*.*",
"node_modules/open/xdg-open",
"node_modules/playwright-core/lib/server/chromium/appIcon.png"
]
}
}