Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
5ee39fc04d | |||
40254e394e | |||
9306dcf0a1 | |||
9b6609a2e5 | |||
943fcf8634 |
@ -1,8 +1,6 @@
|
|||||||
language: node_js
|
language: node_js
|
||||||
node_js:
|
node_js:
|
||||||
- '4.1'
|
- '4.2.4'
|
||||||
before_install:
|
|
||||||
- npm install -g tsd
|
|
||||||
deploy:
|
deploy:
|
||||||
provider: npm
|
provider: npm
|
||||||
email: npm@lossless.digital
|
email: npm@lossless.digital
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "gulp-browser",
|
"name": "gulp-browser",
|
||||||
"version": "1.0.5",
|
"version": "1.0.7",
|
||||||
"description": "browserify and other goodies for gulp",
|
"description": "browserify and other goodies for gulp",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@ -25,14 +25,14 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://github.com/pushrocks/gulp-browser",
|
"homepage": "https://github.com/pushrocks/gulp-browser",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"beautylog": "2.0.4",
|
"beautylog": "2.0.6",
|
||||||
"browserify": "13.0.0",
|
"browserify": "13.0.0",
|
||||||
"gulp-util": "3.0.7",
|
"gulp-util": "3.0.7",
|
||||||
"through2": "2.0.0"
|
"through2": "2.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"gulp": "3.9.0",
|
"gulp": "3.9.0",
|
||||||
"gulp-callfunction": "0.0.10",
|
"gulp-function": "1.0.2",
|
||||||
"npmts": "^2.0.2"
|
"npmts": "^2.0.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,7 @@ var plugins = {
|
|||||||
beautylog: require("beautylog"),
|
beautylog: require("beautylog"),
|
||||||
gulp: require("gulp"),
|
gulp: require("gulp"),
|
||||||
gulpBrowser: require("../index.js"),
|
gulpBrowser: require("../index.js"),
|
||||||
gulpCallFunction: require("gulp-callfunction")
|
gulpFunction: require("gulp-function")
|
||||||
};
|
};
|
||||||
describe("gulpBrowser", function () {
|
describe("gulpBrowser", function () {
|
||||||
describe(".browserify", function () {
|
describe(".browserify", function () {
|
||||||
@ -13,7 +13,7 @@ describe("gulpBrowser", function () {
|
|||||||
var stream = plugins.gulp.src('./test/browserifyGulpTest.js')
|
var stream = plugins.gulp.src('./test/browserifyGulpTest.js')
|
||||||
.pipe(plugins.gulpBrowser.browserify())
|
.pipe(plugins.gulpBrowser.browserify())
|
||||||
.pipe(plugins.gulp.dest("./test/result/"))
|
.pipe(plugins.gulp.dest("./test/result/"))
|
||||||
.pipe(plugins.gulpCallFunction(done));
|
.pipe(plugins.gulpFunction(done));
|
||||||
return stream;
|
return stream;
|
||||||
});
|
});
|
||||||
plugins.gulp.start.apply(plugins.gulp, ['gulpBrowserNormal']);
|
plugins.gulp.start.apply(plugins.gulp, ['gulpBrowserNormal']);
|
||||||
|
@ -3,18 +3,18 @@ var plugins = {
|
|||||||
beautylog: require("beautylog"),
|
beautylog: require("beautylog"),
|
||||||
gulp: require("gulp"),
|
gulp: require("gulp"),
|
||||||
gulpBrowser: require("../index.js"),
|
gulpBrowser: require("../index.js"),
|
||||||
gulpCallFunction: require("gulp-callfunction")
|
gulpFunction: require("gulp-function")
|
||||||
};
|
};
|
||||||
|
|
||||||
describe("gulpBrowser",function(){
|
describe("gulpBrowser",function(){
|
||||||
describe(".browserify",function(){
|
describe(".browserify",function(){
|
||||||
it("should run through smoothly",function(done){
|
it("should run through smoothly",function(done){
|
||||||
this.timeout(15000);
|
this.timeout(20000);
|
||||||
plugins.gulp.task('gulpBrowserNormal',function(cb) {
|
plugins.gulp.task('gulpBrowserNormal',function(cb) {
|
||||||
var stream = plugins.gulp.src('./test/browserifyGulpTest.js')
|
var stream = plugins.gulp.src('./test/browserifyGulpTest.js')
|
||||||
.pipe(plugins.gulpBrowser.browserify())
|
.pipe(plugins.gulpBrowser.browserify())
|
||||||
.pipe(plugins.gulp.dest("./test/result/"))
|
.pipe(plugins.gulp.dest("./test/result/"))
|
||||||
.pipe(plugins.gulpCallFunction(done));
|
.pipe(plugins.gulpFunction(done));
|
||||||
return stream;
|
return stream;
|
||||||
});
|
});
|
||||||
plugins.gulp.start.apply(plugins.gulp, ['gulpBrowserNormal']);
|
plugins.gulp.start.apply(plugins.gulp, ['gulpBrowserNormal']);
|
||||||
@ -26,6 +26,6 @@ plugins.gulp.task('gulpBrowserTestError',function(cb) {
|
|||||||
plugins.beautylog.info("Expecting an error:");
|
plugins.beautylog.info("Expecting an error:");
|
||||||
var stream = plugins.gulp.src('./test/browserifyGulpTestError.js')
|
var stream = plugins.gulp.src('./test/browserifyGulpTestError.js')
|
||||||
.pipe(plugins.gulpBrowser.browserify())
|
.pipe(plugins.gulpBrowser.browserify())
|
||||||
.pipe(plugins.gulp.dest("./test/result/"))
|
.pipe(plugins.gulp.dest("./test/result/"));
|
||||||
return stream;
|
return stream;
|
||||||
});
|
});
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"ambientDependencies": {
|
"ambientDependencies": {
|
||||||
"browserify": "github:DefinitelyTyped/DefinitelyTyped/browserify/browserify.d.ts#3191f6e0088eee07c4d8fd24e4d27a40a60d9eb9",
|
"browserify": "github:DefinitelyTyped/DefinitelyTyped/browserify/browserify.d.ts",
|
||||||
"mocha": "github:Bartvds/tsd-deftools/typings/DefinitelyTyped/mocha/mocha.d.ts",
|
"mocha": "github:Bartvds/tsd-deftools/typings/DefinitelyTyped/mocha/mocha.d.ts",
|
||||||
"node": "github:DefinitelyTyped/DefinitelyTyped/node/node.d.ts#3191f6e0088eee07c4d8fd24e4d27a40a60d9eb9"
|
"node": "github:DefinitelyTyped/DefinitelyTyped/node/node.d.ts"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user