1.0.0 • Published 5 years ago

@webcarrot/copy-declaration-ts v1.0.0

Weekly downloads
6
License
MIT
Repository
github
Last release
5 years ago

@webcarrot/copy-declaration-ts

Copy *.d.ts files from source directory into build/dist directory

Instalation

Global:

npm i -g @webcarrot/copy-declaration-ts

or local:

npm i --save-dev @webcarrot/copy-declaration-ts

Usage

Global installation usage:

copy-declaration-ts ./src ./dist/foo

Local installation usage:

In package.json:

{
  "scripts": {
    "build": "tsc && copy-declaration-ts ./src ./dit/foo"
  },
  "devDependencies": {
    "@webcarrot/copy-declaration-ts": "^1.0.0"
  }
}

and then:

npm run build