Merge pull request #112 from duzun/master

Updated verup to v1.2.0 and moved its config to package.json
This commit is contained in:
Faisal Salman
2015-05-10 12:13:46 +07:00
2 changed files with 95 additions and 20 deletions

View File

@@ -46,6 +46,19 @@
"test": "jshint src/ua-parser.js && mocha -R nyan test/test.js",
"verup": "node ./build/verup.js"
},
"verup": {
"files": [
"ua-parser-js.jquery.json",
"component.json",
"bower.json",
"package.js",
"src/ua-parser.js"
],
"regs": [
"^((?:\\$|(\\s*\\*\\s*@)|(\\s*(?:var|,)?\\s+))(?:LIBVERSION|version)[\\s\\:='\"]+)([0-9]+(?:\\.[0-9]+){2,2})",
"^(\\s?\\*.*v)([0-9]+(?:\\.[0-9]+){2,2})"
]
},
"devDependencies": {
"jshint": "~1.1.0",
"mocha": "~1.8.0",