npm version scripts
This commit is contained in:
parent
863315d77c
commit
dc89ef43b5
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"manifest_version": 2,
|
||||
"name": "/usr/space",
|
||||
"version": "0.7",
|
||||
"version": "0.7.0",
|
||||
"description": "WebExtension for the Hacker-/Maker-Space /usr/space",
|
||||
"icons": {
|
||||
"48": "icons/favicon.svg",
|
||||
|
|
|
@ -8,6 +8,13 @@
|
|||
"devDependencies": {
|
||||
"web-ext-types": "^3.2.1"
|
||||
},
|
||||
"scripts": {
|
||||
"copy-version": "sed -i 's/^\t\"version\": \".*\",$/\t\"version\": \"'$(rg '^\t\"version\": \"(.+)\",$' -r '$1' < package.json)'\",/' manifest.json",
|
||||
"test": "echo \"Error: no test specified\" && exit 0",
|
||||
"preversion": "npm test",
|
||||
"version": "npm run copy-version && git add -u",
|
||||
"postversion": "web-ext build"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://gitea.usrspace.at/XimeX/usrspace-browser-addon"
|
||||
|
|
Loading…
Reference in New Issue