-
Notifications
You must be signed in to change notification settings - Fork 43
/
package.json
58 lines (58 loc) · 4.5 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"name": "susaas",
"version": "0.0.1",
"repository": "https://github.com/sap-samples/btp-cap-multitenant-saas",
"license": "Apache License 2.0",
"description": "Sustainable SaaS",
"scripts": {
"install": "cd ../../code && npm install --include=dev",
"build": "npx -p @sap/cds-dk@8 cds build -in ../../code --profile production",
"-----------------------": "",
"-Manual HTML5 Deployment-": "",
"/---------------------/": "",
"deployer:run": "cd ../../code/app/html5-deployer && node ../../node_modules/@sap/html5-app-deployer/index.js",
"deployer:hybrid": "cds bind --exec --profile hybrid:html5 npm run deployer:run",
"------------------------": "",
"-Helm Default Scripts-": "",
"/----------------------/": "",
"helm:install:susaas": "helm install susaas ./charts/sustainable-saas -f ./charts/sustainable-saas/values-private.yaml -n default",
"helm:upgrade:susaas": "helm upgrade susaas ./charts/sustainable-saas -f ./charts/sustainable-saas/values-private.yaml -n default",
"helm:uninstall:susaas": "helm uninstall susaas -n default",
"helm:install:anf": "helm install alert-notification ./charts/alert-notification -f ./charts/alert-notification/values-private.yaml -n default",
"helm:upgrade:anf": "helm upgrade alert-notification ./charts/alert-notification -f ./charts/alert-notification/values-private.yaml -n default",
"helm:uninstall:anf": "helm uninstall alert-notification -n default",
"-------------------------": "",
"-UI Build Scripts-": "",
"/-----------------------/": "",
"ui:apps": "npm run ui:admin && npm run ui:public",
"ui:admin": "npm run ui:admin-projects && npm run ui:admin-users",
"ui:admin-projects": "npm run build:copy --prefix ../../code/app/ui-admin-projects/",
"ui:admin-users": "npm run build:copy --prefix ../../code/app/ui-admin-users/",
"ui:public": "npm run ui:public-assessments && npm run ui:public-flp && npm run ui:public-projects",
"ui:public-assessments": "npm run build:copy --prefix ../../code/app/ui-public-assessments/",
"ui:public-flp": "npm run build:copy --prefix ../../code/app/ui-public-flp/",
"ui:public-projects": "npm run build:copy --prefix ../../code/app/ui-public-projects/",
"--------------------------": "",
"-Container Build Scripts-": "",
"--- RUN LIKE npx --yes cross-env IMAGE_PREFIX=sap-demo npm run build:all ---": "",
"/------------------------/": "",
"build:all": "npm run build:srv && npm run build:db-com && npm run build:router && npm run build:html5-deployer && npm run build:api && npm run build:broker",
"build:srv": "cross-env-shell pack build $IMAGE_PREFIX/susaas-srv --path ../../code/gen/srv --builder paketobuildpacks/builder:base --buildpack gcr.io/paketo-buildpacks/nodejs -e BP_LAUNCHPOINT=./node_modules/@sap/cds/bin/serve.js",
"build:db-com": "cross-env-shell pack build $IMAGE_PREFIX/susaas-db-com --path ../../code/gen/db-com --builder paketobuildpacks/builder:base --buildpack gcr.io/paketo-buildpacks/nodejs -e BP_LAUNCHPOINT=./node_modules/@sap/hdi-deploy/deploy.js",
"build:api": "cross-env-shell pack build $IMAGE_PREFIX/susaas-api --path ../../code/gen/api --builder paketobuildpacks/builder:base --buildpack gcr.io/paketo-buildpacks/nodejs -e BP_LAUNCHPOINT=./node_modules/@sap/cds/bin/serve.js",
"build:broker": "cross-env-shell pack build $IMAGE_PREFIX/susaas-broker --path ../../code/broker --builder paketobuildpacks/builder:base --buildpack gcr.io/paketo-buildpacks/nodejs -e BP_LAUNCHPOINT=./start.js",
"build:router": "cross-env-shell docker build -t $IMAGE_PREFIX/susaas-router ../../code/router",
"build:html5-deployer": "cross-env-shell docker build -t $IMAGE_PREFIX/susaas-html5-deployer ../../code/app",
"---------------------------": "",
"-Container Push Scripts-": "",
"--- RUN LIKE npx --yes cross-env IMAGE_PREFIX=sap-demo npm run push:all ---": "",
"/-------------------------/": "",
"push:all": "npm run push:srv && npm run push:db-com && npm run push:router && npm run push:html5-deployer && npm run push:api && npm run push:broker",
"push:srv": "cross-env-shell docker push $IMAGE_PREFIX/susaas-srv",
"push:db-com": "cross-env-shell docker push $IMAGE_PREFIX/susaas-db-com",
"push:router": "cross-env-shell docker push $IMAGE_PREFIX/susaas-router",
"push:api": "cross-env-shell docker push $IMAGE_PREFIX/susaas-api",
"push:broker": "cross-env-shell docker push $IMAGE_PREFIX/susaas-broker",
"push:html5-deployer": "cross-env-shell docker push $IMAGE_PREFIX/susaas-html5-deployer"
}
}