@tepez/typescript-build-gulp-tasks
TypeScript icon, indicating that this package has built-in type declarations

8.0.0-3 • Public • Published

typescript-build-gulp-tasks

Gulp 4 tasks for developing typescript applications

Usage

Install

npm install --save-dev @tepez/typescript-build-gulp-tasks

Config typescript:

Create a tsconfig.json file in the root directory of the project.

Add to gulpfile.ts

Make sure to use typescript gulpfile. We count to it to load ts-node.

import { getConfig, register, tasks, IPartialConfig } from '@tepez/typescript-build-gulp-tasks'
import * as Gulp from 'gulp'
import * as _ from 'lodash'

const partialConfig: IPartialConfig = {
    // add partial updates to the default config here
    unit: {
        srcFiles: [
            'spec/**/*.spec.ts',
        ]
    }
};

_.merge(getConfig(), partialConfig);

register(Gulp);

// Optional: make the dev-unit-test task the default task
Gulp.task('default', tasks.devUnitTest);

Readme

Keywords

none

Package Sidebar

Install

npm i @tepez/typescript-build-gulp-tasks

Weekly Downloads

6

Version

8.0.0-3

License

ISC

Unpacked Size

8.84 kB

Total Files

12

Last publish

Collaborators

  • tomyam1