npm scripts and finalize

This commit is contained in:
Johannes Vogt
2025-03-21 17:24:07 +01:00
parent a657be4adc
commit d79fbde2de
2 changed files with 6 additions and 2 deletions

View File

@@ -10,8 +10,9 @@ build-parameters:
commands:
- npm ci
- npx cds build ./shared-db --for hana --production
- npx cds build --production
- npx cds build ./orders --for nodejs --production --ws-pack
- npx cds build ./reviews --for nodejs --production
- npx cds build ./bookstore --for nodejs --production --ws-pack
modules:
- name: bookstore-srv
type: nodejs

View File

@@ -28,6 +28,9 @@
"semver": "^7"
},
"scripts": {
"build": "mbt build -t gen --mtar mta.tar",
"deploy": "cf deploy gen/mta.tar",
"undeploy": "cf undeploy capire.samples --delete-services --delete-service-keys",
"bookshop": "cds watch bookshop",
"fiori": "cds watch fiori",
"lint": "eslint",