0.0.1 • Published 10 years ago
grunt-tsconfig-update v0.0.1
grunt-tsconfig-update
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');
};0.0.1
10 years ago