Changed commands for passkit-generator linking to prevent issues during deploy

This commit is contained in:
Alexander Cerutti
2023-07-30 03:25:39 +02:00
parent 724c2af7e5
commit 4383944136

View File

@@ -7,9 +7,9 @@
"start": "npm run shell", "start": "npm run shell",
"deploy": "npx firebase deploy --only functions", "deploy": "npx firebase deploy --only functions",
"logs": "npx firebase functions:log", "logs": "npx firebase functions:log",
"service:link-pg": "cd ../.. && npm run build && npm link", "service:link-pg": "cd ../../.. && npm run build && npm link",
"preinstall": "npm run clear:deps", "predev:install": "npm run clear:deps",
"postinstall": "npm run service:link-pg && npm link passkit-generator", "dev:install": "npm run service:link-pg && npm link passkit-generator",
"clear:deps": "rm -rf node_modules", "clear:deps": "rm -rf node_modules",
"build": "rm -rf lib && npx tsc" "build": "rm -rf lib && npx tsc"
}, },