Skip to content

Commit

Permalink
npm task to minify source
Browse files Browse the repository at this point in the history
  • Loading branch information
sjwilliams committed Jun 1, 2014
1 parent 504f278 commit 69f4296
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
npm-debug.log
1 change: 1 addition & 0 deletions jquery.laziestloader-min.js

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

8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,11 @@
"images",
"lazyload"
],
"license": "MIT"
"license": "MIT",
"devDependencies": {
"uglify-js": "^2.4.13"
},
"scripts": {
"build": "uglifyjs jquery.laziestloader.js -c -o jquery.laziestloader-min.js"
}
}

0 comments on commit 69f4296

Please sign in to comment.