publish-npm-cli

Generate boilerplate package.json for my projects

publish-npm-cli

Generate boilerplate package.json data from the command line. See the command line help:

publish-npm-cli. Publish straight-away from command line
(c) Vittorio Zaccaria, 2013/2014

Usage: publish-npm-cli [--option=V | -o V] file.js

e.g.

> publish-npm-cli ./command.js -n 'name' -d 'this is my first command line tool'
> npm install . # to test
> npm publish   # to publish

Options:
  --name, -n         the name of the package                           
  --command, -c      true if the package is a command                  
  --description, -d  package description                                 [default: "insert package description here"]
  --ignore, -i       comma separated list of files to be ignored by npm
  --help, -h         this help                                           [default: false]    

License

MIT