-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
134 lines (134 loc) · 4.26 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"name": "epmbp-consumer-app",
"version": "1.0.0",
"engines": {
"node": "^14"
},
"description": "A simple CAP project.",
"repository": "<Add your repository here>",
"license": "ISC",
"dependencies": {
"@sap-cloud-sdk/core": "^1",
"@sap-cloud-sdk/resilience": "^3",
"@sap/cds": "^7",
"@sap/cds-odata-v2-adapter-proxy": "^1",
"@sap/xsenv": "^3",
"@sap/xssec": "^3",
"express": "^4",
"hdb": "^0",
"passport": "^0"
},
"devDependencies": {
"@sap-cloud-sdk/generator": "^1",
"@sap/hdi-deploy": "^4",
"npm-run-all": "^4.1.5",
"sqlite3": "^5"
},
"scripts": {
"setup": "npm install && npm run build && npm run deploy:local",
"update": "run-p update:**",
"update:root": "npm update",
"update:app": "cd app && npm update",
"start": "npm run start:cds",
"start:debug": "node --inspect srv/cds.js run",
"start:cds": "cds run",
"start:local": "npm run deploy:local && npm start",
"build": "cds build/all --clean",
"build:cf": "cp mta-cf.yaml mta.yaml && mbt build -p=cf && rm mta.yaml",
"build:xsa": "cp mta-xsa.yaml mta.yaml && mbt build -p=xsa && rm mta.yaml",
"build:xs-security": "cds compile srv/ --to xsuaa > xs-security.json",
"generate-odata-client": "generate-odata-client --input srv/external --outputDir srv/odata-client --overwrite",
"generate-odata-client:API_BUSINESS_PARTNER": "generate-odata-client --inputDir srv/external/API_BUSINESS_PARTNER --outputDir srv/odata-client --forceOverwrite",
"generate-odata-client:API_SLSPRICINGCONDITIONRECORD_SRV": "generate-odata-client --inputDir srv/external/API_SLSPRICINGCONDITIONRECORD_SRV --outputDir srv/odata-client --forceOverwrite",
"deploy:local": "cds deploy",
"deploy:cf": "cf deploy mta_archives/epmbp-consumer-app_0.0.1.mtar",
"deploy:cf:trial": "cf deploy mta_archives/epmbp-consumer-app_0.0.1.mtar -e cf.mtaext",
"deploy:xsa": "xs deploy mta_archives/epmbp-consumer-app_0.0.1.mtar",
"deploy:xsa:user": "xs deploy mta_archives/epmbp-consumer-app_0.0.1.mtar -e xsa.mtaext",
"enable:ssh": "cf enable-ssh epmbp-consumer-app-srv",
"debug:cf": "cf ssh epmbp-consumer-app-srv -N -T -L 9229:localhost:9229",
"undeploy:cf": "cf undeploy epmbp-consumer-app --delete-service-keys --delete-services --delete-service-brokers"
},
"cds": {
"features": {
"fetch_csrf": true
},
"hana": {
"deploy-format": "hdbtable"
},
"requires": {
"db": {
"kind": "sqlite",
"credentials": {
"database": "my.db"
}
},
"EPM_REF_APPS_PROD_MAN_SRV": {
"kind": "odata-v2",
"model": "srv/external/EPM_REF_APPS_PROD_MAN_SRV",
"credentials": {
"adestination": "LOCAL",
"ydestination": "NPL",
"destination": "ES5",
"xdestination": "KPE",
"path": "/sap/opu/odata/sap/EPM_REF_APPS_PROD_MAN_SRV",
"requestTimeout": 30000
},
"pool": {
"min": 1,
"max": 10
}
},
"ZPDCDS_SRV": {
"kind": "odata-v2",
"model": "srv/external/ZPDCDS_SRV",
"credentials": {
"destination": "ES5",
"path": "/sap/opu/odata/sap/ZPDCDS_SRV",
"requestTimeout": 30000
}
},
"SEPMRA_PROD_MAN": {
"kind": "odata-v2",
"model": "srv/external/SEPMRA_PROD_MAN",
"credentials": {
"destination": "ES5",
"path": "/sap/opu/odata/sap/SEPMRA_PROD_MAN",
"requestTimeout": 30000
}
},
"API_BUSINESS_PARTNER": {
"kind": "odata-v2",
"model": "srv/external/API_BUSINESS_PARTNER",
"credentials": {
"destination": "APIBusinessHub",
"path": "/sap/opu/odata/sap/API_BUSINESS_PARTNER",
"requestTimeout": 30000
}
},
"API_SLSPRICINGCONDITIONRECORD_SRV": {
"kind": "odata-v2",
"model": "srv/external/API_SLSPRICINGCONDITIONRECORD_SRV"
}
},
"[production]": {
"requires": {
"uaa": {
"kind": "xsuaa"
},
"db": {
"kind": "hana",
"model": [
"db",
"srv"
]
}
},
"auth": {
"passport": {
"strategy": "JWT"
}
}
}
}
}