generator-npm-init
Yeoman generator implementation of npm init
. Useful for composition.
this
Options
// skip prompts 'skip-name': false 'skip-description': false 'skip-version': false 'skip-main': false 'skip-test': false 'skip-repo': false 'skip-keywords': false 'skip-author': false 'skip-license': false // supply alternative defaults name: '<%= destFolderName %>' version: '1.0.0' description: '' main: 'index.js' test: 'echo "Error: no test specified" && exit 1' repo: '' keywords: author: '' license: 'ISC' // configure run script defaults scripts: start: 'node dist/index.js' build: 'webpack -p' watch: 'webpack-dev-server'