Updated verup to v1.2.0 and moved its config to package.json

This commit is contained in:
Dumitru Uzun
2015-04-30 17:58:30 +03:00
parent 1fa7137f1f
commit dc6bae6aae
2 changed files with 52 additions and 15 deletions

View File

@@ -45,6 +45,19 @@
"test": "./build/build.sh",
"verup": "node ./build/verup.js"
},
"verup": {
"files": [
"ua-parser-js.jquery.json",
"component.json",
"bower.json",
"package.js",
"src/ua-parser.js"
],
"regs": [
"^((?:\\$|@|(\\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",