Compare commits

..

5 Commits

Author SHA1 Message Date
4368713ad5 6.1.2 2017-01-15 21:45:12 +01:00
58cea5cb48 fix lib inclusion for tests 2017-01-15 21:45:08 +01:00
329e0dc101 6.1.1 2017-01-15 20:12:26 +01:00
da45d002a3 some fixes for es5 transpilation 2017-01-15 20:12:12 +01:00
59e811247f remove unused dep 2017-01-15 20:06:07 +01:00
3 changed files with 9 additions and 8 deletions

7
dist/mod02/index.js vendored
View File

@ -28,13 +28,13 @@ let mocha = function (configArg) {
plugins.gulpTypeScript({
target: 'ES5',
emitDecoratorMetadata: true,
experimentalDecorators: true
experimentalDecorators: true,
lib: ['ES2015.Promise', 'ES5', 'ES2015.Generator']
}),
plugins.gulpIstanbul({}),
plugins.gulpSourcemaps.write(),
plugins.gulpFunction.forEach((file) => __awaiter(this, void 0, void 0, function* () {
file.path = file.path.replace(paths.tsDir, paths.distDir);
console.log(file.path);
})),
plugins.gulpInjectModules(),
plugins.through2.obj((file, enc, cb) => {
@ -48,7 +48,8 @@ let mocha = function (configArg) {
plugins.gulpTypeScript({
target: 'ES5',
emitDecoratorMetadata: true,
experimentalDecorators: true
experimentalDecorators: true,
lib: ['ES2015.Promise', 'ES5', 'ES2015.Generator']
}),
plugins.gulpInjectModules(),
plugins.gulpMocha(),

View File

@ -1,6 +1,6 @@
{
"name": "npmts",
"version": "6.1.0",
"version": "6.1.2",
"description": "Write npm modules with TypeScript without hassle. TypeScript ready. Fully ES6.",
"main": "dist/index.js",
"bin": {
@ -37,7 +37,6 @@
"@types/gulp": "^3.8.32",
"@types/gulp-istanbul": "^0.9.30",
"@types/gulp-mocha": "0.0.29",
"@types/gulp-rename": "0.0.31",
"@types/gulp-sourcemaps": "0.0.29",
"@types/minimatch": "^2.0.29",
"@types/q": "^0.x.x",

View File

@ -24,14 +24,14 @@ let mocha = function (configArg: INpmtsConfig) {
plugins.gulpTypeScript({
target: 'ES5',
emitDecoratorMetadata: true,
experimentalDecorators: true
experimentalDecorators: true,
lib: ['ES2015.Promise','ES5','ES2015.Generator']
}),
plugins.gulpIstanbul({
}),
plugins.gulpSourcemaps.write(),
plugins.gulpFunction.forEach(async file => {
file.path = file.path.replace(paths.tsDir, paths.distDir)
console.log(file.path)
}),
plugins.gulpInjectModules(),
plugins.through2.obj(
@ -49,7 +49,8 @@ let mocha = function (configArg: INpmtsConfig) {
plugins.gulpTypeScript({
target: 'ES5',
emitDecoratorMetadata: true,
experimentalDecorators: true
experimentalDecorators: true,
lib: ['ES2015.Promise','ES5','ES2015.Generator']
}),
plugins.gulpInjectModules(),
plugins.gulpMocha(),