now working
This commit is contained in:
parent
71f8d14ee9
commit
e1419d85cc
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
.idea/
|
||||
.c9/
|
||||
node_modules/
|
||||
test/node_modules
|
5
index.js
5
index.js
@ -10,7 +10,6 @@ var plugins = {
|
||||
};
|
||||
var paths = {};
|
||||
paths.cwd = plugins.smartcli.get.cwd().path;
|
||||
console.log(paths.cwd);
|
||||
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 () {
|
||||
@ -27,3 +26,7 @@ plugins.gulp.task("indexTS", function () {
|
||||
}))
|
||||
.pipe(plugins.gulp.dest(paths.cwd));
|
||||
});
|
||||
plugins.gulp.task("default", [], function () {
|
||||
plugins.beautylog.success("TypeScript for this module was compiled successfully.");
|
||||
});
|
||||
plugins.gulp.start.apply(plugins.gulp, ['default']);
|
||||
|
10
test/node_modules/npmts/package.json
generated
vendored
10
test/node_modules/npmts/package.json
generated
vendored
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "npmts",
|
||||
"version": "0.0.3",
|
||||
"version": "0.0.4",
|
||||
"description": "write npm modules with TypeScript",
|
||||
"main": "index.js",
|
||||
"bin": {
|
||||
@ -34,9 +34,9 @@
|
||||
"gulp-typescript": "^2.10.0",
|
||||
"smartcli": "0.0.11"
|
||||
},
|
||||
"gitHead": "a1146e4c79f5e97f51d540c82a2307b3cd5ba9b0",
|
||||
"gitHead": "71f8d14ee96af237e658b400e3bdaa33fdff7785",
|
||||
"readme": "ERROR: No README data found!",
|
||||
"_id": "npmts@0.0.3",
|
||||
"_shasum": "f845bce63cb3c5185e995c9e55222fb4e187a7e5",
|
||||
"_from": "npmts@0.0.3"
|
||||
"_id": "npmts@0.0.4",
|
||||
"_shasum": "fe9f1bec27aba50fd16f45c3c7053072c860dcd6",
|
||||
"_from": "npmts@0.0.4"
|
||||
}
|
||||
|
@ -8,7 +8,6 @@ var plugins = {
|
||||
};
|
||||
var paths = {};
|
||||
paths.cwd = plugins.smartcli.get.cwd().path;
|
||||
console.log(paths.cwd);
|
||||
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 () {
|
||||
@ -25,4 +24,8 @@ plugins.gulp.task("indexTS", function () {
|
||||
}))
|
||||
.pipe(plugins.gulp.dest(paths.cwd));
|
||||
});
|
||||
plugins.gulp.task("default", [], function () {
|
||||
plugins.beautylog.success("TypeScript for this module was compiled successfully.");
|
||||
});
|
||||
plugins.gulp.start.apply(plugins.gulp, ['default']);
|
||||
//# sourceMappingURL=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,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;AACvB,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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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,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,EAAE,EAAC;IAC5B,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"}
|
@ -9,7 +9,6 @@ var plugins = {
|
||||
|
||||
var paths:any = {};
|
||||
paths.cwd = plugins.smartcli.get.cwd().path;
|
||||
console.log(paths.cwd);
|
||||
paths.indexTS = plugins.path.join(paths.cwd,"ts/index.ts");
|
||||
paths.testTS = plugins.path.join(paths.cwd,"ts/test.ts");
|
||||
|
||||
@ -28,3 +27,9 @@ plugins.gulp.task("indexTS", function(){
|
||||
}))
|
||||
.pipe(plugins.gulp.dest(paths.cwd))
|
||||
});
|
||||
|
||||
plugins.gulp.task("default",[],function(){
|
||||
plugins.beautylog.success("TypeScript for this module was compiled successfully.");
|
||||
});
|
||||
|
||||
plugins.gulp.start.apply(plugins.gulp, ['default']);
|
Loading…
Reference in New Issue
Block a user