Skip to content
This repository has been archived by the owner on May 3, 2020. It is now read-only.

Commit

Permalink
feat(package): Blindly upgrade our dependencies for the new year and …
Browse files Browse the repository at this point in the history
…support node@10, node@12 and beyond.

At least it'll get tested...
  • Loading branch information
randytarampi committed Jan 6, 2020
1 parent df90381 commit 03e0d05
Show file tree
Hide file tree
Showing 6 changed files with 16,470 additions and 2,746 deletions.
10 changes: 9 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,18 @@ language: node_js
notifications:
email: false
dist: xenial
matrix:
fast_finish: true
allow_failures:
- node_js: 6
- node_js: node
- node_js: lts/*
node_js:
- 8
- 6
- 8
- 10
- 12
- lts/*
- node
before_script:
- npm run pretest
Expand Down
2 changes: 1 addition & 1 deletion bin/pwa-asset-generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ commander
.option("--splash <splashInputImagePath>", "Path to a distinct splash screen source image")
.option("-f --format <outputImageFormat>", "Generate files for a particular file format {png|jpeg|jpg|tiff|webp}",
/^(png|jpeg|jpg|tiff|webp)$/gm)
.action((inputImagePath, outputImageDirectoryPath) => {
.action((commander, [inputImagePath, outputImageDirectoryPath] = []) => {
if (typeof inputImagePath !== "string") {
commander.help();
process.exit(1);
Expand Down
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ gulp.task("eslint", () => {
const eslint = require("gulp-eslint");
const gulpIf = require("gulp-if");

return gulp.src(["**/*.js"])
return gulp.src(["**/*.js", "!node_modules/**"])
.pipe(eslint({fix: true, ignorePath: path.join(__dirname, ".eslintignore")}))
.pipe(eslint.format())
.pipe(gulpIf(isFixed, gulp.dest("./")))
Expand Down

0 comments on commit 03e0d05

Please sign in to comment.