1.0.0 • Published 7 years ago

gulp-typescript-multiproject v1.0.0

Weekly downloads
1
License
MIT
Repository
-
Last release
7 years ago

gulp-typescript-multiproject

Easily compile projects made up of multiple tsconfig.json with a simple configuration. This project works for projects that contain a mix of commonJS and AMD wrapped code.

Build Status Code Climate Test Coverage

Example

gulp-typescript-multiproject exposes easy to use gulp tasks that can simply the build and cleaning process.

import * as rsMultiProject from 'gulp-typescript-multiproject';
import * as gulp from 'gulp';

let tsProject = rsMultiProject([
  './**/tsconfig.json',
  '!**/node_modules',
  '!**/bower_components'
]);

gulp.task('build', tsProject.build());
gulp.task('clean', tsProject.clean());

After starting a "gulp build", each tsconfig.json will be compiled as it's on independent project. Using options in tsconfig.json, files can be easily included/excluded as needed, allowing separation between two different types of applications (e.g. frontend, backend) while in the same project.