Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dts-bundle-append

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dts-bundle-append

Append custom d.ts files into d.ts file bundle by dts-bundle.

  • 0.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

dts-bundle-append

NPM version dependencies Status devDependencies Status

Append custom d.ts files into one d.ts file bundled by dts-bundle.

Usage

  1. Install from npm:
npm install dts-bundle-append
  1. Run dts-bundle.

  2. After d.ts file bundled, run dts-bundle-append.

Requirements

NodeJS: >= 6.0.0

Configuration

Default configuration are taken from a dts-bundle.json file.

Also, you can specify a custom config file (see #command-line).

Configuration options

ArgumentTypeDescription
append`stringArray`

*All other configuration options available from dts-bundle (read more TypeStrong/dts-bundle#options).

Configuration example

{
    "name": "module-name",
    "main": "dist/main.d.ts",
    "out": "module-name.d.ts",
    "baseDir": "dist",
    "append": [
      "src/global.d.ts"
    ]
}

Command line

Usage: dts-bundle-append [options]

Options:
  --help        Show help                                                    [boolean]
  --version     Show version number                                          [boolean]
  --append      Append files to global                                        [string]
  --out         dts-bundle bundled out file                                   [string]
  --configJson  dts-bundle configuration file    [string] [default: "dts-bundle.json"]
  --baseDir     dts-bundle base directory                                     [string]

License

GPL-3.0

FAQs

Package last updated on 08 Aug 2016

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc