Skip to content

Commit fdf871b

Browse files
authored
Merge pull request #27 from Krinkle/patch-1
Move uglify params to script definition
2 parents 7b6b2ab + d03f1f6 commit fdf871b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ define(['jquery', 'jquery.easing'], function (jQuery, easing) {
2323
* `npm install`
2424
* Make changes
2525
* Test against files in `/examples`
26-
* Build minified version with `npm run uglify -- --compress --mangle`
26+
* Build minified version with `npm run build`

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
},
2222
"scripts": {
2323
"test": "echo \"Use tests in the examples directory\" && exit 1",
24-
"uglify": "uglifyjs jquery.easing.js -o jquery.easing.min.js"
24+
"build": "uglifyjs jquery.easing.js --compress --mangle -o jquery.easing.min.js"
2525
},
2626
"devDependencies": {
2727
"jquery": ">=1.3.0",

0 commit comments

Comments
 (0)