package.json 1.58 KB
{
  "name": "thingsboard-js-executor",
  "private": true,
  "version": "3.7.0",
  "description": "ThingsBoard JavaScript Executor Microservice",
  "main": "server.ts",
  "bin": "server.js",
  "scripts": {
    "pkg": "tsc && pkg -t node16-linux-x64,node16-win-x64 --out-path ./target ./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"
  },
  "dependencies": {
    "@aws-sdk/client-sqs": "^3.121.0",
    "@azure/service-bus": "^7.5.1",
    "@google-cloud/pubsub": "^4.3.3",
    "amqplib": "^0.10.0",
    "config": "^3.3.7",
    "express": "^4.18.1",
    "js-yaml": "^4.1.0",
    "kafkajs": "^2.1.0",
    "long": "^5.2.0",
    "uuid-parse": "^1.1.0",
    "uuid-random": "^1.3.2",
    "winston": "^3.7.2",
    "winston-daily-rotate-file": "^4.7.1"
  },
  "nyc": {
    "exclude": [
      "test",
      "__tests__",
      "node_modules",
      "target"
    ]
  },
  "devDependencies": {
    "@types/amqplib": "^0.8.2",
    "@types/config": "^0.0.41",
    "@types/express": "^4.17.13",
    "@types/node": "^18.0.1",
    "@types/uuid-parse": "^1.0.0",
    "fs-extra": "^10.1.0",
    "nodemon": "^2.0.16",
    "pkg": "^5.7.0",
    "ts-node": "^10.8.1",
    "typescript": "^4.7.4"
  },
  "pkg": {
    "assets": [
      "node_modules/config/**/*.*"
    ]
  },
  "resolutions": {
    "ansi-regex": "^5.0.1",
    "color-string": "^1.5.5",
    "minimist": "^1.2.6",
    "node-fetch": "^2.6.7"
  }
}