ctl-scripts
v0.3.4
Published
<p align="center"> <a href="https://npmjs.com/package/ctl-scripts" target="_blank"> <img alt="Latest version" src="https://img.shields.io/npm/v/ctl-scripts?color=blue&style=flat-square"> </a> <a href="./LICENSE"> <img alt="License" src="http
Downloads
45
Readme
Features
- Sensible defaults.
- On-the-fly code formatting, linting, and testing.
- Conventional commits.
- Automated releases.
Getting started
Create a new library
$ npx ctl-scripts init my-library
Add to the existing library
You can incrementally adopt ctl-scripts in the existing library.
Start by installing ctl-scripts
as your library's dependency:
$ npm install ctl-scripts -D
# or
$ yarn add ctl-scripts -D
Once the installation is complete, run the following command to initialize workflow hooks (i.e. Git hooks):
$ ctl-scripts init-hooks
Add these basic shorthand commands to your "package.json":
{
"scripts": {
"dev": "ctl-scripts dev",
"test": "ctl-scripts test",
"build": "ctl-scripts build"
}
}
See Commands to supercharge your development workflow.
Commands
Please see the list of available commands by running ctl-scripts --help
.