Repository is archived. Node-RED is useful to use within brewblox, but there is no added value to custom nodes. For an install guide, see https://www.brewblox.com/dev/.
Basic setup for Typescript nodes. Based on https://github.com/alexk111/node-red-node-typescript-starter/. The original template carries an MIT license.
You can quickly scaffold a new node and add it to the node set. Use the following command to create my-new-node-type
node:
yarn add-node my-new-node-type
The node generator is based on mustache templates.
To generate a node using a template called my-template
, enter this command:
yarn add-node my-new-node-type my-template
To make your custom-made template available, add it to ./dev/templates/
.
Build & Test in Watch mode:
yarn dev
Create a production build:
yarn build