Files
cloud-cap-samples/packages/bookshop/package.json
Matthias Bühl a458c7bb0d cleanup
2020-01-30 17:48:32 +01:00

36 lines
925 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",
"express": "*",
"passport": "^0.4.1"
},
"cds": {
"auth": {
"passport": {
"strategy": "mock",
"users": {
"alice": {
"password": "123",
"ID": "alice",
"roles": ["admin", "authenticated-user"],
"xs.user.attributes": { "currency": [ "USD" ] }
},
"bob": {
"password": "123",
"ID": "bob",
"roles": ["authenticated-user"]
}
}
}
}
},
"scripts": {
"start": "cds run --in-memory?",
"watch": "cds watch"
}
}