0.0.1 • Published 7 years ago
gin-npg v0.0.1
npg
npg->node package generator
npg is a command line tool to generate a node package with a basic template.
Screenshot

Installation
npm install gin-npg -gUsage
$ npg -h
Usage: npg <command> [options]
Options:
  -V, --version  output the version number
  -h, --help     output usage information
Commands:
  init|i [name]  generate a new node moduleStructure
Your Node Package
├── README.md
├── .npmignore
├── .babelrc
├── .eslintrc.js
├── .gitignore
├── package.json
└── src
    └── index.js- all the source files of the package would be put in the srcdirectory.
- when you want to publish the package, run npm run buildto buildsrctolib.
- eslint rules were base on airbnb, you can runnpm run lintto check your code.
License
MIT
0.0.1
7 years ago