generator-node-component

1.0.3 • Public • Published

generator-node-component

Create an opinionated class or function component to use as package to integrate in another project biggest. Thinking in modularize projects.

Install yeoman and generator globally:

  npm i -g yo generator-node-component

===

Create folder and use the generator:

  mkdir {{new-component}}
  cd {{new-component}}
  yo node-component

Replace {{new-component}} with the name for your component hyphens format

===

Done

  • Babel and build lib
  • jsDoc documentation

TODO:

  • readme file !!!!
  • comments
  • npm integration o.O
  • add testing
  • add option command line.
  • add option microservice.
  • add option integration (like travis, build automagically, etc).
  • add git init and repo
  • add typescript option
  • front option (react, angular, pug, etc)
  • back option (express, fatify, etc)

Package Sidebar

Install

npm i generator-node-component

Weekly Downloads

2

Version

1.0.3

License

MIT

Unpacked Size

8.33 kB

Total Files

14

Last publish

Collaborators

  • joneldiablo