tsconfig-checker

0.0.4 • Public • Published

tsconfig-checker

An optionated tsconfig checker

This package provides a tool for checking the validity of TypeScript configuration files (tsconfig.json).

🌟 Features

  • enable / disable compilerOptions.paths option and filters

💿 Installation

Local

# npm
npm install tsconfig-checker --save-dev

# pnpm
pnpm add --save-dev tsconfig-checker

# bum
bun add --dev tsconfig-checker

Global

# npm
npm install --global tsconfig-checker

# pnpm
pnpm add --global tsconfig-checker

# bum
bun add --global tsconfig-checker

🚀 Usage

USAGE tsconfig-checker [OPTIONS]

OPTIONS

  --paths="true"    allow 'compilerOptions.paths' option, if you can disable it, specify 'false'

filtering for checking

paths option:

# allow 'path/to/**' key on `compilerOptions.paths`
tsconfig-checker --paths="["/path/to/**"]"

©️ License

MIT

Package Sidebar

Install

npm i tsconfig-checker

Weekly Downloads

4

Version

0.0.4

License

MIT

Unpacked Size

8.63 kB

Total Files

6

Last publish

Collaborators

  • kazupon