Skip to content

Commit 4cf903a

Browse files
committed
chore: add compression source code
1 parent fc5782c commit 4cf903a

File tree

3 files changed

+407
-68
lines changed

3 files changed

+407
-68
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*.tgz
1212
dist
1313
dist-ssr
14-
extension/*
14+
extension/**
1515
!extension/assets/
1616
node_modules
1717
src/auto-imports.d.ts

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"clear": "rimraf extension/chromium extension/firefox extension/__COMMON__ .output",
2525
"lint": "eslint 'src/**/*.{json,ts,js,vue}'",
2626
"lint:firefox": "web-ext lint -s ./extension/firefox",
27+
"prerelease": "suzip -s ./ -o .output/source.zip -I .gitignore --dot",
2728
"release": "npx bumpp --commit --tag --push"
2829
},
2930
"homepage": "https://github.com/aliuq/degit-webext",
@@ -47,6 +48,7 @@
4748
"kolorist": "^1.5.1",
4849
"npm-run-all": "^4.1.5",
4950
"rimraf": "^3.0.2",
51+
"suzip": "^0.1.5",
5052
"typescript": "^4.6.3",
5153
"unbuild": "^0.7.4",
5254
"unplugin-auto-import": "^0.7.1",

0 commit comments

Comments
 (0)