Skip to content

Commit

Permalink
Add engine requirement and update dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
tdeekens committed Apr 10, 2016
1 parent 23edfa2 commit 156867d
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
@@ -1,6 +1,6 @@
language: node_js
node_js:
- '0.10'
- '5.9'
before_install:
- npm install -g grunt-cli
- npm link
Expand Down
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -107,3 +107,4 @@ Developing on the task alone is fairly easy just `git clone https://github.com/t
- 0.2.1 Fix breaker getting correct parameters
- 0.2.2 Export raw sizes per extension as devlish values
- 0.2.3 Add support for history in builds with limit in length (builds)
- 1.0.0 Update dependencies and add engine requirements
40 changes: 24 additions & 16 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "grunt-weightwatchsy",
"version": "0.2.3",
"version": "1.0.0",
"description": "A grunt plugin to gather a project's assets' file sizes.",
"scripts": {
"test": "grunt ci-test"
Expand All @@ -9,6 +9,10 @@
"type": "git",
"url": "https://github.com/tdeekens/grunt-weightwatchsy.git"
},
"engines": {
"node": ">= 4.3.0",
"npm": ">= 3.5.0"
},
"keywords": [
"grunt",
"npm",
Expand All @@ -23,25 +27,29 @@
},
"homepage": "https://github.com/tdeekens/grunt-weightwatchsy",
"dependencies": {
"sprint": "^0.3.1",
"lodash": "^2.4.1"
"sprint": "0.3.1",
"lodash": "4.9.0"
},
"devDependencies": {
"chai": "^1.10.0",
"grunt": "^0.4.5",
"grunt-contrib-clean": "^0.6.0",
"grunt-contrib-jshint": "^0.10.0",
"grunt-contrib-nodeunit": "^0.4.1",
"grunt-mocha-cov": "^0.3.0",
"grunt-mocha-test": "^0.12.4",
"grunt-shell": "^1.1.1",
"load-grunt-config": "^0.16.0",
"mocha": "^2.0.1",
"time-grunt": "^1.0.0"
"chai": "3.5.0",
"grunt": "1.0.1",
"grunt-cli": "1.2.0",
"grunt-contrib-clean": "1.0.0",
"grunt-contrib-jshint": "1.0.0",
"grunt-contrib-nodeunit": "1.0.0",
"grunt-mocha-cov": "0.4.0",
"grunt-mocha-test": "0.12.7",
"grunt-shell": "1.2.1",
"load-grunt-config": "firstandthird/load-grunt-config#bc1f14e",
"mocha": "2.4.5",
"time-grunt": "1.3.0"
},
"optionalDependencies": {
"grunt-weightwatchsy": ">=0.2.3"
},
"peerDependencies": {
"grunt": "~0.4.2",
"grunt-cli": "~0.1.1"
"grunt": ">=0.4.0",
"grunt-cli": ">=0.1.13"
},
"config": {
"blanket": {
Expand Down
2 changes: 1 addition & 1 deletion tasks/modules/aggregator.js
Expand Up @@ -98,7 +98,7 @@ Aggregator.prototype.isVariation = function(extension) {
var isVariation = (
_.some(this._variations, function(variation) {
return (
_.contains(extension, variation)
_.includes(extension, variation)
);
})
);
Expand Down
2 changes: 1 addition & 1 deletion tasks/modules/file-analyzer.js
Expand Up @@ -38,7 +38,7 @@ FileAnalyzer.prototype.isExcluded = function(file) {
var extension = this.getExtension(file);

return (
_.contains(this._exclusions, extension)
_.includes(this._exclusions, extension)
);
};

Expand Down
2 changes: 1 addition & 1 deletion test/coverage.html

Large diffs are not rendered by default.

0 comments on commit 156867d

Please sign in to comment.