Meesayen / generator-rise

升 Scaffold out a node module with ES6+, Babel, Ava and npm scripts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


Scaffold out a node module with ES6+, Babel, Ava and npm scripts

NPM Version Coverage Status Build Status Downloads Dependency Status License

Install

npm i -g generator-rise

升 Features

Usage

You need Yeoman to run this command.

yo rise
→ create package.json
→ create README.md
→ create LICENSE
→ create CHANGELOG.md
→ create src/index.js
→ create test/index.test.js
→ create .babelrc
→ create .editorconfig
→ create .gitignore
→ create .travis.yml
→ create .eslintrc
→ create .eslintignore

Workflow

  • Add code to src/index.js and tests to test/index.test.js.

  • Lint, build and test a project with npm run build.

  • Build and watch changes in src/ with npm run watch

  • Run only tests with npm run test.

  • Check coverage with npm run coverage.

  • Generate a TOC for the CHANGELOG with npm run toc

  • Deploy to a remote origin with npm run deploy.

  • Bump version and publish a package with npm run major or minor/patch

License

MIT © Jorge Bucaran (Enhanced by Federico Giovagnoli)

About

升 Scaffold out a node module with ES6+, Babel, Ava and npm scripts


Languages

Language:JavaScript 100.0%