Skip to content

Commit

Permalink
made minify script work on Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
jakattak033 authored and lpinca committed Nov 10, 2017
1 parent 8708744 commit e19706e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"author": "Luigi Pinca",
"license": "MIT",
"scripts": {
"minify": "for f in public/js/{app,home,leaderboards}; do uglifyjs $f.js -o $f.min.js; done",
"minify": "for f in public/js/*.js; do [ ${f%.min.js} = $f ] && uglifyjs $f -cm -o ${f%.js}.min.js; done",
"import-data": "node util/load_sample_tracks.js",
"start": "node app.js"
},
Expand Down

0 comments on commit e19706e

Please sign in to comment.