aboutsummaryrefslogtreecommitdiffstats
path: root/gulpfile.js
diff options
context:
space:
mode:
authorSam Potts <sam@potts.es>2019-06-01 18:45:07 +1000
committerSam Potts <sam@potts.es>2019-06-01 18:45:07 +1000
commitc9055f391b3782d96d16fb6efa4337dc90120635 (patch)
tree6cd7d1fc8627bbe62f4f714a99fe3cd2ec49db09 /gulpfile.js
parent5ddd9e02def654bb677c988403dbefbc4a32787c (diff)
downloadplyr-c9055f391b3782d96d16fb6efa4337dc90120635.tar.lz
plyr-c9055f391b3782d96d16fb6efa4337dc90120635.tar.xz
plyr-c9055f391b3782d96d16fb6efa4337dc90120635.zip
Linting changes
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js24
1 files changed, 16 insertions, 8 deletions
diff --git a/gulpfile.js b/gulpfile.js
index 7711e269..e565c5c0 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -6,24 +6,28 @@
const path = require('path');
const gulp = require('gulp');
-
+// ------------------------------------
// JavaScript
+// ------------------------------------
const terser = require('gulp-terser');
const rollup = require('gulp-better-rollup');
const babel = require('rollup-plugin-babel');
const commonjs = require('rollup-plugin-commonjs');
const resolve = require('rollup-plugin-node-resolve');
-
+// ------------------------------------
// CSS
+// ------------------------------------
const sass = require('gulp-sass');
const clean = require('gulp-clean-css');
const prefix = require('gulp-autoprefixer');
-
+// ------------------------------------
// Images
+// ------------------------------------
const svgstore = require('gulp-svgstore');
const imagemin = require('gulp-imagemin');
-
+// ------------------------------------
// Utils
+// ------------------------------------
const del = require('del');
const filter = require('gulp-filter');
const header = require('gulp-header');
@@ -37,18 +41,22 @@ const plumber = require('gulp-plumber');
const size = require('gulp-size');
const sourcemaps = require('gulp-sourcemaps');
const through = require('through2');
-
+// ------------------------------------
// Deployment
+// ------------------------------------
const aws = require('aws-sdk');
const publish = require('gulp-awspublish');
const FastlyPurge = require('fastly-purge');
-
+// ------------------------------------
+// Configs
+// ------------------------------------
const pkg = require('./package.json');
const build = require('./build.json');
const deploy = require('./deploy.json');
-
+// ------------------------------------
+// Info from package
+// ------------------------------------
const { browserslist: browsers, version } = pkg;
-
const minSuffix = '.min';
// Get AWS config