@pain-org/template
v1.1.2
Published
`eslint --print-config .\.eslintrc.js`
Downloads
3
Maintainers
Readme
Check ESLINT Configuration
eslint --print-config .\.eslintrc.js
ESLINT Fix
eslint --fix .
Check TS Config
tsc --showConfig
Fix With Prettier
yarn prettier --write .
npm install @pain-org/template -g
Plugin Commands
Usage: pain-template [options] [command]
Options:
-V, --version output the version number
-h, --help display help for command
Commands:
workspace [options]
node [options]
help [command] display help for command
Workspace Options
Usage: pain-template workspace [options]
Options:
-n --name <value> Specify Package/Folder Name
-s --scope <value> Specify Scope Name. eg: @google
-c --cli <true|false> Add Command Options cli (commander) (default: false)
-cc --conventional-commit <true|false> With: Husky, Conventional-Commit, Lint-Staged (default: true)
-p --packages <items> Specify Packages With <,> Separators
-h, --help display help for command
Lerna Workspace Eg:
pain-template workspace -n FOLDER_NAME -p "one,two,three" -s "@scope_name" -c true
Node Options
Usage: pain-template node [options]
Options:
-n --name <value> Specify Package/Folder Name
-s --scope <value> Specify Scope Name. eg: @google
-c --cli <true|false> Add Command Options cli (commander) (default: false)
-cc --conventional-commit <true|false> With: Husky, Conventional-Commit, Lint-Staged (default: true)
-h, --help display help for command
Lerna Workspace Eg With Scope:
pain-template node -n APP_NAME -s "@scope_name" -c true
Lerna Workspace Eg WithOut Scope:
pain-template node -n APP_NAME -c true