npm scripts and finalize
This commit is contained in:
5
mta.yaml
5
mta.yaml
@@ -10,8 +10,9 @@ build-parameters:
|
|||||||
commands:
|
commands:
|
||||||
- npm ci
|
- npm ci
|
||||||
- npx cds build ./shared-db --for hana --production
|
- npx cds build ./shared-db --for hana --production
|
||||||
|
- npx cds build ./orders --for nodejs --production --ws-pack
|
||||||
- npx cds build --production
|
- npx cds build ./reviews --for nodejs --production
|
||||||
|
- npx cds build ./bookstore --for nodejs --production --ws-pack
|
||||||
modules:
|
modules:
|
||||||
- name: bookstore-srv
|
- name: bookstore-srv
|
||||||
type: nodejs
|
type: nodejs
|
||||||
|
|||||||
@@ -28,6 +28,9 @@
|
|||||||
"semver": "^7"
|
"semver": "^7"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"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",
|
"bookshop": "cds watch bookshop",
|
||||||
"fiori": "cds watch fiori",
|
"fiori": "cds watch fiori",
|
||||||
"lint": "eslint",
|
"lint": "eslint",
|
||||||
|
|||||||
Reference in New Issue
Block a user