1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00
0 Design: CLI tool to produce a node skeleton
Nathanaël Lécaudé edited this page 2017-02-14 09:53:09 -05:00

Proposition

Creation of a command line utility to dynamically generate a node skeleton folder.

Usage

node-red-skel my-cystom-node

Result

node-red-contrib-my-custom-node
├── .gitignore
├── .jshintrc
├── README.md
├── examples
│   └── README.md
├── my-custom-node
│   ├── my-custom-node.html
│   └── my-custom-node.js
└── package.json

The contents of my-custom-node.html, my-custom-node.js and package.json reflect the project name.

Default .gitignore and .jshintrc files are created.