forked from SAP-samples/cap-bookshop-wdi5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
78 lines (78 loc) · 1.99 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
{
"name": "@capire/bookshop",
"version": "1.0.0",
"description": "A simple self-contained bookshop service.",
"files": [
"app",
"srv",
"db",
"index.cds",
"index.js"
],
"workspaces": [
"app",
"app/admin-books"
],
"dependencies": {
"@sap/cds": "^6.3.2",
"@sap/cds-dk": "^6.4.0",
"@sap/cds-odata-v2-adapter-proxy": "^1.9.0",
"@sap/xssec": "^3",
"express": "^4.17.1",
"passport": ">=0.4.1",
"sqlite3": "^5"
},
"devDependencies": {
"@sap/ux-specification": "^1.102.14",
"axios": "^1",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"chai-subset": "^1.6.0",
"semver": "^7"
},
"scripts": {
"genres": "cds serve test/genres.cds",
"start": "cds deploy && cds run",
"watch": "cds watch",
"undeploy": "cf undeploy capire-bookshop --delete-services --delete-service-keys --delete-service-brokers",
"build": "rimraf resources && mbt build -t gen --mtar mta.tar",
"deploy": "cf deploy gen/mta.tar -f"
},
"engines": {
"node": "^16"
},
"cds": {
"features": {
"fiori_preview": true,
"fiori_routes": true
},
"requires": {
"db": "sql",
"auth": {
"kind": "dummy"
},
"[production]": {
"db": {
"kind": "sqlite",
"credentials": {
"database": "wdi5.db"
}
},
"auth": {
"kind": "dummy"
}
},
"[development]": {
"db": {
"kind": "sqlite",
"credentials": {
"database": "wdi5.db"
}
}
}
}
},
"sapux": [
"app/admin-books"
]
}