Generator Node Module
Yeoman generator for creating awesome node modules with babel, codeclimate, circleci, eslint, tape, and istanbul.
Opinions
- Linting: Eslint - Babel (es2015 plugin)
- Testing: Tape with tests next to source files
- Coverage: Istanbul
- Transpiling: Babel from
src
dir tolib
dir - CI: CircleCI
- Integrations:
- Code Climate
Usage
Make sure you have
yo
installed!
First install the module
npm install -g generator-awesome-module
Then run yo
yo awesome-module
Files Created
.├── .babelrc├── .codeclimate.yml├── .eslintignore├── .eslintrc├── .gitignore├── .npmignore├── CHANGELOG.md├── LICENSE.md├── package.json├── readme.md├── circle.yml└── src ├── index.js └── index.test.js
Modules Installed
Available NPM scripts
All source code should live in
src
dir. Compiles tolib
dir.