18 lines
386 B
JavaScript
18 lines
386 B
JavaScript
module.exports = function (grunt) {
|
|
grunt.loadNpmTasks('grunt-typescript');
|
|
|
|
grunt.initConfig({
|
|
typescript: {
|
|
base: {
|
|
src: ["lib/**/*.ts"],
|
|
dest: "build/typertext.js",
|
|
options: {
|
|
declaration: true,
|
|
"sourcemap": true
|
|
}
|
|
}
|
|
}
|
|
|
|
});
|
|
|
|
}; |