Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
4368713ad5 | |||
58cea5cb48 |
6
dist/mod02/index.js
vendored
6
dist/mod02/index.js
vendored
@ -29,13 +29,12 @@ let mocha = function (configArg) {
|
||||
target: 'ES5',
|
||||
emitDecoratorMetadata: true,
|
||||
experimentalDecorators: true,
|
||||
lib: ['es2015.promise', 'es5']
|
||||
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) => {
|
||||
@ -49,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(),
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "npmts",
|
||||
"version": "6.1.1",
|
||||
"version": "6.1.2",
|
||||
"description": "Write npm modules with TypeScript without hassle. TypeScript ready. Fully ES6.",
|
||||
"main": "dist/index.js",
|
||||
"bin": {
|
||||
|
@ -25,14 +25,13 @@ let mocha = function (configArg: INpmtsConfig) {
|
||||
target: 'ES5',
|
||||
emitDecoratorMetadata: true,
|
||||
experimentalDecorators: true,
|
||||
lib: ['es2015.promise','es5']
|
||||
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(
|
||||
@ -50,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(),
|
||||
|
Reference in New Issue
Block a user