Socket
Book a DemoInstallSign in
Socket

dts-only

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dts-only

Command-line wrapper for typescript compiler to produce declarations only

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

dts-only

Latest Stable Version License Build Status Test Coverage

Command-line utility built on top of typescript compiler to generate only declaration files. Originally built to work with @babel/plugin-transform-typescript, because it does not support generating declarations.

Note: Alpha version! Do not use in production.

Installation

$ npm install dts-only

Usage

Just run script in command line:

$ dts-only

Script will try to find tsconfig.json at your cwd. If you have configuration in another directory, specify it with -p:

$ dts-only -p src/tsconfig.json

Command-line options

  • -c, --compiler - prints current compiler version
  • -h, --help - prints usage information
  • --outDir - specifies directory for typescript compiler output
  • -p, --project - path to tsconfig.json file.
  • -v, --version - prints package version

Keywords

typescript

FAQs

Package last updated on 10 Dec 2017

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