grunt-tsconfig-update

0.0.1 • Public • Published

grunt-tsconfig-update

Circle CI

Basic usage

module.exports = function(grunt) {
    grunt.initConfig({
        tsconfig: {
            main: {
            }
        }
    });

    grunt.loadNpmTasks('grunt-tsconfig-update');
};

Advanced usage

module.exports = function(grunt) {
    grunt.initConfig({
        ts: {
            options: {
                target: 'es5',
                module: 'umd',
                noImplicitAny: true,
                experimentalDecorators: true
            },
            main: {
                src: [
                    './**/*.ts',
                    '!./ignore/**/*.ts'
                ]
            }
        },

        tsconfig: {
            main: {
                options: {
                    project: "./",
                    compilerOptions: '<%= ts.options %>',
                    filesGlob: '<%= ts.clientMain.src %>'
                }
            }
        }
    });

    grunt.loadNpmTasks('grunt-ts');
    grunt.loadNpmTasks('grunt-tsconfig-update');
};

/grunt-tsconfig-update/

    Package Sidebar

    Install

    npm i grunt-tsconfig-update

    Weekly Downloads

    6

    Version

    0.0.1

    License

    none

    Last publish

    Collaborators

    • vvakame