generator-bsync
v0.0.10
Published
npm init for yeoman
Downloads
1
Maintainers
Readme
generator-npm-init
Yeoman generator implementation of npm init
. Useful for composition.
this.composeWith(require.resolve('generator-npm-init/app')/*, options*/)
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'
}
}