Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
4368713ad5 | |||
58cea5cb48 | |||
329e0dc101 | |||
da45d002a3 | |||
59e811247f |
7
dist/mod02/index.js
vendored
7
dist/mod02/index.js
vendored
@ -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(),
|
||||
|
@ -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",
|
||||
|
@ -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(),
|
||||
|
Reference in New Issue
Block a user