Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updating grunt-compare-size

  • Loading branch information...
commit 1bbc5091d14728a720ef9b23402b42a8a220b452 1 parent 42a9b6f
@weikinhuang authored
Showing with 7 additions and 3 deletions.
  1. +1 −0  .gitignore
  2. +1 −1  Gruntfile.js
  3. +5 −2 package.json
View
1  .gitignore
@@ -11,5 +11,6 @@
.project
test/dev.html
build/.*.json
+/.sizecache.json
coverage/*
node_modules
View
2  Gruntfile.js
@@ -82,7 +82,7 @@ module.exports = function(grunt) {
grunt.registerTask("default", [ "concat", "jshint", "uglify" ]);
// Other tasks
- grunt.registerTask("all", [ "concat", "jshint", "qunit", "uglify" ]);
+ grunt.registerTask("all", [ "concat", "jshint", "qunit", "uglify", "compare_size" ]);
grunt.registerTask("lint", [ "concat", "jshint" ]);
grunt.registerTask("test", [ "qunit" ]);
grunt.registerTask("coverage", [ "qunit", "qunit-cov" ]);
View
7 package.json
@@ -38,10 +38,13 @@
"grunt-contrib-qunit": "~0.2.0",
"grunt-contrib-uglify": "~0.1.1",
"grunt-contrib-concat": "~0.1.3",
- "grunt-compare-size": "0.3.1",
+ "grunt-compare-size": "~0.4.0",
"grunt-benchmark": "~0.1.3",
"grunt-qunit-cov": "~0.3.2",
"grunt-lib-phantomjs": "~0.2.0",
"grunt-contrib-yuidoc": "~0.4.0"
+ },
+ "scripts": {
+ "test": "grunt all --verbose"
}
-}
+}
Please sign in to comment.
Something went wrong with that request. Please try again.