-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
53 lines (53 loc) · 1.74 KB
/
Copy pathpackage.json
File metadata and controls
53 lines (53 loc) · 1.74 KB
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
{
"name": "abap2UI5",
"version": "1.0.0",
"description": "A simple CAP project.",
"repository": "<Add your repository here>",
"license": "UNLICENSED",
"private": true,
"dependencies": {
"@sap-cloud-sdk/http-client": "^3.26.4",
"@sap-cloud-sdk/resilience": "^3.26.4",
"@sap/cds": "^8",
"axios": "^1.7.9",
"express": "^4"
},
"devDependencies": {
"@cap-js/cds-types": "^0.8.0",
"@cap-js/sqlite": "^1",
"@sap/cds-dk": "^8.7.1",
"jest": "^30.2.0",
"mbt": "^1.2.29",
"rimraf": "^5.0.5",
"tsx": "^4.19.2",
"typescript": "^5.7.3"
},
"scripts": {
"mirror_frontend": "rm -rf abap2UI5 && git clone https://github.com/abap2UI5/abap2UI5 && rm -rf app/z2ui5/webapp && cp -r abap2UI5/app/webapp app/z2ui5 && cp -f app/backup/index.html app/z2ui5/webapp/index.html && cp -f app/backup/manifest.json app/z2ui5/webapp/manifest.json && rm -rf abap2UI5",
"start": "cds-serve",
"watch-z2ui5": "cds watch --open z2ui5/webapp/index.html?sap-ui-xx-viewCache=false",
"undeploy": "cf undeploy ordersched --delete-services --delete-service-keys --delete-service-brokers",
"test": "jest --verbose",
"test:watch": "jest --watch",
"prepare": "sh scripts/install-hooks.sh 2>/dev/null || true",
"build": "rimraf resources mta_archives && mbt build --mtar archive",
"deploy": "cf deploy mta_archives/archive.mtar --retries 1"
},
"cds": {
"requires": {
"northwind": {
"kind": "odata-v2",
"model": "srv/external/northwind",
"credentials": {
"url": "https://services.odata.org/V2/Northwind/Northwind.svc/"
}
}
},
"destinations": true,
"html5-repo": true,
"workzone": true,
"[production]": {
"auth": false
}
}
}