-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
62 lines (62 loc) · 1.53 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
{
"name": "@cap-rp/notifications",
"version": "0.0.3",
"description": "CDS plugin providing integration to the SAP BTP Alert Notification Service.",
"repository": "rohtash/notifications",
"author": "SAP SE (https://www.sap.com)",
"homepage": "https://cap.cloud.sap/",
"license": "SEE LICENSE IN LICENSE",
"main": "cds-plugin.js",
"files": [
"lib",
"srv"
],
"peerDependencies": {
"@sap/cds": ">=8"
},
"dependencies": {
"@sap-cloud-sdk/connectivity": "^3.13.0",
"@sap-cloud-sdk/http-client": "^3.13.0",
"@sap-cloud-sdk/util": "^3.13.0"
},
"devDependencies": {
"jest": "^29.7.0",
"chai": "^4.3.10",
"@sap/cds": ">=8",
"@sap/cds-dk": ">=8"
},
"scripts": {
"lint": "npx eslint .",
"test": "npx jest",
"test-with-coverage": "npx jest --coverage"
},
"cds": {
"requires": {
"destinations": true,
"notifications": {
"[development]": {
"kind": "notify-to-console"
},
"[hybrid]": {
"destination": "SAP_Notifications",
"kind": "notify-to-rest"
},
"[production]": {
"destination": "SAP_Notifications",
"kind": "notify-to-rest"
},
"prefix": "$app-name",
"types": "srv/notification-types.json",
"outbox": true
},
"kinds": {
"notify-to-console": {
"impl": "@cap-rp/notifications/srv/notifyToConsole"
},
"notify-to-rest": {
"impl": "@cap-rp/notifications/srv/notifyToRest"
}
}
}
}
}