-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
59 lines (59 loc) · 1.99 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
{
"name": "epmbp-consumer-app-java",
"version": "1.0.0",
"description": "Generated by cds-services-archetype",
"license": "ISC",
"repository": "<Add your repository here>",
"scripts": {
"setup": "npm install && npm run build && npm run deploy",
"update": "run-p update:**",
"update:root": "npm update",
"update:app": "cd app && npm update",
"update:srv-proxy": "cd srv-proxy && npm update",
"build": "npm run build:cds && npm run build:copy",
"build:cds": "cds build/all --clean",
"build:copy": "copyfiles -f srv/src/main/resources/edmx/csn.json srv-proxy/gen/",
"build:xs-security": "cds compile srv/ --to xsuaa > xs-security.json",
"build:deploy:cf": "npm run build:cf && npm run deploy:cf",
"build:cf": "mbt build -p cf",
"edmx2csn": "npm run edmx2csn:ZEPM_BP_SRV && npm run edmx2csn:EPM_REF_APPS_PROD_MAN_SRV",
"edmx2csn:ZEPM_BP_SRV": "node_modules/@sap/edmx2csn/bin/edmx2csn.js -i srv/external/ZEPM_BP_SRV.edmx.xml -o srv/external/csn/ZEPM_BP_SRV.json",
"edmx2csn:EPM_REF_APPS_PROD_MAN_SRV": "node_modules/@sap/edmx2csn/bin/edmx2csn.js -i srv/external/EPM_REF_APPS_PROD_MAN_SRV.edmx.xml -o srv/external/csn/EPM_REF_APPS_PROD_MAN_SRV.json",
"schema": "cds compile srv --to sql > srv/src/main/resources/schema.sql",
"deploy": "cds deploy",
"deploy:cf": "cf deploy mta_archives/epmbp-consumer-app-java_1.0.0.mtar",
"start": "mvn spring-boot:run",
"start:cloud": "mvn spring-boot:run -Dspring-boot.run.profiles=cloud"
},
"dependencies": {
"@sap/cds": "^7",
"hdb": "^0"
},
"devDependencies": {
"@sap/edmx2csn": "^1.0.9",
"@sap/hdi-deploy": "^4",
"copyfiles": "latest",
"npm-run-all": "^4",
"sqlite3": "5"
},
"cds": {
"build": {
"target": "."
},
"requires": {
"db": {
"kind": "sqlite",
"model": [
"db",
"srv"
],
"[production]": {
"kind": "hana"
}
}
},
"odata": {
"version": "v4"
}
}
}