-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
32 lines (32 loc) · 968 Bytes
/
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
{
"name": "sap-business-one-odata-cap",
"version": "0.0.1",
"description": "SAP Business One OData Service with CAP",
"repository": "https://github.com/gregorwolf/sap-business-one-odata-cap",
"license": "Apache 2.0",
"private": false,
"dependencies": {
"@sap/cds": "^7.5.1",
"express": "^4.18.2"
},
"devDependencies": {
"@sap-cloud-sdk/generator": "^3.9.0",
"@sap/cds-dk": "^7.5.0"
},
"scripts": {
"generate-odata-client": "npx generate-odata-client --input srv/external/SAPB1.edmx --outputDir srv/odata-client --overwrite",
"import": "cds import srv/external/SAPB1.edmx",
"build": "npx -p @sap/cds-dk cds build --production",
"build:log": "npm run build > build.log 2> build-error.log",
"compile:log": "cds c srv > compile.log 2> compile-error.log",
"start": "cds watch"
},
"cds": {
"requires": {
"SAPB1": {
"kind": "odata",
"model": "srv/external/SAPB1"
}
}
}
}