Skip to content

Commit

Permalink
Better minifying 🎨
Browse files Browse the repository at this point in the history
  • Loading branch information
IonicaBizau committed Feb 11, 2016
1 parent 372bd00 commit 9d08c03
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "src/piklor.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"min": "uglifyjs src/piklor.js > src/piklor.min.js",
"min": "uglifyjs src/piklor.js -c -m > src/piklor.min.js",
"update-min": "cp src/piklor.min.js example/js/piklor.js && git add example && git commit -m 'Updated piklor.js in the example dir' .",
"deploy": "cp -r example ../_tmp && git checkout gh-pages && cp -r ../_tmp/* . && git add . -A && git commit -m 'Rebuild.' && rm -rf ../_tmp ../_tmp.js"
},
Expand All @@ -30,4 +30,4 @@
"devDependencies": {
"uglifyjs": "^2.4.10"
}
}
}
2 changes: 1 addition & 1 deletion src/piklor.min.js

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

0 comments on commit 9d08c03

Please sign in to comment.