We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe98ee9 commit aa83f35Copy full SHA for aa83f35
package.json
@@ -4,7 +4,8 @@
4
"scripts": {
5
"dev": "web-ext run -s src --target=chromium",
6
"compile": "tsc --noEmit",
7
- "zip": "powershell scripts/build.ps1",
+ "build": "powershell scripts/build.ps1",
8
+ "zip": "powershell scripts/zip.ps1",
9
"lint": "echo 'TODO'"
10
},
11
"devDependencies": {
scripts/zip.ps1
@@ -0,0 +1,4 @@
1
+$sourceFolder = ".\dist"
2
+$targetFolder = ".\artifacts"
3
+$version = $(node -pe "require('./src/manifest.json').version")
+Compress-Archive -Path $sourceFolder -DestinationPath $targetFolder/web-activity-time-tracker-$version.zip
0 commit comments