ctl-scripts

<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

Usage no npm install needed!

<script type="module">
  import ctlScripts from 'https://cdn.skypack.dev/ctl-scripts';
</script>

README

Latest version License

CTL Scripts

Develop, maintain, and release TypeScript libraries.

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.

Honorable mentions