/gen-npm

Generate a node package to be published to npm

Primary LanguageJavaScript

gen-npm

Generate a node package to be published to npm.

Build Status

Install

$ npm install -g git+https://github.com/hurrymaplelad/gen-npm
# OR
$ git clone https://github.com/hurrymaplelad/gen-npm.git
$ cd gen-npm && npm link

gen-npm isn't published to NPM, since it's full of my personal preferences.

Examples

$ gen-npm foo-mod
# Creates ./foo-mod/*

$ gen-npm
# Creates ./* based on pwd

Running Tests

You'll need BATS:

$ brew install bats

Then the usual

$ npm test

Prior Art

generator-hmlad - Yeoman based predecessor.