forked from SAP-samples/hana-opensap-cloud-2020
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
113 lines (113 loc) · 3.12 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
{
"name": "hana-opensap-cloud-2020",
"version": "1.202008.1",
"description": "openSAP HANA Course Exercise Materials Updated for HANA Cloud 2020",
"repository": "https://github.com/SAP-samples/hana-opensap-cloud-2020",
"license": "SEE LICENSE IN LICENSE",
"private": false,
"dependencies": {
"@sap/cds": "^4.1",
"@sap/hana-client": "^2.5",
"@sap/xssec": "^3.0",
"@sap/audit-logging": "3.1",
"express": "^4.17",
"passport": "^0.4"
},
"devDependencies": {
"chai": "^4.2",
"chai-as-promised": "^7.1",
"chai-subset": "^1.6",
"sqlite3": "^5"
},
"scripts": {
"dbbuild": "cds build && cd ./db && npm start",
"userbuild": "cds build && cd ./user_db && npm start",
"srv": "cds build && cd ./srv && npm start",
"env": "cp ./default-env.json ./db/default-env.json && cp ./default-env.json ./srv/default-env.json",
"build": "npx cds build/all --clean",
"start": "npx cds run",
"watch": "npx cds watch",
"mocha": "npx mocha || echo",
"jest": "npx jest --verbose",
"test": "npm run jest -s"
},
"jest": {
"testEnvironment": "node"
},
"cds": {
"auth": {
"passport": {
"strategy": "mock",
"users": {
"alice": {
"roles": [
"admin",
"Admin"
],
"ID": "[email protected]",
"password": "secret",
"userAttributes": {
"country": "US"
}
}
}
}
},
"build": {
"target": ".",
"tasks": [
{
"src": "db",
"for": "hana",
"options": {
"model": [
"db",
"srv"
]
}
},
{
"src": "user_db",
"for": "hana",
"options": {
"model": [
"user_db"
]
}
},
{
"src": "srv",
"for": "node-cf",
"options": {
"model": [
"db",
"srv"
]
}
}
]
},
"features": {
"snapi": true
},
"i18n": {
"folders": [
"_i18n"
]
},
"odata": {
"version": "v4"
},
"hana": {
"deploy-format": "hdbtable"
},
"requires": {
"db": {
"kind": "hana"
},
"uaa": {
"kind": "xsuaa"
}
}
}
}