Files
cloud-cap-samples/packages/bookshop/package.json
2019-12-16 20:22:12 +01:00

44 lines
1022 B
JSON

{
"name": "@sap/capire-bookshop",
"version": "1.0.0",
"description": "A simple bookshop application, build in a self-contained all-in-one fashion, i.e. w/o reusing other packages.",
"license": "SAP SAMPLE CODE LICENSE",
"dependencies": {
"@sap/cds": "latest",
"@sap/xb-msg-amqp-v100": "^0.9.31-SNAPSHOT",
"express": "*",
"passport": "^0.4.0",
"sqlite3": "^4.1.0"
},
"scripts": {
"start": "npx cds run"
},
"cds": {
"requires": {
"API_BUSINESS_PARTNER": {
"kind": "odata",
"model": "srv/external/API_BUSINESS_PARTNER",
"credentials": {
"destination": "cap-api532",
"prefix": "sap/S4HANAOD/c532/BO"
}
},
"messaging": {
"kind": "enterprise-messaging"
}
},
"auth": {
"passport": {
"strategy": "mock",
"users": {
"alice": {
"roles": ["admin"],
"password": "secret",
"ID": "ALICE"
}
}
}
}
}
}