{ "name": "thingsboard-js-executor", "private": true, "version": "4.4.2", "description": "ThingsBoard JavaScript Executor Microservice", "main": "server.ts", "bin": "server.js", "scripts": { "pkg": "tsc && pkg -t node22-linux-x64 --output ./target/thingsboard-js-executor-linux ./target/src && pkg -t node22-win-x64 --no-bytecode --public-packages \"*\" --public --output ./target/thingsboard-js-executor-win.exe ./target/src && node install.js", "test": "mkdir -p target/surefire-reports && node --require ts-node/register --test --test-reporter=spec --test-reporter-destination=stdout --test-reporter=junit --test-reporter-destination=target/surefire-reports/TEST-js-executor.xml test/jsExecutor.test.ts test/oAuthBearerProvider.test.ts", "start": "node --watch --watch-preserve-output -r ts-node/register server.ts", "start-prod": "NODE_ENV=production node --watch --watch-preserve-output -r ts-node/register server.ts", "build": "tsc", "sbom": "node ../../tools/src/main/javascript/yarn-sbom.js target/sbom/tb-js-executor.cdx.json application --all-platforms" }, "dependencies": { "@2l/kafkajs-lz4": "^1.3.2", "atob": "^2.1.2", "btoa": "^1.2.1", "config": "^4.4.2", "express": "^5.3.0", "js-yaml": "^4.3.2", "kafkajs": "^2.2.4", "long": "^5.3.2", "simple-oauth2": "^5.1.0", "uuid-parse": "^1.1.0", "winston": "^3.19.0", "winston-daily-rotate-file": "^5.0.0" }, "devDependencies": { "@cyclonedx/cyclonedx-library": "10.3.0", "@types/atob": "^2.1.2", "@types/btoa": "^1.2.3", "@types/express": "~5.0.6", "@types/node": "~22.20.5", "@types/simple-oauth2": "^5.0.8", "@types/uuid-parse": "^1.0.2", "@yao-pkg/pkg": "^6.24.0", "@yarnpkg/lockfile": "1.1.0", "fs-extra": "^11.4.1", "normalize-package-data": "8.0.0", "packageurl-js": "2.0.1", "spdx-expression-parse": "4.0.0", "ts-node": "^10.9.2", "typescript": "~5.9.3" }, "pkg": { "assets": [ "node_modules/config/**/*.*", "node_modules/@antoniomuso/lz4-napi-*/**/*.node" ] } }