UNPKG

foundrybot

Version:
35 lines (31 loc) 636 B
module.exports = function(grunt) { "use strict"; grunt.initConfig({ ts: { app: { files: [{ src: ["lib/\*\*/\*.ts", "!lib/.baseDir.ts"], dest: "./dist" }], options: { allowJs: true, module: "commonjs", target: "es6", sourceMap: false } } }, watch: { ts: { files: ["lib/\*\*/\*.ts"], tasks: ["ts"] } } }); grunt.loadNpmTasks("grunt-contrib-copy"); grunt.loadNpmTasks("grunt-contrib-watch"); grunt.loadNpmTasks("grunt-ts"); grunt.registerTask("default", [ "ts" ]); };