0.0.0 • Published 7 years ago
inv-cli v0.0.0
inv-cli
A template for js repos. It creates files, installs dev dependencies, and creates the scripts
field in package.json.
install
$ npm install -g inv-cli
use
$ inv my-folder
.
├── test/
├── .eslintignore
├── .eslintrc
├── .gitignore
└── package.json
{
"scripts": {
"preversion": "npm run lint && npm run deps && npm test",
"postversion": "git push && git push --tags",
"lint": "eslint .",
"deps": "dependency-check package.json && dependency-check package.json --unused --entry test/*.js -i dependency-check -i eslint -i eslint-config-invintus -i tap-spec",
"test": "tape test/*.js | tap-spec"
}
}
0.0.0
7 years ago