mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-27 16:08:47 +03:00
Add minifier
This commit is contained in:
parent
be4d8a10d1
commit
4a65f1b3f8
@ -18,10 +18,12 @@
|
|||||||
],
|
],
|
||||||
"main": "ua-parser",
|
"main": "ua-parser",
|
||||||
"scripts": {
|
"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": {
|
"devDependencies": {
|
||||||
"mocha": ">= 1.7.1"
|
"mocha": ">= 1.7.1",
|
||||||
|
"uglify-js": ">= 1.3.4"
|
||||||
},
|
},
|
||||||
"repositories": [
|
"repositories": [
|
||||||
{
|
{
|
||||||
|
7
ua-parser.min.js
vendored
Normal file
7
ua-parser.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user