generator-esnext-modules
v1.0.1
Published
Yo generators for Vanilla and React modules. The easy way to get started.
Downloads
4
Readme
ESNEXT MODULE GENERATOR
This generator contains dead simple boilerplates for creating modules, commonly to be published on npm.
Installation
npm install yo generator-esnext-modules -g
- Create a directory where you want to build your component (an initialised git repo folder for example)
- cd into that directory
For Vanilla JS ES6 Modules
yo esnext-modules:vanilla
npm install
- Use the readme in that folder to get you started
For Vanilla JS ES6 Modules
yo esnext-modules:react
npm install
- Use the readme in that folder to get you started
Submitting issues
If you have are having a problem with the generator, before you submit an issue to this repo...
The template files are git submodules.
For issues relating to the Vanilla JS template, visit: https://github.com/3stacks/es6-module-boilerplate For issues relating to the React template, visit: https://github.com/3stacks/react-component-boilerplate
Otherwise, if your issue is with the generator, visit https://github.com/3stacks/esnext-module-generator
Changelog
1.0.1
Add more documentation
1.0.0
Initial Version