mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 16:25:21 +00:00
Changed build scripts for examples and main project
This commit is contained in:
@@ -5,7 +5,11 @@
|
||||
"author": "Alexander P. Cerutti <cerutti.alexander@gmail.com>",
|
||||
"license": "ISC",
|
||||
"scripts": {
|
||||
"build": "cd ..; npm run build; cd examples"
|
||||
"preinstall": "npm run clear:deps && npm unlink --no-save passkit-generator && cd .. && npm run build && npm link && cd examples && npm link passkit-generator",
|
||||
"example": "cd build && node",
|
||||
"build": "npm run build:clear && npx tsc",
|
||||
"build:clear": "rm -rf build",
|
||||
"clear:deps": "rm -rf node_modules"
|
||||
},
|
||||
"dependencies": {
|
||||
"express": "^4.17.1",
|
||||
|
||||
Reference in New Issue
Block a user