Skip to content

Commit

Permalink
add plugin for creating wot client using dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
hidetak committed Apr 14, 2024
1 parent d5b66fb commit 810c63d
Show file tree
Hide file tree
Showing 6 changed files with 1,033 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ node_modules
.vscode/settings.json
.DS_Store
dist
resources
9 changes: 7 additions & 2 deletions node-red-node-wot/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@thingweb/node-red-node-wot",
"version": "1.1.0",
"version": "1.2.0",
"description": "Web of Things nodes for Node-RED using node-wot",
"author": "Eclipse Thingweb <[email protected]> (https://thingweb.io/)",
"license": "MIT",
Expand Down Expand Up @@ -34,11 +34,16 @@
"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",
"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')\"",
"publish": "npm publish --access=public",
"publish:beta": "npm publish --access=public --tag=beta",
"test": "mocha --require ts-node/register --extension ts --exit"
Expand Down
Loading

0 comments on commit 810c63d

Please sign in to comment.