Skip to content
This repository has been archived by the owner on Jan 23, 2021. It is now read-only.

Commit

Permalink
Update to require at least node 4.0.0. (#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffposnick committed Feb 7, 2017
1 parent 776b059 commit 74ce5ba
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 12 deletions.
5 changes: 4 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
"no-console": 0,
"no-inline-comments": 0,
"space-before-function-paren": [2, "never"],
"require-jsdoc": 0
"require-jsdoc": 0,
"no-var": 0,
"comma-dangle": 0,
"max-len": ["error", { "ignoreComments": true }]
}
}
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
language: node_js
node_js:
- "0.12"
- "4"
- "node"
2 changes: 2 additions & 0 deletions demo/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,11 @@ module.exports = function(grunt) {
}

grunt.registerMultiTask('swPrecache', function() {
/* eslint-disable no-invalid-this */
var done = this.async();
var rootDir = this.data.rootDir;
var handleFetch = this.data.handleFetch;
/* eslint-enable */

writeServiceWorkerFile(rootDir, handleFetch, function(error) {
if (error) {
Expand Down
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,24 @@
"pwa"
],
"engines": {
"node": ">=0.10.0"
"node": ">=4.0.0"
},
"devDependencies": {
"del": "^2.2.2",
"eslint": "^1.10.3",
"eslint-config-google": "^0.3.0",
"express": "^4.14.0",
"gh-pages": "^0.11.0",
"eslint": "^3.15.0",
"eslint-config-google": "^0.7.1",
"express": "^4.14.1",
"gh-pages": "^0.12.0",
"grunt": "^1.0.1",
"gulp": "^3.9.1",
"gulp-doctoc": "^0.1.4",
"gulp-eslint": "^1.0.0",
"gulp-load-plugins": "^1.3.0",
"gulp-eslint": "^3.0.1",
"gulp-load-plugins": "^1.5.0",
"gulp-mocha": "^3.0.1",
"gulp-replace": "^0.5.4",
"gulp-util": "^3.0.7",
"gulp-util": "^3.0.8",
"jade": "^1.11.0",
"mocha": "^3.1.2",
"mocha": "^3.2.0",
"node-fetch": "^1.6.3",
"run-sequence": "^1.2.2"
},
Expand All @@ -48,7 +48,7 @@
"lodash.template": "^4.4.0",
"meow": "^3.7.0",
"mkdirp": "^0.5.1",
"pretty-bytes": "^3.0.1",
"pretty-bytes": "^4.0.2",
"sw-toolbox": "^3.4.0"
},
"repository": "googlechrome/sw-precache",
Expand Down

0 comments on commit 74ce5ba

Please sign in to comment.