New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

generator-hapi-plugin

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-hapi-plugin

A hapi.js plugin generator for Yeoman

Source
npmnpm
Version
0.1.1
Version published
Weekly downloads
4
Maintainers
1
Weekly downloads
 
Created
Source

Hapi.js plugin generator

NPM version Build Status Dependency Status Coverage Status

This generator creates a new hapi plugin with all the boilerplate you need to get started.

Features

  • Hapi plugin boilerplate
  • Unit testing and code coverage with Lab and gulp-lab
  • Code linting with gulp-jshint
  • JavaScript code style check with gulp-jscs (optional)
  • Npm versioning with gulp-bump (optional)

Installation

Install the generator by running: npm install -g generator-hapi-plugin

Usage

Make a new directory, and cd into it. Run the following command and follow the prompts.

yo hapi-plugin

Note that this template will generate files in the current directory, so be sure to first change to a new directory if you don't want to overwrite existing files.

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using gulp.

Support

Should you have any problems or wishes for improvements, feel free to open up an issue.

##Credits This generator is based on the generator-node-gulp.

License

Copyright (c) 2014 Kentaro Wakayama. Licensed under the MIT License.

Keywords

yeoman-generator

FAQs

Package last updated on 06 Jun 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts