Compare commits

...

2 Commits

Author SHA1 Message Date
9ad59704be 2.4.1 2016-02-17 04:26:44 +01:00
29f3832d63 switch to commonjs module as default 2016-02-17 04:26:26 +01:00
3 changed files with 5 additions and 3 deletions

View File

@ -172,7 +172,8 @@ var NpmtsCompile;
.pipe(plugins.g.typescript({
out: outputName,
declaration: true,
target: "ES5"
target: "ES5",
module: "commonjs"
}));
var stream = plugins.mergeStream([
tsStream.dts.pipe(plugins.gulp.dest(outputDir)),

View File

@ -1,6 +1,6 @@
{
"name": "npmts",
"version": "2.4.0",
"version": "2.4.1",
"description": "write npm modules with TypeScript",
"main": "index.js",
"typings": "./index.d.ts",

View File

@ -72,7 +72,8 @@ module NpmtsCompile {
.pipe(plugins.g.typescript({
out: outputName,
declaration: true,
target: "ES5"
target: "ES5",
module: "commonjs"
}));
var stream = plugins.mergeStream([
tsStream.dts.pipe(plugins.gulp.dest(outputDir)),