Skip to content

Commit

Permalink
chore: Change minify script to use uglify-js
Browse files Browse the repository at this point in the history
  • Loading branch information
pjjonesnz committed Jan 22, 2020
1 parent 2314aea commit 609ee1b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 43 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"test": "karma start --single-run",
"karma": "karma start",
"minify": "node-minify --compressor babel-minify --input src/saveMyForm.jquery.js --output src/saveMyForm.jquery.min.js",
"minify": "uglifyjs src/saveMyForm.jquery.js -c -m -o src/saveMyForm.jquery.min.js",
"replace_version_in_js": "rexreplace \"\\* version: .*\" \"* version: %npm_package_version%\" src/saveMyForm.jquery.js -G",
"changelog:patch": "changelog -p",
"changelog:minor": "changelog -m",
Expand Down Expand Up @@ -57,8 +57,8 @@
"karma-jquery": "^0.2.4",
"karma-phantomjs-launcher": "^1.0.4",
"karma-spec-reporter": "0.0.32",
"node-minify": "^3.6.0",
"rexreplace": "^5.1.5"
"rexreplace": "^5.1.5",
"uglify-js": "^3.7.6"
},
"dependencies": {}
}
29 changes: 1 addition & 28 deletions src/custom_callbacks/jqueryui.saveMyForm.min.js

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

2 changes: 1 addition & 1 deletion src/ie8.support.min.js

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

12 changes: 1 addition & 11 deletions src/saveMyForm.jquery.min.js

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

0 comments on commit 609ee1b

Please sign in to comment.