Scaffold out a node module with ES6+, Babel, ava, npm scripts and more. Based on generator-rise
npm i -g generator-gowento
You need Yeoman to run this command.
yo gowento
→ create package.json
→ create README.md
→ create LICENSE
→ create src/index.js
→ create test/index.js
→ create .editorconfig
→ create .gitignore
→ create .eslintrc
→ create .eslintignore
-
Add code to
src/index.js
and tests totest/index.js
. -
Lint, build and test a project with
npm run build
. -
Run only tests with
npm run test
. -
Deploy to a remote origin with
npm run deploy
. -
Bump version and publish a package with
npm run major
orminor/patch
MIT © Gowento