Browse Source

Merge pull request #1403 from mcspr/gulp4

Update gulp@4
alexa
Xose Pérez 6 years ago
committed by GitHub
parent
commit
3859436fdc
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2299 additions and 942 deletions
  1. +5
    -6
      code/gulpfile.js
  2. +2292
    -931
      code/package-lock.json
  3. +2
    -5
      code/package.json

+ 5
- 6
code/gulpfile.js View File

@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
const gulp = require('gulp'); const gulp = require('gulp');
const runSequence = require('run-sequence');
const through = require('through2'); const through = require('through2');
const htmlmin = require('gulp-htmlmin'); const htmlmin = require('gulp-htmlmin');
@ -191,15 +190,15 @@ gulp.task('webui_all', function() {
return buildWebUI('all'); return buildWebUI('all');
}); });
gulp.task('webui', function(cb) {
runSequence([
gulp.task('webui',
gulp.parallel(
'webui_small', 'webui_small',
'webui_sensor', 'webui_sensor',
'webui_light', 'webui_light',
'webui_rfbridge', 'webui_rfbridge',
'webui_rfm69', 'webui_rfm69',
'webui_all' 'webui_all'
], cb);
});
)
);
gulp.task('default', ['webui']);
gulp.task('default', gulp.series('webui'));

+ 2292
- 931
code/package-lock.json
File diff suppressed because it is too large
View File


+ 2
- 5
code/package.json View File

@ -1,12 +1,11 @@
{ {
"name": "esp8266-filesystem-builder", "name": "esp8266-filesystem-builder",
"version": "0.2.2",
"description": "Gulp based build system for ESP8266 file system files", "description": "Gulp based build system for ESP8266 file system files",
"main": "gulpfile.js", "main": "gulpfile.js",
"author": "Xose Pérez <xose.perez@gmail.com>", "author": "Xose Pérez <xose.perez@gmail.com>",
"license": "GPL-3.0", "license": "GPL-3.0",
"devDependencies": { "devDependencies": {
"gulp": "^3.9.1",
"gulp": "^4.0.0",
"gulp-base64-favicon": "^1.0.2", "gulp-base64-favicon": "^1.0.2",
"gulp-crass": "^0.2.2", "gulp-crass": "^0.2.2",
"gulp-css-base64": "^1.3.4", "gulp-css-base64": "^1.3.4",
@ -17,8 +16,6 @@
"gulp-inline": "^0.1.1", "gulp-inline": "^0.1.1",
"gulp-remove-code": "^3.0.4", "gulp-remove-code": "^3.0.4",
"gulp-rename": "^1.4.0", "gulp-rename": "^1.4.0",
"gulp-replace": "^1.0.0",
"map-stream": "0.0.7",
"run-sequence": "^2.2.1"
"gulp-replace": "^1.0.0"
} }
} }

Loading…
Cancel
Save