diff --git a/README.md b/README.md index 4db28f0..5afdca1 100644 --- a/README.md +++ b/README.md @@ -23,4 +23,4 @@ define(['jquery', 'jquery.easing'], function (jQuery, easing) { * `npm install` * Make changes * Test against files in `/examples` -* Build minified version with `npm run uglify -- --compress --mangle` +* Build minified version with `npm run build` diff --git a/package.json b/package.json index 4539871..0a3af88 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ }, "scripts": { "test": "echo \"Use tests in the examples directory\" && exit 1", - "uglify": "uglifyjs jquery.easing.js -o jquery.easing.min.js" + "build": "uglifyjs jquery.easing.js --compress --mangle -o jquery.easing.min.js" }, "devDependencies": { "jquery": ">=1.3.0",