set build filename

This commit is contained in:
Thomas Rupprecht 2022-12-24 21:47:49 +01:00
parent e1fdc193f5
commit 27fe41e9b3
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
"scripts": {
"copy-browser-polyfill": "cp node_modules/webextension-polyfill/dist/browser-polyfill.js src/browser-polyfill.js",
"copy-version": "sed -i 's/^\t\"version\": \".*\",$/\t\"version\": \"'$(rg '^\t\"version\": \"(.+)\",$' -r '$1' < package.json)'\",/' manifest.json",
"build": "web-ext build -o -i README.md package.json package-lock.json",
"build": "web-ext build -o -n \"_usr_space-{version}.zip\" -i README.md package.json package-lock.json",
"test": "echo \"Error: no test specified\" && exit 0",
"postinstall": "npm run copy-browser-polyfill",
"preversion": "npm test",