🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

ctl-scripts

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ctl-scripts

Develop, maintain, and release TypeScript libraries.

0.3.0
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

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

Tip: Get the list of all available commands by running ctl-scripts --help.

ctl-scrips lint

ctl-scripts test

ctl-scripts format

Formats the source code using Prettier.

ctl-scripts build

ctl-scripts publish

Publishes the library to the registry configured in your ".npmrc".

Honorable mentions

FAQs

Package last updated on 19 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts