mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 20:25:26 +00:00
Fixed building with pg linking in examples and added example:debug script
This commit is contained in:
@@ -6,17 +6,21 @@
|
||||
"author": "Alexander P. Cerutti <cerutti.alexander@gmail.com>",
|
||||
"license": "ISC",
|
||||
"scripts": {
|
||||
"preinstall": "npm run clear:deps && npm unlink --no-save passkit-generator && cd .. && npm run build && npm link && cd examples && npm link passkit-generator",
|
||||
"preinstall": "npm run clear:deps && npm unlink --no-save passkit-generator",
|
||||
"postinstall": "cd .. && npm run build && npm link && cd examples && npm link passkit-generator",
|
||||
"example": "cd build && node",
|
||||
"build": "npm run build:clear && npx tsc",
|
||||
"example:debug": "cd build && node --inspect-brk",
|
||||
"build": "npm run build:clear && npm install && npx tsc",
|
||||
"build:clear": "rm -rf build",
|
||||
"clear:deps": "rm -rf node_modules"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"passkit-generator": "latest"
|
||||
},
|
||||
"dependencies": {
|
||||
"express": "^4.17.1",
|
||||
"node-fetch": "^2.6.1",
|
||||
"tslib": "^2.1.0",
|
||||
"passkit-generator": "latest"
|
||||
"tslib": "^2.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/express": "^4.17.0",
|
||||
|
||||
Reference in New Issue
Block a user