UT Tools for Build and Release Automation

7.13.2 · active · verified Tue Apr 21

ut-tools is a suite of command-line interface (CLI) scripts designed for continuous integration, continuous delivery, and general automation tasks within JavaScript projects. It provides a pre-configured set of utilities for common CI/CD workflows, including generating changelogs (`ut-changelog`), running tests (`ut-test`), checking code coverage (`ut-cover`), linting JavaScript and CSS files (`ut-lint`, `ut-lint-js`, `ut-lint-css`), and automating release processes (`ut-release`, `ut-release-lerna`). Currently at version 7.13.2, the package has shifted its primary installation model since version 7, requiring global installation rather than being added to `devDependencies` to optimize `npm install` performance. It is intended for direct use within `package.json` scripts or as standalone CLI commands, not as a library for programmatic import.

Common errors

Warnings

Install

Imports

Quickstart

Demonstrates global installation and usage of ut-tools commands within package.json scripts.

npm install -g ut-tools

// Add to your project's package.json scripts
// Example: package.json
/*
{
  "name": "my-project",
  "version": "1.0.0",
  "scripts": {
    "lint": "ut-lint",
    "test": "ut-test",
    "release": "ut-release"
  }
}
*/

// Then run from your project directory
npm run lint

view raw JSON →