generator-node-module
generator-node-module copied to clipboard
A Yeoman module to author Node libraries with Prettier, Jest, Flow and Babel.
@callstack-io/generator-node-module
A Yeoman generator to author libraries in ES2015 (and beyond!) for Node.
Features:
- Babel and
babel-preset-envfor latest Javascript features - Flow for faster coding with static type checking
- Jest because testing matters
- Prettier to format your Javascript
- Husky + Lint Staged for neat precommit check
- Eslint and
eslint-config-airbnbto keep your code consistent - MIT license and Code of conduct
- Github issues template
This is what we use at Callstack.io for various projects, including Haul.
Install
$ npm install --global yo @callstack-io/generator-node-module
Usage
With Yo:
$ yo @callstack-io/node-module
License
MIT @ Callstack.io