Skip to content

Commit a959718

Browse files
committed
update zip script
1 parent a912e78 commit a959718

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

dist/.gitkeep

Whitespace-only changes.

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88
"dev:chrome": "cd shells/chrome && webpack --watch --hide-modules",
99
"lint": "eslint src --ext=js,vue && eslint shells/chrome/src && eslint shells/dev/src",
1010
"build": "cd shells/chrome && cross-env NODE_ENV=production webpack --progress --hide-modules",
11-
"zip": "rm -f chrome.zip && cd shells && zip -r ../chrome.zip chrome -x *src/* -x *webpack.config.js",
12-
"release": "npm run test && npm run build && npm run zip",
11+
"zip:chrome": "zip -r -FS dist/chrome.zip shells/chrome -x *src/* -x *webpack.config.js",
12+
"zip:firefox": "web-ext build -s shells/chrome -a dist -i src",
13+
"release": "npm run test && npm run build && npm run zip:chrome && npm run zip:firefox",
1314
"test": "npm run lint && bash test/test.sh"
1415
},
1516
"repository": {

0 commit comments

Comments
 (0)