Compare commits
9 Commits
Author | SHA1 | Date | |
---|---|---|---|
870d24701c | |||
d12a09d3d8 | |||
2a4811ccb0 | |||
146b9cf683 | |||
9110a6701d | |||
3101af3726 | |||
20283c6cda | |||
814542e9cd | |||
bea8a50f0b |
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,4 +1,6 @@
|
|||||||
.idea/
|
.idea/
|
||||||
.c9/
|
.c9/
|
||||||
node_modules/
|
node_modules/
|
||||||
test/node_modules
|
test/node_modules
|
||||||
|
ts/*.js
|
||||||
|
ts/*.js.map
|
11
.travis.yml
Normal file
11
.travis.yml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
language: node_js
|
||||||
|
node_js:
|
||||||
|
- "4.2.4"
|
||||||
|
deploy:
|
||||||
|
provider: npm
|
||||||
|
email: npm@lossless.digital
|
||||||
|
api_key:
|
||||||
|
secure: k075QdAcmEdmAoVaP5vclLnZmhbZB39v85VIUMWAKXbIAU+liHrYZRlIEYfAaIUrf6sha+zAo/U/vjAN7c5ArB7J/HjCLJ3lsi2fWtaSRlYQrYX9/EhU0S+YZjRE8Jrn4hGTcce6I2mANBnEzvzlXrlKaqVvSqOqTO9nJ5aDBCGa5XT3EwlHKkRlAlL3ZOLrRg38R343E8ifZBsbn9G0e+RgDt0sic3WD8NME9lpsQ/99UZKH00duHbhF9nme5Sjdh86y01hvsaBf+CLR4gfS2IntnrCSrZbETFrsOBUyMnJZDQ3qlrjcEaiTkpJ4iSIqr+ftwGMMD6S1MxCTPqkp64UIeMz2Tg41HqoaeIg7z8cF0APv6M9ZAdWhsU43GqsMe70dK900JZpQAkQxMf/6NpPpGfZug6TwqLYSIRzvjvNrhYfuyoGfXdAxrM3SJMkIq6rwE+T/y36kZaC3CrQRyNZypNz0vW1M9HLjJUi2vO0U/CDn8tvi1p6ChrDXDfV3H2UIAMHFlAF+GrT7dMWwD+p+d8mc9gpAFEF9zMqAIJamPhwboJxoHjKQrqrq5czNm75ETL77AzfnU6CfQlG5dTIFnGId8y0ZxXvtpBruDoyC1+ZF23MYZmb+ipxQZM2oLCjNLeL3aEePc/JlSm6Gn8w3sIkZTG261F0XZxdApw=
|
||||||
|
on:
|
||||||
|
tags: true
|
||||||
|
repo: pushrocks/npmts
|
18
README.md
18
README.md
@ -19,13 +19,27 @@ Then use it in package.json's script section to trigger a build:
|
|||||||
```
|
```
|
||||||
|
|
||||||
### Default behaviour
|
### Default behaviour
|
||||||
by default npmts looks for an `./ts/index.ts` and a `./ts/test.ts` that will compile to
|
by default npmts looks for `./ts/index.ts` and `./ts/test.ts` that will compile to
|
||||||
`./index.js` and `./test.js`
|
`./index.js` and `./test.js`
|
||||||
|
|
||||||
|
#### Declaration files
|
||||||
|
**npmts** also creates an `index.d.ts` declaration file by default.
|
||||||
|
You can reference it in your package.json like this:
|
||||||
|
|
||||||
|
```json
|
||||||
|
"main": "index.js",
|
||||||
|
"typings": "./index.d.ts",
|
||||||
|
```
|
||||||
|
|
||||||
|
When requiring the module from other TypeScript files,
|
||||||
|
the TypeScript Compiler will use the declaration file to resolve typings.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Custom behaviour
|
### Custom behaviour
|
||||||
We are currently building support for custom behaviour with a super simple config file.
|
We are currently building support for custom behaviour with a super simple config file.
|
||||||
Check back soon.
|
Check back soon.
|
||||||
|
|
||||||
## Readme for Devs
|
## Readme for Devs
|
||||||
There is a [README-dev.md](README-dev.md) in the repo.
|
There is a [README-dev.md](README-dev.md) in the repo.
|
||||||
This is only of interest for you if are looking to improve or build upon this package.
|
This is only of interest for you when looking to contribute to, improve or build upon this package.
|
@ -1,25 +1,35 @@
|
|||||||
// import gulp
|
// import gulp
|
||||||
var gulp = require("gulp");
|
|
||||||
var gulpTypescript = require("gulp-typescript");
|
|
||||||
var gulpInsert = require("gulp-insert");
|
|
||||||
var plugins = {
|
var plugins = {
|
||||||
beautylog: require("beautylog")
|
beautylog: require("beautylog"),
|
||||||
|
gulp: require("gulp"),
|
||||||
|
g:{
|
||||||
|
typescript: require("gulp-typescript"),
|
||||||
|
insert: require("gulp-insert")
|
||||||
|
},
|
||||||
|
mergeStream: require("merge2")
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
plugins.beautylog.log('now compiling the mojo.io gulp tasks');
|
plugins.beautylog.log('now compiling the mojo.io gulp tasks');
|
||||||
|
|
||||||
gulp.task('indexTS', function() {
|
plugins.gulp.task('indexTS', function() {
|
||||||
var stream = gulp.src('../ts/index.ts')
|
var tsResult = plugins.gulp.src('../ts/index.ts')
|
||||||
.pipe(gulpTypescript({
|
.pipe(plugins.g.typescript({
|
||||||
out: "index.js"
|
out:"index.js",
|
||||||
}))
|
declaration:true
|
||||||
.pipe(gulpInsert.prepend('#!/usr/bin/env node\n\n'))
|
}));
|
||||||
.pipe(gulp.dest("../"));
|
|
||||||
return stream;
|
return plugins.mergeStream([
|
||||||
|
tsResult.dts.pipe(plugins.gulp.dest('../')),
|
||||||
|
tsResult.js
|
||||||
|
.pipe(plugins.g.insert.prepend('#!/usr/bin/env node\n\n'))
|
||||||
|
.pipe(plugins.gulp.dest('../'))
|
||||||
|
]);
|
||||||
});
|
});
|
||||||
|
|
||||||
gulp.task('default',['indexTS'], function() {
|
plugins.gulp.task('default',['indexTS'], function() {
|
||||||
plugins.beautylog.success('Typescript compiled');
|
plugins.beautylog.success('Typescript compiled');
|
||||||
});
|
});
|
||||||
|
|
||||||
gulp.start.apply(gulp, ['default']);
|
plugins.gulp.start.apply(plugins.gulp, ['default']);
|
32
index.d.ts
vendored
Normal file
32
index.d.ts
vendored
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
/// <reference path="../ts/typings/tsd.d.ts" />
|
||||||
|
declare module NpmtsPlugins {
|
||||||
|
var init: () => {
|
||||||
|
beautylog: any;
|
||||||
|
gulp: any;
|
||||||
|
g: {
|
||||||
|
typescript: any;
|
||||||
|
insert: any;
|
||||||
|
};
|
||||||
|
mergeStream: any;
|
||||||
|
path: any;
|
||||||
|
smartcli: any;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
declare module NpmtsPaths {
|
||||||
|
var init: () => any;
|
||||||
|
}
|
||||||
|
declare module NpmtsDefault {
|
||||||
|
var init: () => void;
|
||||||
|
}
|
||||||
|
declare var plugins: {
|
||||||
|
beautylog: any;
|
||||||
|
gulp: any;
|
||||||
|
g: {
|
||||||
|
typescript: any;
|
||||||
|
insert: any;
|
||||||
|
};
|
||||||
|
mergeStream: any;
|
||||||
|
path: any;
|
||||||
|
smartcli: any;
|
||||||
|
};
|
||||||
|
declare var paths: any;
|
24
index.js
24
index.js
@ -7,7 +7,11 @@ var NpmtsPlugins;
|
|||||||
var plugins = {
|
var plugins = {
|
||||||
beautylog: require("beautylog"),
|
beautylog: require("beautylog"),
|
||||||
gulp: require("gulp"),
|
gulp: require("gulp"),
|
||||||
gulpTypeScript: require("gulp-typescript"),
|
g: {
|
||||||
|
typescript: require("gulp-typescript"),
|
||||||
|
insert: require("gulp-insert")
|
||||||
|
},
|
||||||
|
mergeStream: require("merge2"),
|
||||||
path: require("path"),
|
path: require("path"),
|
||||||
smartcli: require("smartcli")
|
smartcli: require("smartcli")
|
||||||
};
|
};
|
||||||
@ -32,15 +36,21 @@ var NpmtsDefault;
|
|||||||
(function (NpmtsDefault) {
|
(function (NpmtsDefault) {
|
||||||
NpmtsDefault.init = function () {
|
NpmtsDefault.init = function () {
|
||||||
plugins.gulp.task("indexTS", function () {
|
plugins.gulp.task("indexTS", function () {
|
||||||
plugins.gulp.src(paths.indexTS)
|
var tsResult = plugins.gulp.src(paths.indexTS)
|
||||||
.pipe(plugins.gulpTypeScript({
|
.pipe(plugins.g.typescript({
|
||||||
out: "index.js"
|
out: "index.js",
|
||||||
}))
|
declaration: true
|
||||||
.pipe(plugins.gulp.dest(paths.cwd));
|
}));
|
||||||
|
return plugins.mergeStream([
|
||||||
|
tsResult.dts.pipe(plugins.gulp.dest(paths.cwd)),
|
||||||
|
tsResult.js
|
||||||
|
.pipe(plugins.g.insert.prepend('#!/usr/bin/env node\n\n'))
|
||||||
|
.pipe(plugins.gulp.dest(paths.cwd))
|
||||||
|
]);
|
||||||
});
|
});
|
||||||
plugins.gulp.task("testTS", function () {
|
plugins.gulp.task("testTS", function () {
|
||||||
plugins.gulp.src(paths.testTS)
|
plugins.gulp.src(paths.testTS)
|
||||||
.pipe(plugins.gulpTypeScript({
|
.pipe(plugins.g.typescript({
|
||||||
out: "test.js"
|
out: "test.js"
|
||||||
}))
|
}))
|
||||||
.pipe(plugins.gulp.dest(paths.cwd));
|
.pipe(plugins.gulp.dest(paths.cwd));
|
||||||
|
18
package.json
18
package.json
@ -1,15 +1,16 @@
|
|||||||
{
|
{
|
||||||
"name": "npmts",
|
"name": "npmts",
|
||||||
"version": "1.0.3",
|
"version": "1.0.8",
|
||||||
"description": "write npm modules with TypeScript",
|
"description": "write npm modules with TypeScript",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
|
"typings": "./index.d.ts",
|
||||||
"bin": {
|
"bin": {
|
||||||
"npmts": "index.js"
|
"npmts": "./index.js"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "(cd compile && node compile.js)",
|
"test": "(cd compile && node compile.js)",
|
||||||
"release": "(git add -A && git commit -m 'update' && git push origin master && npm version patch && npm publish)",
|
"release": "(git add -A && git commit -m 'update' && git push origin master && npm version patch && npm publish)",
|
||||||
"testm": "(cd test/ && npm update && npm test)"
|
"testm": "(cd test/ && node ../index.js)"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@ -26,10 +27,13 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://github.com/pushrocks/npmts#readme",
|
"homepage": "https://github.com/pushrocks/npmts#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"beautylog": "^2.0.2",
|
"beautylog": "2.0.2",
|
||||||
"gulp": "^3.9.0",
|
"gulp": "3.9.0",
|
||||||
"gulp-insert": "^0.5.0",
|
"gulp-insert": "0.5.0",
|
||||||
"gulp-typescript": "^2.10.0",
|
"gulp-sequence": "^0.4.4",
|
||||||
|
"gulp-tsd": "^0.1.0",
|
||||||
|
"gulp-typescript": "2.10.0",
|
||||||
|
"merge2": "0.3.6",
|
||||||
"smartcli": "0.0.11"
|
"smartcli": "0.0.11"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
(function () {
|
|
||||||
console.log("test");
|
|
||||||
}());
|
|
10
ts/index.js
10
ts/index.js
@ -1,10 +0,0 @@
|
|||||||
/// <reference path="./typings/tsd.d.ts" />
|
|
||||||
/// <reference path="./npmts.plugins.ts" />
|
|
||||||
/// <reference path="./npmts.cli.ts" />
|
|
||||||
/// <reference path="./npmts.paths.ts" />
|
|
||||||
/// <reference path="./npmts.custom.ts" />
|
|
||||||
/// <reference path="./npmts.default.ts" />
|
|
||||||
var plugins = NpmtsPlugins.init();
|
|
||||||
var paths = NpmtsPaths.init();
|
|
||||||
NpmtsDefault.init();
|
|
||||||
//# sourceMappingURL=index.js.map
|
|
@ -1 +0,0 @@
|
|||||||
{"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"}
|
|
@ -1,2 +0,0 @@
|
|||||||
/// <reference path="./index.ts" />
|
|
||||||
//# sourceMappingURL=npmts.cli.js.map
|
|
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"npmts.cli.js","sourceRoot":"","sources":["npmts.cli.ts"],"names":[],"mappings":"AAAA,mCAAmC"}
|
|
@ -1,2 +0,0 @@
|
|||||||
/// <reference path="./index.ts" />
|
|
||||||
//# sourceMappingURL=npmts.custom.js.map
|
|
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"npmts.custom.js","sourceRoot":"","sources":["npmts.custom.ts"],"names":[],"mappings":"AAAA,mCAAmC"}
|
|
@ -1,25 +0,0 @@
|
|||||||
/// <reference path="./index.ts" />
|
|
||||||
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
|
|
@ -1 +0,0 @@
|
|||||||
{"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"}
|
|
@ -2,23 +2,39 @@
|
|||||||
|
|
||||||
module NpmtsDefault {
|
module NpmtsDefault {
|
||||||
export var init = function() {
|
export var init = function() {
|
||||||
plugins.gulp.task("indexTS", function(){
|
plugins.gulp.task("defaultTsd",function(cb){
|
||||||
plugins.gulp.src(paths.indexTS)
|
plugins.g.tsd({
|
||||||
.pipe(plugins.gulpTypeScript({
|
command: 'reinstall',
|
||||||
out: "index.js"
|
config: paths.tsd
|
||||||
}))
|
}, cb);
|
||||||
.pipe(plugins.gulp.dest(paths.cwd))
|
|
||||||
});
|
});
|
||||||
|
|
||||||
plugins.gulp.task("testTS", function(){
|
|
||||||
|
plugins.gulp.task("defaultIndexTS", function(){
|
||||||
|
var tsResult = plugins.gulp.src(paths.indexTS)
|
||||||
|
.pipe(plugins.g.typescript({
|
||||||
|
out:"index.js",
|
||||||
|
declaration:true
|
||||||
|
}));
|
||||||
|
|
||||||
|
return plugins.mergeStream([
|
||||||
|
tsResult.dts.pipe(plugins.gulp.dest(paths.cwd)),
|
||||||
|
tsResult.js
|
||||||
|
.pipe(plugins.g.insert.prepend('#!/usr/bin/env node\n\n'))
|
||||||
|
.pipe(plugins.gulp.dest(paths.cwd))
|
||||||
|
]);
|
||||||
|
});
|
||||||
|
|
||||||
|
plugins.gulp.task("defaultTestTS", function(){
|
||||||
plugins.gulp.src(paths.testTS)
|
plugins.gulp.src(paths.testTS)
|
||||||
.pipe(plugins.gulpTypeScript({
|
.pipe(plugins.g.typescript({
|
||||||
out: "test.js"
|
out: "test.js"
|
||||||
}))
|
}))
|
||||||
.pipe(plugins.gulp.dest(paths.cwd))
|
.pipe(plugins.gulp.dest(paths.cwd))
|
||||||
});
|
});
|
||||||
|
|
||||||
plugins.gulp.task("default",["indexTS","testTS"],function(){
|
plugins.gulp.task("default",function(cb){
|
||||||
|
plugins.g.sequence("defaultTsd","defaultIndexTS","defaultTestTS");
|
||||||
plugins.beautylog.success("TypeScript for this module was compiled successfully.");
|
plugins.beautylog.success("TypeScript for this module was compiled successfully.");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
/// <reference path="./index.ts" />
|
|
||||||
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
|
|
@ -1 +0,0 @@
|
|||||||
{"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"}
|
|
@ -1,15 +0,0 @@
|
|||||||
/// <reference path="./index.ts" />
|
|
||||||
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
|
|
@ -1 +0,0 @@
|
|||||||
{"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"}
|
|
@ -4,7 +4,14 @@ module NpmtsPlugins {
|
|||||||
var plugins = {
|
var plugins = {
|
||||||
beautylog: require("beautylog"),
|
beautylog: require("beautylog"),
|
||||||
gulp: require("gulp"),
|
gulp: require("gulp"),
|
||||||
gulpTypeScript: require("gulp-typescript"),
|
g: {
|
||||||
|
insert: require("gulp-insert"),
|
||||||
|
sequence: require("gulp-sequence"),
|
||||||
|
tsd: require("gulp-tsd"),
|
||||||
|
typescript: require("gulp-typescript")
|
||||||
|
|
||||||
|
},
|
||||||
|
mergeStream: require("merge2"),
|
||||||
path: require("path"),
|
path: require("path"),
|
||||||
smartcli: require("smartcli")
|
smartcli: require("smartcli")
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user