Changed examples passkit-generator linking commands

This commit is contained in:
Alexander Cerutti
2022-02-06 02:06:00 +01:00
parent 8061949ac2
commit 506f1359d2
2 changed files with 8 additions and 6 deletions

View File

@@ -7,8 +7,9 @@
"license": "ISC",
"main": "src/index.js",
"scripts": {
"preinstall": "npm run clear:deps && npm unlink --no-save passkit-generator",
"postinstall": "npm --prefix ../.. run build && npm --prefix ../.. link && npm link passkit-generator",
"service:link-pg": "cd ../.. && npm run build && npm link",
"preinstall": "npm run clear:deps",
"postinstall": "npm run service:link-pg && npm link passkit-generator",
"clear:deps": "rm -rf node_modules",
"example": "npx serverless offline --host 0.0.0.0; :'specifying host due to WSL limits'"
},