@pubcore/generator-nodejs
v1.1.0
Published
generator to create a package scaffold for nodejs ECMAScript
Downloads
4
Keywords
Readme
Commandline tool to create node-js package scaffold
Prerequisites
- latest version of nodejs
- latest version of npm
Yeoman generator to scaffold a nodejs (commonjs) package with
- eslint
- running tests via mocha
- running show code coverage after test run
How to use
- within your scope directoy craete a new one (convention: lower case and dash-separated)
mkdir new-project
- and change into it
cd new-project
- execute
npx -p yo -p @pubcore/generator-nodejs yo @pubcore/nodejs
- (optional) if your code already exists, copy it into js/index.js.