Nullifying Precipitation Machine

npm

Check out our latest tech talk, "JavaScript Supply Chain Security" presented by VP of Security, Adam Baldwin.Watch it here »

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');
};

Keywords

none

install

npm i grunt-tsconfig-update

Downloadsweekly downloads

8

version

0.0.1

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability