From e50a86439b56ccb1fef42c6b5129fc44bc71533d Mon Sep 17 00:00:00 2001 From: PhilKunz Date: Sat, 16 Jan 2016 14:33:09 +0100 Subject: [PATCH] restructured code --- index.js | 95 +++++++++++++++++++++++++---------------- ts/index.js | 44 ++++--------------- ts/index.js.map | 2 +- ts/index.ts | 49 ++++----------------- ts/npmts.cli.js | 2 + ts/npmts.cli.js.map | 1 + ts/npmts.cli.ts | 1 + ts/npmts.custom.js | 2 + ts/npmts.custom.js.map | 1 + ts/npmts.custom.ts | 1 + ts/npmts.default.js | 24 +++++++++++ ts/npmts.default.js.map | 2 +- ts/npmts.default.ts | 27 ++++++++++++ ts/npmts.paths.js | 12 ++++++ ts/npmts.paths.js.map | 1 + ts/npmts.paths.ts | 10 +++++ ts/npmts.plugins.js | 15 +++++++ ts/npmts.plugins.js.map | 1 + ts/npmts.plugins.ts | 13 ++++++ 19 files changed, 188 insertions(+), 115 deletions(-) create mode 100644 ts/npmts.cli.js create mode 100644 ts/npmts.cli.js.map create mode 100644 ts/npmts.cli.ts create mode 100644 ts/npmts.custom.js create mode 100644 ts/npmts.custom.js.map create mode 100644 ts/npmts.custom.ts create mode 100644 ts/npmts.paths.js create mode 100644 ts/npmts.paths.js.map create mode 100644 ts/npmts.paths.ts create mode 100644 ts/npmts.plugins.js create mode 100644 ts/npmts.plugins.js.map create mode 100644 ts/npmts.plugins.ts diff --git a/index.js b/index.js index 23b483b..565c79a 100644 --- a/index.js +++ b/index.js @@ -1,39 +1,62 @@ #!/usr/bin/env node +/// +var NpmtsPlugins; +(function (NpmtsPlugins) { + NpmtsPlugins.init = function () { + var plugins = { + beautylog: require("beautylog"), + gulp: require("gulp"), + gulpTypeScript: require("gulp-typescript"), + path: require("path"), + smartcli: require("smartcli") + }; + return plugins; + }; +})(NpmtsPlugins || (NpmtsPlugins = {})); +/// +/// +var NpmtsPaths; +(function (NpmtsPaths) { + NpmtsPaths.init = function () { + var paths = {}; + paths.cwd = plugins.smartcli.get.cwd().path; + paths.indexTS = plugins.path.join(paths.cwd, "ts/index.ts"); + paths.testTS = plugins.path.join(paths.cwd, "ts/test.ts"); + return paths; + }; +})(NpmtsPaths || (NpmtsPaths = {})); +/// +/// +var NpmtsDefault; +(function (NpmtsDefault) { + NpmtsDefault.init = function () { + plugins.gulp.task("indexTS", function () { + plugins.gulp.src(paths.indexTS) + .pipe(plugins.gulpTypeScript({ + out: "index.js" + })) + .pipe(plugins.gulp.dest(paths.cwd)); + }); + plugins.gulp.task("testTS", function () { + plugins.gulp.src(paths.testTS) + .pipe(plugins.gulpTypeScript({ + out: "test.js" + })) + .pipe(plugins.gulp.dest(paths.cwd)); + }); + plugins.gulp.task("default", ["indexTS", "testTS"], function () { + plugins.beautylog.success("TypeScript for this module was compiled successfully."); + }); + plugins.gulp.start.apply(plugins.gulp, ['default']); + }; +})(NpmtsDefault || (NpmtsDefault = {})); /// -var plugins = { - beautylog: require("beautylog"), - gulp: require("gulp"), - gulpTypeScript: require("gulp-typescript"), - path: require("path"), - smartcli: require("smartcli") -}; -var paths = {}; -paths.cwd = plugins.smartcli.get.cwd().path; -paths.indexTS = plugins.path.join(paths.cwd, "ts/index.ts"); -paths.testTS = plugins.path.join(paths.cwd, "ts/test.ts"); -plugins.gulp.task("indexTS", function () { - plugins.gulp.src(paths.indexTS) - .pipe(plugins.gulpTypeScript({ - out: "index.js" - })) - .pipe(plugins.gulp.dest(paths.cwd)); -}); -plugins.gulp.task("indexTS", function () { - plugins.gulp.src(paths.indexTS) - .pipe(plugins.gulpTypeScript({ - out: "index.js" - })) - .pipe(plugins.gulp.dest(paths.cwd)); -}); -plugins.gulp.task("testTS", function () { - plugins.gulp.src(paths.testTS) - .pipe(plugins.gulpTypeScript({ - out: "test.js" - })) - .pipe(plugins.gulp.dest(paths.cwd)); -}); -plugins.gulp.task("default", ["indexTS", "testTS"], function () { - plugins.beautylog.success("TypeScript for this module was compiled successfully."); -}); -plugins.gulp.start.apply(plugins.gulp, ['default']); +/// +/// +/// +/// +/// +var plugins = NpmtsPlugins.init(); +var paths = NpmtsPaths.init(); +NpmtsDefault.init(); diff --git a/ts/index.js b/ts/index.js index 297f458..289fae7 100644 --- a/ts/index.js +++ b/ts/index.js @@ -1,38 +1,10 @@ /// -var plugins = { - beautylog: require("beautylog"), - gulp: require("gulp"), - gulpTypeScript: require("gulp-typescript"), - path: require("path"), - smartcli: require("smartcli") -}; -var paths = {}; -paths.cwd = plugins.smartcli.get.cwd().path; -paths.indexTS = plugins.path.join(paths.cwd, "ts/index.ts"); -paths.testTS = plugins.path.join(paths.cwd, "ts/test.ts"); -plugins.gulp.task("indexTS", function () { - plugins.gulp.src(paths.indexTS) - .pipe(plugins.gulpTypeScript({ - out: "index.js" - })) - .pipe(plugins.gulp.dest(paths.cwd)); -}); -plugins.gulp.task("indexTS", function () { - plugins.gulp.src(paths.indexTS) - .pipe(plugins.gulpTypeScript({ - out: "index.js" - })) - .pipe(plugins.gulp.dest(paths.cwd)); -}); -plugins.gulp.task("testTS", function () { - plugins.gulp.src(paths.testTS) - .pipe(plugins.gulpTypeScript({ - out: "test.js" - })) - .pipe(plugins.gulp.dest(paths.cwd)); -}); -plugins.gulp.task("default", ["indexTS", "testTS"], function () { - plugins.beautylog.success("TypeScript for this module was compiled successfully."); -}); -plugins.gulp.start.apply(plugins.gulp, ['default']); +/// +/// +/// +/// +/// +var plugins = NpmtsPlugins.init(); +var paths = NpmtsPaths.init(); +NpmtsDefault.init(); //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/ts/index.js.map b/ts/index.js.map index e1700a6..e95d0a2 100644 --- a/ts/index.js.map +++ b/ts/index.js.map @@ -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,CAAC;IAC/B,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC;IACrB,cAAc,EAAE,OAAO,CAAC,iBAAiB,CAAC;IAC1C,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC,UAAU,CAAC;CAChC,CAAC;AAEF,IAAI,KAAK,GAAO,EAAE,CAAC;AACnB,KAAK,CAAC,GAAG,GAAG,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;AAC5C,KAAK,CAAC,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,EAAC,aAAa,CAAC,CAAC;AAC3D,KAAK,CAAC,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,EAAC,YAAY,CAAC,CAAC;AAEzD,OAAO,CAAC,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,UAAU;KAClB,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,EAAE;IACzB,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC;SAC1B,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC;QACzB,GAAG,EAAE,UAAU;KAClB,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,QAAQ,EAAE;IACxB,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC;SACzB,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,EAAC,QAAQ,CAAC,EAAC;IAC9C,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"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,2CAA2C;AAC3C,2CAA2C;AAC3C,uCAAuC;AACvC,yCAAyC;AACzC,0CAA0C;AAC1C,2CAA2C;AAE3C,IAAI,OAAO,GAAG,YAAY,CAAC,IAAI,EAAE,CAAC;AAClC,IAAI,KAAK,GAAG,UAAU,CAAC,IAAI,EAAE,CAAC;AAC9B,YAAY,CAAC,IAAI,EAAE,CAAC"} \ No newline at end of file diff --git a/ts/index.ts b/ts/index.ts index eed3045..f05b2ae 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -1,43 +1,10 @@ /// -var plugins = { - beautylog: require("beautylog"), - gulp: require("gulp"), - gulpTypeScript: require("gulp-typescript"), - path: require("path"), - smartcli: require("smartcli") -}; +/// +/// +/// +/// +/// -var paths:any = {}; -paths.cwd = plugins.smartcli.get.cwd().path; -paths.indexTS = plugins.path.join(paths.cwd,"ts/index.ts"); -paths.testTS = plugins.path.join(paths.cwd,"ts/test.ts"); - -plugins.gulp.task("indexTS", function(){ - plugins.gulp.src(paths.indexTS) - .pipe(plugins.gulpTypeScript({ - out: "index.js" - })) - .pipe(plugins.gulp.dest(paths.cwd)) -}); - -plugins.gulp.task("indexTS", function(){ - plugins.gulp.src(paths.indexTS) - .pipe(plugins.gulpTypeScript({ - out: "index.js" - })) - .pipe(plugins.gulp.dest(paths.cwd)) -}); - -plugins.gulp.task("testTS", function(){ - plugins.gulp.src(paths.testTS) - .pipe(plugins.gulpTypeScript({ - out: "test.js" - })) - .pipe(plugins.gulp.dest(paths.cwd)) -}); - -plugins.gulp.task("default",["indexTS","testTS"],function(){ - plugins.beautylog.success("TypeScript for this module was compiled successfully."); -}); - -plugins.gulp.start.apply(plugins.gulp, ['default']); \ No newline at end of file +var plugins = NpmtsPlugins.init(); +var paths = NpmtsPaths.init(); +NpmtsDefault.init(); diff --git a/ts/npmts.cli.js b/ts/npmts.cli.js new file mode 100644 index 0000000..60e1753 --- /dev/null +++ b/ts/npmts.cli.js @@ -0,0 +1,2 @@ +/// +//# sourceMappingURL=npmts.cli.js.map \ No newline at end of file diff --git a/ts/npmts.cli.js.map b/ts/npmts.cli.js.map new file mode 100644 index 0000000..7886c5f --- /dev/null +++ b/ts/npmts.cli.js.map @@ -0,0 +1 @@ +{"version":3,"file":"npmts.cli.js","sourceRoot":"","sources":["npmts.cli.ts"],"names":[],"mappings":"AAAA,mCAAmC"} \ No newline at end of file diff --git a/ts/npmts.cli.ts b/ts/npmts.cli.ts new file mode 100644 index 0000000..019254e --- /dev/null +++ b/ts/npmts.cli.ts @@ -0,0 +1 @@ +/// \ No newline at end of file diff --git a/ts/npmts.custom.js b/ts/npmts.custom.js new file mode 100644 index 0000000..25c4599 --- /dev/null +++ b/ts/npmts.custom.js @@ -0,0 +1,2 @@ +/// +//# sourceMappingURL=npmts.custom.js.map \ No newline at end of file diff --git a/ts/npmts.custom.js.map b/ts/npmts.custom.js.map new file mode 100644 index 0000000..42cbea9 --- /dev/null +++ b/ts/npmts.custom.js.map @@ -0,0 +1 @@ +{"version":3,"file":"npmts.custom.js","sourceRoot":"","sources":["npmts.custom.ts"],"names":[],"mappings":"AAAA,mCAAmC"} \ No newline at end of file diff --git a/ts/npmts.custom.ts b/ts/npmts.custom.ts new file mode 100644 index 0000000..019254e --- /dev/null +++ b/ts/npmts.custom.ts @@ -0,0 +1 @@ +/// \ No newline at end of file diff --git a/ts/npmts.default.js b/ts/npmts.default.js index a1e4c03..b80c053 100644 --- a/ts/npmts.default.js +++ b/ts/npmts.default.js @@ -1 +1,25 @@ +/// +var NpmtsDefault; +(function (NpmtsDefault) { + NpmtsDefault.init = function () { + plugins.gulp.task("indexTS", function () { + plugins.gulp.src(paths.indexTS) + .pipe(plugins.gulpTypeScript({ + out: "index.js" + })) + .pipe(plugins.gulp.dest(paths.cwd)); + }); + plugins.gulp.task("testTS", function () { + plugins.gulp.src(paths.testTS) + .pipe(plugins.gulpTypeScript({ + out: "test.js" + })) + .pipe(plugins.gulp.dest(paths.cwd)); + }); + plugins.gulp.task("default", ["indexTS", "testTS"], function () { + plugins.beautylog.success("TypeScript for this module was compiled successfully."); + }); + plugins.gulp.start.apply(plugins.gulp, ['default']); + }; +})(NpmtsDefault || (NpmtsDefault = {})); //# sourceMappingURL=npmts.default.js.map \ No newline at end of file diff --git a/ts/npmts.default.js.map b/ts/npmts.default.js.map index 9af2652..83de721 100644 --- a/ts/npmts.default.js.map +++ b/ts/npmts.default.js.map @@ -1 +1 @@ -{"version":3,"file":"npmts.default.js","sourceRoot":"","sources":["npmts.default.ts"],"names":[],"mappings":""} \ No newline at end of file +{"version":3,"file":"npmts.default.js","sourceRoot":"","sources":["npmts.default.ts"],"names":["NpmtsDefault"],"mappings":"AAAA,mCAAmC;AAEnC,IAAO,YAAY,CAwBlB;AAxBD,WAAO,YAAY,EAAC,CAAC;IACNA,iBAAIA,GAAGA;QACd,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE;YACzB,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC;iBAC1B,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC;gBACzB,GAAG,EAAE,UAAU;aAClB,CAAC,CAAC;iBACF,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAA;QAC3C,CAAC,CAAC,CAAC;QAEH,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;YACxB,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC;iBACzB,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC;gBACzB,GAAG,EAAE,SAAS;aACjB,CAAC,CAAC;iBACF,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAA;QAC3C,CAAC,CAAC,CAAC;QAEH,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAC,CAAC,SAAS,EAAC,QAAQ,CAAC,EAAC;YAC7C,OAAO,CAAC,SAAS,CAAC,OAAO,CAAC,uDAAuD,CAAC,CAAC;QACvF,CAAC,CAAC,CAAC;QAEH,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC;IACxD,CAAC,CAAAA;AACLA,CAACA,EAxBM,YAAY,KAAZ,YAAY,QAwBlB"} \ No newline at end of file diff --git a/ts/npmts.default.ts b/ts/npmts.default.ts index e69de29..e63e07b 100644 --- a/ts/npmts.default.ts +++ b/ts/npmts.default.ts @@ -0,0 +1,27 @@ +/// + +module NpmtsDefault { + export var init = function() { + plugins.gulp.task("indexTS", function(){ + plugins.gulp.src(paths.indexTS) + .pipe(plugins.gulpTypeScript({ + out: "index.js" + })) + .pipe(plugins.gulp.dest(paths.cwd)) + }); + + plugins.gulp.task("testTS", function(){ + plugins.gulp.src(paths.testTS) + .pipe(plugins.gulpTypeScript({ + out: "test.js" + })) + .pipe(plugins.gulp.dest(paths.cwd)) + }); + + plugins.gulp.task("default",["indexTS","testTS"],function(){ + plugins.beautylog.success("TypeScript for this module was compiled successfully."); + }); + + plugins.gulp.start.apply(plugins.gulp, ['default']); + } +} diff --git a/ts/npmts.paths.js b/ts/npmts.paths.js new file mode 100644 index 0000000..af6b6f2 --- /dev/null +++ b/ts/npmts.paths.js @@ -0,0 +1,12 @@ +/// +var NpmtsPaths; +(function (NpmtsPaths) { + NpmtsPaths.init = function () { + var paths = {}; + paths.cwd = plugins.smartcli.get.cwd().path; + paths.indexTS = plugins.path.join(paths.cwd, "ts/index.ts"); + paths.testTS = plugins.path.join(paths.cwd, "ts/test.ts"); + return paths; + }; +})(NpmtsPaths || (NpmtsPaths = {})); +//# sourceMappingURL=npmts.paths.js.map \ No newline at end of file diff --git a/ts/npmts.paths.js.map b/ts/npmts.paths.js.map new file mode 100644 index 0000000..506d544 --- /dev/null +++ b/ts/npmts.paths.js.map @@ -0,0 +1 @@ +{"version":3,"file":"npmts.paths.js","sourceRoot":"","sources":["npmts.paths.ts"],"names":["NpmtsPaths"],"mappings":"AAAA,mCAAmC;AACnC,IAAO,UAAU,CAQhB;AARD,WAAO,UAAU,EAAC,CAAC;IACJA,eAAIA,GAAGA;QACd,IAAI,KAAK,GAAO,EAAE,CAAC;QACnB,KAAK,CAAC,GAAG,GAAG,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;QAC5C,KAAK,CAAC,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,EAAC,aAAa,CAAC,CAAC;QAC3D,KAAK,CAAC,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,EAAC,YAAY,CAAC,CAAC;QACzD,MAAM,CAAC,KAAK,CAAC;IACjB,CAAC,CAAAA;AACLA,CAACA,EARM,UAAU,KAAV,UAAU,QAQhB"} \ No newline at end of file diff --git a/ts/npmts.paths.ts b/ts/npmts.paths.ts new file mode 100644 index 0000000..a15e173 --- /dev/null +++ b/ts/npmts.paths.ts @@ -0,0 +1,10 @@ +/// +module NpmtsPaths { + export var init = function() { + var paths:any = {}; + paths.cwd = plugins.smartcli.get.cwd().path; + paths.indexTS = plugins.path.join(paths.cwd,"ts/index.ts"); + paths.testTS = plugins.path.join(paths.cwd,"ts/test.ts"); + return paths; + } +} \ No newline at end of file diff --git a/ts/npmts.plugins.js b/ts/npmts.plugins.js new file mode 100644 index 0000000..a1ac4d4 --- /dev/null +++ b/ts/npmts.plugins.js @@ -0,0 +1,15 @@ +/// +var NpmtsPlugins; +(function (NpmtsPlugins) { + NpmtsPlugins.init = function () { + var plugins = { + beautylog: require("beautylog"), + gulp: require("gulp"), + gulpTypeScript: require("gulp-typescript"), + path: require("path"), + smartcli: require("smartcli") + }; + return plugins; + }; +})(NpmtsPlugins || (NpmtsPlugins = {})); +//# sourceMappingURL=npmts.plugins.js.map \ No newline at end of file diff --git a/ts/npmts.plugins.js.map b/ts/npmts.plugins.js.map new file mode 100644 index 0000000..71e1df9 --- /dev/null +++ b/ts/npmts.plugins.js.map @@ -0,0 +1 @@ +{"version":3,"file":"npmts.plugins.js","sourceRoot":"","sources":["npmts.plugins.ts"],"names":["NpmtsPlugins"],"mappings":"AAAA,mCAAmC;AACnC,IAAO,YAAY,CAWlB;AAXD,WAAO,YAAY,EAAC,CAAC;IACNA,iBAAIA,GAAGA;QACd,IAAI,OAAO,GAAG;YACV,SAAS,EAAE,OAAO,CAAC,WAAW,CAAC;YAC/B,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC;YACrB,cAAc,EAAE,OAAO,CAAC,iBAAiB,CAAC;YAC1C,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC;YACrB,QAAQ,EAAE,OAAO,CAAC,UAAU,CAAC;SAChC,CAAC;QACF,MAAM,CAAC,OAAO,CAAC;IACnB,CAAC,CAAAA;AACLA,CAACA,EAXM,YAAY,KAAZ,YAAY,QAWlB"} \ No newline at end of file diff --git a/ts/npmts.plugins.ts b/ts/npmts.plugins.ts new file mode 100644 index 0000000..d8337f4 --- /dev/null +++ b/ts/npmts.plugins.ts @@ -0,0 +1,13 @@ +/// +module NpmtsPlugins { + export var init = function() { + var plugins = { + beautylog: require("beautylog"), + gulp: require("gulp"), + gulpTypeScript: require("gulp-typescript"), + path: require("path"), + smartcli: require("smartcli") + }; + return plugins; + } +} \ No newline at end of file