Skip to content

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

fix: preparing web package for amplify

Ilian Sapundshievaadc307c0e74
diff --git a/package.json b/package.json
index 915f8bcd6..5d1a14aed 100644
--- a/package.json
+++ b/package.json
@@ -49,8 +49,8 @@
"package-android": "yarn build-cordova && cd cordova && npm install && cordova build --release android",
"package-web": "yarn prepare-web && yarn clean-maps && zip -r ../builds/tagspaces-web.zip web -x web/files/**\\*",
"package-web-pro": "yarn prepare-web-pro && yarn clean-maps && zip -r ../builds/tagspaces-pro-web.zip web -xi web/files/**\\* ",
- "prepare-web": "rimraf web/node_modules && shx cp -R app/node_modules/ web && shx cp LICENSE.txt web",
- "prepare-web-pro": "rimraf web/node_modules && shx cp -R app/node_modules/ web && shx cp extensions/tagspacespro/EULA.txt web && node scripts/genswconf.js",
+ "prepare-web": "rimraf web/node_modules && shx cp -rL app/node_modules/ web && shx cp LICENSE.txt web",
+ "prepare-web-pro": "rimraf web/node_modules && shx cp -rL app/node_modules/ web && shx cp extensions/tagspacespro/EULA.txt web && node scripts/genswconf.js",
"prepare-cordova": "rimraf cordova/www/dist && rimraf cordova/www/node_modules && shx cp -rL app/node_modules cordova/www && shx cp LICENSE.txt cordova/www",
"paste-android-linux": "adb shell input text '$(xclip -selection c -o)'",
"paste-android-macos": "adb shell input text \"'$(pbpaste)'\"",