package: update dependency versions
This commit is contained in:
parent
927bee82f7
commit
c04946073f
|
@ -27,17 +27,17 @@
|
||||||
"commondir": "0.0.1",
|
"commondir": "0.0.1",
|
||||||
"debug": "^2.0.0",
|
"debug": "^2.0.0",
|
||||||
"lodash.clonedeep": "^2.4.1",
|
"lodash.clonedeep": "^2.4.1",
|
||||||
"semver": "^2.3.0",
|
"semver": "^4.1.0",
|
||||||
"toposort": "^0.2.10",
|
"toposort": "^0.2.10",
|
||||||
"underscore": "^1.6.0"
|
"underscore": "^1.6.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"browserify": "^4.1.8",
|
"browserify": "^6.1.0",
|
||||||
"fs-extra": "^0.10.0",
|
"fs-extra": "^0.12.0",
|
||||||
"jshint": "^2.5.6",
|
"jshint": "^2.5.6",
|
||||||
"loopback": "^2.5.0",
|
"loopback": "^2.5.0",
|
||||||
"mocha": "^1.19.0",
|
"mocha": "^1.19.0",
|
||||||
"must": "^0.12.0",
|
"must": "^0.12.0",
|
||||||
"supertest": "^0.13.0"
|
"supertest": "^0.14.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,6 +33,7 @@ describe('browser support', function() {
|
||||||
function browserifyTestApp(appDir, next) {
|
function browserifyTestApp(appDir, next) {
|
||||||
var b = browserify({
|
var b = browserify({
|
||||||
basedir: appDir,
|
basedir: appDir,
|
||||||
|
debug: true
|
||||||
});
|
});
|
||||||
b.require('./app.js', { expose: 'browser-app' });
|
b.require('./app.js', { expose: 'browser-app' });
|
||||||
|
|
||||||
|
@ -40,7 +41,7 @@ function browserifyTestApp(appDir, next) {
|
||||||
|
|
||||||
var bundlePath = sandbox.resolve('browser-app-bundle.js');
|
var bundlePath = sandbox.resolve('browser-app-bundle.js');
|
||||||
var out = fs.createWriteStream(bundlePath);
|
var out = fs.createWriteStream(bundlePath);
|
||||||
b.bundle({ debug: true }).pipe(out);
|
b.bundle().pipe(out);
|
||||||
|
|
||||||
out.on('error', function(err) { return next(err); });
|
out.on('error', function(err) { return next(err); });
|
||||||
out.on('close', function() {
|
out.on('close', function() {
|
||||||
|
|
Loading…
Reference in New Issue