Skip to content

Module boiler plate using TypeScript, Gulp, Uglify and Tape

License

Notifications You must be signed in to change notification settings

yahiko00/TSModule

Repository files navigation

TS Module

A module boiler plate in TypeScript with source map support.

Main features:

  • Source Map support
  • Incremental Build
  • Unit tests
  • Browser auto-refresh

Main dependencies:

Installation

The TypeScript compiler and TSLint should be installed globally.

$> git clone https://github.com/yahiko00/TSModule.git <new folder>
$> cd <new folder>
$> git init
$> npm install

Build

Project settings are defined in package.json, settings section. Inside this section, set debug to true to debug the project with source maps, or set debug to false to build the project in the release mode.

Tasks are defined in the gulpfile.js script.

Commands should be run under a bash shell.

The following command builds the project and runs unit tests. If any change happens, it builds the project and runs units tests again.

$> npm run watch

For more predefined commands, see package.json, item scripts.

Unit tests are logged in the tests/ folder, file tape.log.

Contributors

yahiko

Licence

MIT

About

Module boiler plate using TypeScript, Gulp, Uglify and Tape

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published