Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

generator-hapi-style

8.0.3 • Public • Published

generator-hapi-style

Yeoman generator for scaffolding hapi apps and plugins.

Build Status Dependency Status devDependency Status

Install

$ npm install -g yo
$ npm install -g generator-hapi-style

Usage

App generator (api and web combo)

$ yo hapi-style:app hapi-fan-club
cd hapi-fan-club
$ npm install
$ npm update --save
$ npm test
$ npm start

Api generator

$ yo hapi-style:api hapi-fan-serve
cd hapi-fan-serve
$ npm install
$ npm update --save
$ npm test
$ npm start

Web generator

$ yo hapi-style:web hapi-fan-site
cd hapi-fan-site
$ npm install
$ npm update --save
$ npm test
$ npm start

Plugin generator

$ yo hapi-style:plugin hapi-space-madness
cd hapi-space-madness
$ npm install
$ npm update --save
$ npm test

Questions and contributing

Any issues or questions (no matter how basic), open an issue. Please take the initiative to include basic debugging information like operating system and relevant version details such as:

$ npm version
 
# { 'generator-hapi-style': '5.0.0', 
#   npm: '2.14.7', 
#   ares: '1.10.1-DEV', 
#   http_parser: '2.5.0', 
#   icu: '56.1', 
#   modules: '46', 
#   node: '4.2.2', 
#   openssl: '1.0.2d', 
#   uv: '1.7.5', 
#   v8: '4.5.103.35', 
#   zlib: '1.2.8' } 

Contributions are welcome. Your code should:

If you're changing something non-trivial, you may want to submit an issue first.

Keep it covered

👍 All the generators include 100% test coverage.

License

MIT

Don't forget

What you create with generator-hapi-style is more important than generator-hapi-style.

Install

npm i generator-hapi-style

DownloadsWeekly Downloads

1

Version

8.0.3

License

MIT

Last publish

Collaborators

  • avatar