-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
120 lines (120 loc) · 3.07 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"name": "cap-azure-ad-b2c",
"description": "Authenticate to a CAP service using Azure AD B2C",
"repository": "https://github.com/gregorwolf/cap-azure-ad-b2c",
"license": "MIT",
"version": "1.0.0",
"engines": {
"node": "^18 || ^20"
},
"files": [
"db",
"srv"
],
"dependencies": {
"@cap-js-community/odata-v2-adapter": "^1.12.2",
"@sap-cloud-sdk/http-client": "^3.10.0",
"@sap-cloud-sdk/resilience": "^3.10.0",
"@sap/audit-logging": "^5.8.4",
"@sap/cds": "^7.5.2",
"@sap/xsenv": "^4.2.0",
"@sap/xssec": "^3.6.1",
"applicationinsights": "^2.9.2",
"cds-azure-ad": "^0.0.21",
"cors": "^2.8.5",
"express": "^4.18.2",
"helmet": "^7.1.0",
"passport": "^0.7.0",
"passport-azure-ad": "latest",
"saml": "https://github.com/skat/node-saml.git",
"sqlite3": "^5.1.7"
},
"devDependencies": {
"@sap/cds-dk": "^7.5.1",
"cross-env": "^7.0.3",
"jsonwebtoken": "latest",
"npm-run-all": "^4.1.5"
},
"scripts": {
"setup": "npm install && npm run build && npm run start:local",
"update": "run-p update:**",
"update:root": "npm update",
"update:app": "cd app/de.linuxdozent.capazure.ui5 && npm update",
"start:local": "cross-env PORT=6420 cds run",
"start": "node_modules/.bin/cds run --in-memory",
"start:cds:docker": "docker run -e \"NODE_ENV=production\" --env-file .env -p 6420:4004 --init -t gregorwolf/cap-azure-ad-b2c:latest",
"build": " run-s build:cds deploy",
"build:cds": "cds build/all --clean",
"build:docker": "run-s build build:docker:image",
"build:docker:image": "docker build -t gregorwolf/cap-azure-ad-b2c:latest .",
"push:docker": "docker push gregorwolf/cap-azure-ad-b2c:latest",
"deploy": "cds deploy"
},
"cds": {
"cov2ap": {
"plugin": true
},
"log": {
"levels": {
"catalog-service": "debug",
"auth-client": "debug",
"saml-service": "debug"
}
},
"requires": {
"db": {
"kind": "sqlite",
"credentials": {
"database": "my.db"
}
},
"biscuit": {
"kind": "rest",
"credentials": {
"destination": "biscuit",
"requestTimeout": 30000
},
"pool": {
"min": 1,
"max": 10
}
},
"S4H": {
"kind": "rest",
"credentials": {
"destination": "S4H",
"requestTimeout": 30000
},
"pool": {
"min": 1,
"max": 10
}
},
"SAPGraph": {
"kind": "rest",
"credentials": {
"destination": "SAPGraph",
"requestTimeout": 30000
}
},
"uaa": {
"kind": "xsuaa"
},
"auth": {
"impl": "cds-azure-ad"
},
"SEPMRA_PROD_MAN": {
"kind": "odata-v2",
"model": "srv/external/SEPMRA_PROD_MAN",
"credentials": {
"destination": "ES5",
"path": "/sap/opu/odata/sap/SEPMRA_PROD_MAN",
"requestTimeout": 30000
}
}
},
"odata": {
"version": "v4"
}
}
}