Skip to content

Commit

Permalink
Minified build with uglifyjs
Browse files Browse the repository at this point in the history
  • Loading branch information
mduvall committed Nov 23, 2013
1 parent 688d9ea commit 5944c98
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
8 changes: 8 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,18 @@ module.exports = function(grunt) {
}
},
all: ["test/**.html"]
},
uglify: {
all: {
files: {
'dist/grande.min.js': ['js/grande.js']
}
}
}
});

grunt.loadNpmTasks("grunt-qunit-istanbul");
grunt.loadNpmTasks("grunt-contrib-uglify");
// @TODO: add lint hook here as well for eslint
grunt.registerTask("travis", "qunit");
};
Expand Down
1 change: 1 addition & 0 deletions dist/grande.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"sinon": "*",
"grunt": "~0.4.1",
"qunitjs": "*",
"grunt-qunit-istanbul": "*"
"grunt-qunit-istanbul": "*",
"grunt-contrib-uglify": "*"
},
"keywords": [
"ui",
Expand Down

0 comments on commit 5944c98

Please sign in to comment.