verup
Version:
Increment and update version in all project files (CLI)
87 lines (86 loc) • 1.95 kB
JSON
{
"name": "verup",
"version": "1.7.1",
"description": "Increment and update version in all project files (CLI)",
"reveal": true,
"keywords": [
"version",
"files",
"build",
"bump",
"major",
"minor",
"patch",
"release"
],
"author": {
"name": "Dumitru Uzun",
"email": "contact@duzun.me",
"url": "https://DUzun.Me/"
},
"main": "dist/verup.js",
"module": "verup.js",
"esnext": "verup.js",
"bin": "dist/verup.js",
"files": [
"verup.js",
"dist/"
],
"readmeFilename": "README.md",
"license": [
{
"type": "MIT",
"url": "https://github.com/duzun/verup/raw/master/LICENSE"
}
],
"bugs": {
"url": "https://github.com/duzun/verup/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/duzun/verup.git"
},
"extra": {
"verup": {
"files": [
"verup.js",
"package-lock.json",
"README.md"
],
"regs": [
"^((?:\\$|(?:\\s*\\*\\s*@)|(?:\\s*(?:var|,)?\\s+))version[\\s\\:='\"]+)([0-9]+(?:\\.[0-9]+){2,2})",
"^(\\s*const\\s+VERSION[\\s='\"]+)([0-9]+(?:\\.[0-9]+){2,2})",
"^(\\s?\\*.*v)([0-9]+(?:\\.[0-9]+){2,2})"
]
}
},
"scripts": {
"dist": "npm run verup && npm run build",
"build": "gccs --compilation_level WHITESPACE_ONLY --formatting pretty_print -- verup.js dist/verup.js && gccs dist/verup.js dist/verup.min.js",
"verup": "node ./verup.js -n verup",
"version": "node ./verup.js -n verup 0",
"test": ""
},
"jshintConfig": {
"node": true,
"esversion": 6,
"laxbreak": true,
"laxcomma": true,
"undef": true,
"unused": true,
"sub": true,
"expr": true,
"bitwise": false,
"eqeqeq": false,
"boss": true,
"eqnull": true,
"scripturl": true,
"-W041": false
},
"peedDependencies": {
"require-json5": "^1.0"
},
"devDependencies": {
"gccs": "^1.3.0"
}
}