@thingweb/node-red-node-wot
Version:
Web of Things nodes for Node-RED using node-wot
80 lines (79 loc) • 2.95 kB
JSON
{
"name": "@thingweb/node-red-node-wot",
"version": "1.2.4",
"description": "Web of Things nodes for Node-RED using node-wot",
"author": "Eclipse Thingweb <thingweb-dev@eclipse.org> (https://thingweb.io/)",
"license": "MIT",
"keywords": [
"internet-of-things",
"iot",
"web-of-things",
"wot",
"node-red"
],
"engines": {
"node": ">=18.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/eclipse-thingweb/node-red"
},
"homepage": "https://github.com/eclipse-thingweb/node-red/blob/main/node-red-node-wot/README.md",
"node-red": {
"nodes": {
"wot-thing": "dist/wot-thing.js",
"wot-property": "dist/wot-property.js",
"wot-action": "dist/wot-action.js",
"wot-event": "dist/wot-event.js",
"wot-update-td": "dist/wot-update-td.js",
"wot-server-config": "dist/wot-server-config.js",
"wot-thing-config": "dist/wot-thing-config.js",
"wot-server-end": "dist/wot-server-end.js",
"wot-server-property": "dist/wot-server-property.js",
"wot-server-action": "dist/wot-server-action.js",
"wot-server-event": "dist/wot-server-event.js",
"wot-server-td": "dist/wot-server-td.js"
},
"plugins": {
"node-wot-plugin": "plugin/node-wot-plugin.html"
},
"version": ">=1.3.7"
},
"scripts": {
"build": "npm run copy:src2dist && tsc && npm run build:plugin",
"copy:src2dist": "node -e \"require('fs-extra').copySync('./src', './dist')\"",
"build:plugin": "npm run copy:plugin-resources-src2resources && tsc --project ./tsconfig-for-plugin.json",
"copy:plugin-resources-src2resources": "node -e \"require('fs-extra').copySync('./plugin-resources-src', './resources')\" && node -e \"require('fs-extra').copySync('./node_modules/@thingweb/td-utils/dist/web-bundle.min.js', './resources/@thingweb/td-utils/dist/web-bundle.min.js')\"",
"publish": "npm publish --access=public",
"publish:beta": "npm publish --access=public --tag=beta",
"test": "mocha --require ts-node/register --extension ts --exit"
},
"dependencies": {
"@node-wot/binding-coap": "0.8.14",
"@node-wot/binding-http": "0.8.14",
"@node-wot/binding-modbus": "0.8.14",
"@node-wot/binding-mqtt": "0.8.14",
"@node-wot/binding-opcua": "0.8.14",
"@node-wot/binding-websockets": "0.8.14",
"@node-wot/core": "0.8.14",
"@thingweb/td-utils": "^1.0.0"
},
"devDependencies": {
"@types/chai": "^4.3.12",
"@types/chai-as-promised": "^7.1.8",
"@types/mocha": "^10.0.6",
"@types/node-red": "^1.3.4",
"@types/node-red__runtime": "^1.3.6",
"@types/node-red-node-test-helper": "^0.3.3",
"@types/sinon": "^17.0.3",
"chai": "^4.4.1",
"chai-as-promised": "^7.1.1",
"fs-extra": "^11.2.0",
"mocha": "^10.3.0",
"node-red": "^3.1.4",
"node-red-node-test-helper": "^0.3.3",
"sinon": "^17.0.1",
"ts-node": "^10.9.2",
"typescript": "^4.9.5"
}
}