2018-09-27 12:15:48 +03:00
|
|
|
{
|
|
|
|
|
"name": "thingsboard-js-executor",
|
|
|
|
|
"private": true,
|
2019-07-12 16:15:00 +03:00
|
|
|
"version": "2.4.1",
|
2018-09-27 12:15:48 +03:00
|
|
|
"description": "ThingsBoard JavaScript Executor Microservice",
|
|
|
|
|
"main": "server.js",
|
|
|
|
|
"bin": "server.js",
|
|
|
|
|
"scripts": {
|
2018-09-27 21:05:14 +03:00
|
|
|
"build-proto": "pbjs -t static-module -w commonjs -o ./api/jsinvoke.proto.js ../../application/src/main/proto/jsinvoke.proto",
|
2019-07-24 11:25:00 +03:00
|
|
|
"install": "npm run build-proto && pkg -t node10-linux-x64,node10-win-x64 --out-path ./target . && node install.js",
|
2018-09-27 12:15:48 +03:00
|
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
2018-09-27 16:17:49 +03:00
|
|
|
"start": "npm run build-proto && nodemon server.js",
|
|
|
|
|
"start-prod": "npm run build-proto && NODE_ENV=production nodemon server.js"
|
2018-09-27 12:15:48 +03:00
|
|
|
},
|
|
|
|
|
"dependencies": {
|
|
|
|
|
"config": "^1.30.0",
|
|
|
|
|
"js-yaml": "^3.12.0",
|
2019-07-22 14:56:12 +03:00
|
|
|
"kafka-node": "^4.1.3",
|
2018-09-27 21:05:14 +03:00
|
|
|
"long": "^4.0.0",
|
2018-09-27 16:17:49 +03:00
|
|
|
"protobufjs": "^6.8.8",
|
2018-09-27 21:05:14 +03:00
|
|
|
"uuid-parse": "^1.0.0",
|
2018-09-27 12:15:48 +03:00
|
|
|
"winston": "^3.0.0",
|
|
|
|
|
"winston-daily-rotate-file": "^3.2.1"
|
|
|
|
|
},
|
2019-07-24 11:25:00 +03:00
|
|
|
"engines": {
|
|
|
|
|
"node": ">=8.0.0 <11.0.0"
|
|
|
|
|
},
|
2018-09-27 12:15:48 +03:00
|
|
|
"nyc": {
|
|
|
|
|
"exclude": [
|
|
|
|
|
"test",
|
|
|
|
|
"__tests__",
|
|
|
|
|
"node_modules",
|
|
|
|
|
"target"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
|
|
|
|
"fs-extra": "^6.0.1",
|
|
|
|
|
"nodemon": "^1.17.5",
|
2019-07-24 11:25:00 +03:00
|
|
|
"pkg": "^4.4.0"
|
2018-09-27 12:15:48 +03:00
|
|
|
}
|
|
|
|
|
}
|