1.0.9 • Published 5 years ago

barrel-generator v1.0.9

Weekly downloads
6
License
ISC
Repository
-
Last release
5 years ago

NPM module for generation of index.d.ts files.

Install

npm install barrel-generator

Info

NPM module for generation of index.d.ts files. Read more.

Use

NPM script examples:

"start": "barrel-generator"

"start_custom": "barrel-generator --sourceFolder=./src --barrelFileLocation=./src --barrelFileName=index.ts 
--includeFile=.ts --excludeFiles=d.ts,spec.ts,index.ts"

Arguments

  • sourceFolder = ./src (Optional) Root folder of the source you want to include in the index.d.ts

  • barrelFileName = index.ts (Optional) Output file of the Generator.

  • barrelFileLocation = ./src (Optional) Output file (barrel file) location, can be relative to the --sourceFolder in this case the paths to files listed inside the generated barrel file are 'shortened' to be valid.

  • includeFile = .ts (Optional) File extension of the included inside index.d.ts files.

  • excludeFiles = d.ts,spec.ts,index.ts (Optional) Comma separated list of excluded files/file extensions.

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago