<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
npm install ctl-scriptsDevelop, maintain, and release TypeScript libraries.
- Sensible defaults.
- On-the-fly code formatting, linting, and testing.
- Conventional commits.
- Automated releases.
``sh`
$ npx ctl-scripts init my-library
You can incrementally adopt ctl-scripts in the existing library.
Start by installing ctl-scripts as your library's dependency:
`sh`
$ npm install ctl-scripts -Dor
$ yarn add ctl-scripts -D
Once the installation is complete, run the following command to initialize
workflow hooks (i.e. Git hooks):
`sh`
$ ctl-scripts init-hooks
Add these basic shorthand commands to your "package.json":
`json`
{
"scripts": {
"dev": "ctl-scripts dev",
"test": "ctl-scripts test",
"build": "ctl-scripts build"
}
}
> See Commands to supercharge your development workflow.
Please see the list of available commands by running ctl-scripts --help`.