Add minifier

This commit is contained in:
Faisal Salman 2012-12-04 15:57:27 +07:00
parent be4d8a10d1
commit 4a65f1b3f8
2 changed files with 11 additions and 2 deletions

View File

@ -18,10 +18,12 @@
],
"main": "ua-parser",
"scripts": {
"test": "./node_modules/mocha/bin/mocha -R spec"
"test": "./node_modules/mocha/bin/mocha -R spec",
"pretest": "./node_modules/uglify-js/bin/uglifyjs ua-parser.js > ua-parser.min.js"
},
"devDependencies": {
"mocha": ">= 1.7.1"
"mocha": ">= 1.7.1",
"uglify-js": ">= 1.3.4"
},
"repositories": [
{

7
ua-parser.min.js vendored Normal file

File diff suppressed because one or more lines are too long