Files
cloud-cap-samples/packages/bookshop/package.json

67 lines
1.7 KiB
JSON

{
<<<<<<< HEAD
"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",
"hdb": "^0.17.1"
},
"scripts": {
"start": "cds run --in-memory?",
"watch": "cds watch"
},
"cds": {
"requires": {
"db": {
"kind": "sqlite",
"[production]": {
"kind": "hana"
},
"model": "srv"
},
"uaa": {
"kind": "xsuaa"
}
}
}
=======
"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"
}
>>>>>>> cad3a32c78620f4c4558fad34991dd48866af8d3
}