Yeoman generator for simple node modules with babel transpiling and code style with feross/standard.
This generator scaffolds a simple node module with all the bells and whistles.
Write your code in the latest version of JavaScript and let babel transpile it to compatible ES5 code for you.
Write your JavaScript standard style.
Transpile your code, run your tests, or start a file watcher that does both of those on every file change. Extensive build tooling implemented via npm run scripts.
Check out the example folder for a sneak peak at a generated module.
Install Yeoman:
npm install -g yo
Install generator-babel-standard
:
npm install -g generator-babel-standard
Finally, initiate the generator:
yo babel-standard
npm run build
npm test
To watch for changes, build them and run the tests:
npm run watch
- Generator heavily inspired by / borrowed from sindresorhus' generator-nm.
- npm script style tooling inspired by substack's task automation with npm run
MIT © James Bunt