mirror of
https://github.com/Joxit/docker-registry-ui.git
synced 2026-07-10 08:29:17 +00:00
[dependencies] Upgrade packages dependencies
This commit is contained in:
@@ -14,7 +14,7 @@ var uglify = require('uglify-js-harmony');
|
||||
var useref = require('gulp-useref');
|
||||
|
||||
gulp.task('html', function() {
|
||||
var htmlFilter = filter('**/*.html');
|
||||
var htmlFilter = filter('**/*.html', {restore: true});
|
||||
return gulp.src(['src/index.html'])
|
||||
.pipe(useref())
|
||||
.pipe(gIf(['*.js', '!*.min.js'], minifier({}, uglify))) // FIXME
|
||||
@@ -26,12 +26,12 @@ gulp.task('html', function() {
|
||||
removeEmptyAttributes: true,
|
||||
minifyJS: uglify
|
||||
}))
|
||||
.pipe(htmlFilter.restore())
|
||||
.pipe(htmlFilter.restore)
|
||||
.pipe(gulp.dest('dist'));
|
||||
});
|
||||
|
||||
gulp.task('clean', function(done) {
|
||||
del(['dist'], done);
|
||||
return del(['dist']);
|
||||
});
|
||||
|
||||
gulp.task('riot-tag', ['html'], function() {
|
||||
|
||||
14
package.json
14
package.json
@@ -14,21 +14,23 @@
|
||||
"dependencies": {
|
||||
},
|
||||
"devDependencies": {
|
||||
"del": "^0.1.3",
|
||||
"del": "^3.0.0",
|
||||
"dialog-polyfill": "^0.4",
|
||||
"gulp": "^3.9",
|
||||
"gulp-clean-css": "^3.7.0",
|
||||
"gulp-concat": "^2.6.0",
|
||||
"gulp-filter": "^1.0.0",
|
||||
"gulp-htmlmin": "^2.0.0",
|
||||
"gulp-filter": "^5.0.1",
|
||||
"gulp-htmlmin": "^3.0.0",
|
||||
"gulp-if": "^2.0.0",
|
||||
"gulp-license": "^1.1.0",
|
||||
"gulp-clean-css": "^2.0.11",
|
||||
"gulp-riot": "^0.5.2",
|
||||
"gulp-uglify": "^1.0.0",
|
||||
"gulp-uglify": "^2.1.2",
|
||||
"gulp-useref": "^3.0.0",
|
||||
"material-design-lite": "^1.1",
|
||||
"pump": "^1.0.2",
|
||||
"riot": "^2.3",
|
||||
"riotgear-router": "^1.3.1",
|
||||
"uglify-js-harmony": "^2.6.2"
|
||||
"uglify-js": "^3.0.28",
|
||||
"uglify-js-harmony": "^2.7.7"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user