Skip to content

Commit

Permalink
add package lock file and upgrade to uglify-js
Browse files Browse the repository at this point in the history
  • Loading branch information
jondavidjohn committed Jan 19, 2018
1 parent e878523 commit 00a2ad3
Show file tree
Hide file tree
Showing 3 changed files with 1,957 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dist/payform.js: src/payform.coffee
$(BIN)coffee -c --no-header -o dist/ src/payform.coffee

dist/payform.min.js: dist/payform.js
$(BIN)uglify -s dist/payform.js -o dist/payform.min.js
$(BIN)uglifyjs dist/payform.js -o dist/payform.min.js

dist/jquery.payform.js: src/jquery.payform.coffee
$(BIN)browserify \
Expand All @@ -17,7 +17,7 @@ dist/jquery.payform.js: src/jquery.payform.coffee
src/jquery.payform.coffee > dist/jquery.payform.js

dist/jquery.payform.min.js: dist/jquery.payform.js
$(BIN)uglify -s dist/jquery.payform.js -o dist/jquery.payform.min.js
$(BIN)uglifyjs dist/jquery.payform.js -o dist/jquery.payform.min.js

watch: build
$(BIN)watch 'make build' src
Expand Down
Loading

0 comments on commit 00a2ad3

Please sign in to comment.