Skip to content

TagSpaces is an offline, open source, document manager with tagging support

refining web packaging scripts

Ilian Sapundshiev85f3c2fb1df9
diff --git a/package.json b/package.json
index a62181f31..c635d4536 100644
--- a/package.json
+++ b/package.json
@@ -28,7 +28,7 @@
"update-i18n": "tx pull -a -d",
"version-meta": "node scripts/versionmeta.js",
"third-party": "yarn licenses generate-disclaimer --silent > app/third-party.txt",
- "package": "yarn build && yarn package-win && yarn package-linux && yarn package-mac",
+ "package": "yarn build && yarn package-win && yarn package-linux && yarn package-mac && yarn package-web",
"package-mac": "build --mac --x64 --config resources/builder.json",
"package-mac-pro": "build --mac --x64 --config app/node_modules/@tagspaces/pro/resources/builder-pro.json",
"package-win": "build --win --x64 --config resources/builder.json",
@@ -36,8 +36,8 @@
"package-linux": "build --linux --config resources/builder.json",
"package-linux-pro": "build --linux --config app/node_modules/@tagspaces/pro/resources/builder-pro.json",
"package-pro": "node scripts/enablepro.js && yarn install-ext && yarn build && yarn clean-maps && yarn package-web-pro && yarn package-win-pro && yarn package-linux-pro && yarn package-mac-pro",
- "package-web": "yarn prepare-web && zip -r ../builds/tagspaces-web.zip web",
- "package-web-pro": "yarn prepare-web && yarn clean-maps && zip -r ../builds/tagspaces-pro-web.zip web",
+ "package-web": "yarn prepare-web && zip -r ../builds/tagspaces-web.zip web -x web/files/**\\*",
+ "package-web-pro": "yarn prepare-web && yarn clean-maps && zip -r ../builds/tagspaces-pro-web.zip web -xi web/files/**\\* ",
"clean-maps": "rimraf app/dist/**/*.map && rimraf web/dist/**/*.map",
"install-ext": "cd app && yarn install --force --prod --no-lockfile && cd ..",
"setup-ext": "node scripts/setupextensions.js",