1.0.0-beta.1 • Published 7 years ago

tsminify v1.0.0-beta.1

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

npm version Build Status

TsMinify

TsMinify is a Typescript minifier.

Top Features

  • Typescript source file minification with identifier shortening and whitespace removal.

How to install

npm install tsminify

API

tsminify.src( projectConfigPath: string, settings: any )

Where:

projectConfigPath is a relative directory path to the default Typescript project file named "tsconfig.json". Or, projectConfigPath is a relative path to a named Typescript project file.

Building TsMinifyProject

TsMinify depends on NPM as a package manager and Gulp as a build tool. If you haven't already, you'll need to install both these tools in order to build TsMinify.

Once Gulp is installed, you can build it with the following commands:

npm install
gulp build