npm scripts and finalize
This commit is contained in:
5
mta.yaml
5
mta.yaml
@@ -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
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user