0.3.0 • Published 6 years ago
cmd-tool-cli v0.3.0
cmd-tool-cli
It is a scaffold to create a command line tool project.
Usage
npm i cmd-tool-cli -g
mkdir projectName
cd projectName // this command is optional
cmd-tool-cli init
Options
- -o, --output: specify the output directory
- --no-git: Do not initialize with git
- --no-dep: Do not install npm dependencies
Description
With default config, following npm dependencies are added:
- commander (-S)
- eslint (-D)
- babel-eslint (-D)
- husky (-D)
- lint-staged (-D)
- standard-version (-D)
- @commitlint/cli (-D)
- @commitlint/config-conventional (-D)
Meanwhile, following files will be created under root directory:
.eslintignore
.eslintrc
.gitignore
commitlint.config.js
README.md
The content of each file can be found under lib/templates
Any questions? Welcome to add issue or pr... :)