some fixes for es5 transpilation

This commit is contained in:
Philipp Kunz 2017-01-15 20:12:12 +01:00
parent 59e811247f
commit da45d002a3
2 changed files with 4 additions and 2 deletions

3
dist/mod02/index.js vendored
View File

@ -28,7 +28,8 @@ let mocha = function (configArg) {
plugins.gulpTypeScript({ plugins.gulpTypeScript({
target: 'ES5', target: 'ES5',
emitDecoratorMetadata: true, emitDecoratorMetadata: true,
experimentalDecorators: true experimentalDecorators: true,
lib: ['es2015.promise', 'es5']
}), }),
plugins.gulpIstanbul({}), plugins.gulpIstanbul({}),
plugins.gulpSourcemaps.write(), plugins.gulpSourcemaps.write(),

View File

@ -24,7 +24,8 @@ let mocha = function (configArg: INpmtsConfig) {
plugins.gulpTypeScript({ plugins.gulpTypeScript({
target: 'ES5', target: 'ES5',
emitDecoratorMetadata: true, emitDecoratorMetadata: true,
experimentalDecorators: true experimentalDecorators: true,
lib: ['es2015.promise','es5']
}), }),
plugins.gulpIstanbul({ plugins.gulpIstanbul({
}), }),