This commit is contained in:
Philipp Kunz 2016-01-14 20:08:46 +01:00
parent 39b7fe99c7
commit 5266fcd3df
6 changed files with 10 additions and 9 deletions

View File

@ -26,7 +26,7 @@ plugins.gulp.task("indexTS", function () {
}))
.pipe(plugins.gulp.dest(paths.cwd));
});
plugins.gulp.task("default", [], function () {
plugins.gulp.task("default", ["indexTS"], function () {
plugins.beautylog.success("TypeScript for this module was compiled successfully.");
});
plugins.gulp.start.apply(plugins.gulp, ['default']);

View File

@ -8,6 +8,7 @@
},
"scripts": {
"test": "(cd compile && node compile.js)",
"release": "(git add -A && git commit -m 'update' && git push origin master && npm version patch && npm publish)",
"testm": "(cd test/ && npm update && npm test)"
},
"repository": {

10
test/node_modules/npmts/package.json generated vendored
View File

@ -1,6 +1,6 @@
{
"name": "npmts",
"version": "0.0.4",
"version": "0.0.5",
"description": "write npm modules with TypeScript",
"main": "index.js",
"bin": {
@ -34,9 +34,9 @@
"gulp-typescript": "^2.10.0",
"smartcli": "0.0.11"
},
"gitHead": "71f8d14ee96af237e658b400e3bdaa33fdff7785",
"gitHead": "39b7fe99c7ba1d5299c4a7d61f1dad52ee0fb561",
"readme": "ERROR: No README data found!",
"_id": "npmts@0.0.4",
"_shasum": "fe9f1bec27aba50fd16f45c3c7053072c860dcd6",
"_from": "npmts@0.0.4"
"_id": "npmts@0.0.5",
"_shasum": "f38b99c06a047aec650770b891c588b1cec03db0",
"_from": "npmts@0.0.5"
}

View File

@ -24,7 +24,7 @@ plugins.gulp.task("indexTS", function () {
}))
.pipe(plugins.gulp.dest(paths.cwd));
});
plugins.gulp.task("default", [], function () {
plugins.gulp.task("default", ["indexTS"], function () {
plugins.beautylog.success("TypeScript for this module was compiled successfully.");
});
plugins.gulp.start.apply(plugins.gulp, ['default']);

View File

@ -1 +1 @@
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,2CAA2C;AAC3C,IAAI,OAAO,GAAG;IACV,SAAS,EAAE,OAAO,CAAC,WAAW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IAAI,CAAC,IAAI,CAAC,SAAS,EAAE;IACzB,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC;SAC1B,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC;QACzB,GAAG,EAAE,SAAS;KACjB,CAAC,CAAC;SACF,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAA;AAC3C,CAAC,CAAC,CAAC;AAEH,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAC,CAAC,SAAS,CAAC,EAAC;IACrC,OAAO,CAAC,SAAS,CAAC,OAAO,CAAC,uDAAuD,CAAC,CAAC;AACtF,CAAC,CAAC,CAAC;AAEH,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC"}

View File

@ -28,7 +28,7 @@ plugins.gulp.task("indexTS", function(){
.pipe(plugins.gulp.dest(paths.cwd))
});
plugins.gulp.task("default",[],function(){
plugins.gulp.task("default",["indexTS"],function(){
plugins.beautylog.success("TypeScript for this module was compiled successfully.");
});