{
  "name": "thingsboard-js-executor",
  "private": true,
  "version": "4.4.0",
  "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",
    "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"
  },
  "dependencies": {
    "@2l/kafkajs-lz4": "^1.3.2",
    "config": "^4.1.1",
    "express": "^5.1.0",
    "js-yaml": "^4.1.1",
    "kafkajs": "^2.2.4",
    "long": "^5.3.2",
    "simple-oauth2": "^5.1.0",
    "uuid-parse": "^1.1.0",
    "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",
    "@types/simple-oauth2": "^5.0.8",
    "@types/uuid-parse": "^1.0.2",
    "@yao-pkg/pkg": "^6.6.0",
    "fs-extra": "^11.3.1",
    "nodemon": "^3.1.10",
    "ts-node": "^10.9.2",
    "typescript": "~5.9.3"
  },
  "resolutions": {
    "@yao-pkg/pkg/tar": ">=7.5.8"
  },
  "pkg": {
    "assets": [
      "node_modules/config/**/*.*",
      "node_modules/@antoniomuso/lz4-napi-*/**/*.node"
    ]
  }
}
