-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 1.83 KB
/
package.json
File metadata and controls
78 lines (78 loc) · 1.83 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
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
{
"name": "@cap-js/notifications",
"version": "0.3.0",
"description": "CDS plugin providing support for business notifications in SAP Build WorkZone.",
"repository": "cap-js/notifications",
"author": "SAP SE (https://www.sap.com)",
"homepage": "https://cap.cloud.sap/",
"license": "Apache-2.0",
"main": "cds-plugin.js",
"files": [
"lib",
"srv"
],
"peerDependencies": {
"@sap/cds": ">=8.0",
"@sap/cds-dk": ">=8.0"
},
"dependencies": {
"@sap-cloud-sdk/connectivity": "^4.6.0",
"@sap-cloud-sdk/http-client": "^4.6.0",
"@sap-cloud-sdk/util": "^4.6.0"
},
"devDependencies": {
"@cap-js/cds-test": ">=0",
"@cap-js/cds-types": "^0.16.0",
"@cap-js/sqlite": "^2.2.0",
"@sap/cds": ">=8.0",
"@sap/cds-dk": ">=8.0",
"express": "^5.2.1",
"jest": "^30.3.0"
},
"engines": {
"node": ">=20.0.0"
},
"scripts": {
"lint": "npx eslint .",
"test": "npx jest",
"test-with-coverage": "npx jest --coverage"
},
"cds": {
"requires": {
"destinations": true,
"notifications": {
"prefix": "$app-name",
"types": "srv/notification-types.json",
"outbox": true
},
"kinds": {
"notify-to-console": {
"impl": "@cap-js/notifications/srv/notifyToConsole"
},
"notify-to-rest": {
"impl": "@cap-js/notifications/srv/notifyToRest"
}
},
"[development]": {
"notifications": {
"kind": "notify-to-console"
}
},
"[hybrid]": {
"notifications": {
"destination": "SAP_Notifications",
"kind": "notify-to-rest"
}
},
"[production]": {
"notifications": {
"destination": "SAP_Notifications",
"kind": "notify-to-rest"
}
}
}
},
"workspaces": [
"tests/bookshop/"
]
}