Skip to content

Commit

Permalink
add grunt
Browse files Browse the repository at this point in the history
  • Loading branch information
lukehaas committed Nov 4, 2016
1 parent 5e8e834 commit 555ae69
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 30 deletions.
14 changes: 14 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module.exports = function(grunt) {
grunt.initConfig({
uglify: {
scrollify: {
files: {
'jquery.scrollify.min.js': 'jquery.scrollify.js'
}
}
}
});
grunt.loadNpmTasks('grunt-contrib-uglify');

grunt.registerTask('default', ['uglify']);
};
30 changes: 1 addition & 29 deletions jquery.scrollify.min.js

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

6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,9 @@
"url": "https://github.com/lukehaas/Scrollify/issues"
},
"demo": "http://projects.lukehaas.me/scrollify",
"homepage": "https://github.com/lukehaas/Scrollify"
"homepage": "https://github.com/lukehaas/Scrollify",
"devDependencies": {
"grunt": "^1.0.1",
"grunt-contrib-uglify": "^2.0.0"
}
}

0 comments on commit 555ae69

Please sign in to comment.