cleaned up package.jsons
This commit is contained in:
@@ -28,8 +28,8 @@ npm install
|
|||||||
|
|
||||||
With that you're ready to run the samples, for example:
|
With that you're ready to run the samples, for example:
|
||||||
```sh
|
```sh
|
||||||
npm run bookshop # or...
|
cd bookshop
|
||||||
cd bookshop; cds watch
|
cds watch
|
||||||
```
|
```
|
||||||
|
|
||||||
After that open this link in your browser: <http://localhost:4004>
|
After that open this link in your browser: <http://localhost:4004>
|
||||||
|
|||||||
@@ -1,14 +1,10 @@
|
|||||||
{
|
{
|
||||||
"name": "@capire/bookshop",
|
"name": "@capire/bookshop",
|
||||||
"version": "1.0.0",
|
"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.",
|
"description": "A simple self-contained bookshop service.",
|
||||||
"dependencies": {
|
|
||||||
"@capire/common": "*"
|
|
||||||
},
|
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test:genres": "cds serve tests/genres.cds --in-memory",
|
"test:genres": "cds serve tests/genres.cds --in-memory",
|
||||||
"start": "cds run --in-memory?",
|
"start": "cds run --in-memory?",
|
||||||
"watch": "cds watch"
|
"watch": "cds watch"
|
||||||
},
|
}
|
||||||
"license": "SAP SAMPLE CODE LICENSE"
|
|
||||||
}
|
}
|
||||||
@@ -1,7 +1,4 @@
|
|||||||
{
|
{
|
||||||
"name": "@capire/common",
|
"name": "@capire/common",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0"
|
||||||
"description": "A reuse package providing common domain models and services for common data.",
|
|
||||||
"repository": "https://github.com/SAP-samples/cloud-cap-samples.git",
|
|
||||||
"license": "SAP SAMPLE CODE LICENSE"
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@capire/fiori",
|
"name": "@capire/fiori",
|
||||||
"version": "1.0.0",
|
"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.",
|
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@capire/bookshop": "*",
|
"@capire/bookshop": "*",
|
||||||
"@capire/orders": "*",
|
"@capire/orders": "*",
|
||||||
@@ -10,6 +9,5 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "cds run --in-memory?",
|
"start": "cds run --in-memory?",
|
||||||
"watch": "cds watch"
|
"watch": "cds watch"
|
||||||
},
|
}
|
||||||
"license": "SAP SAMPLE CODE LICENSE"
|
|
||||||
}
|
}
|
||||||
@@ -1,20 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@capire/reviews",
|
"name": "@capire/hello-world",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "A reuse service providing generic means to add reviews and ratings to target objects, e.g. products.",
|
|
||||||
"repository": "https://github.com/SAP-samples/cloud-cap-samples.git",
|
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"watch": "cds serve world.cds"
|
"watch": "cds serve world.cds"
|
||||||
},
|
}
|
||||||
"cds": {
|
|
||||||
"requires": {
|
|
||||||
"db": {
|
|
||||||
"kind": "sql"
|
|
||||||
},
|
|
||||||
"messaging": {
|
|
||||||
"kind": "file-based-messaging"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"license": "SAP SAMPLE CODE LICENSE"
|
|
||||||
}
|
}
|
||||||
@@ -1,9 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@capire/media",
|
"name": "@capire/media",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "A generic platform service to manage and serve media content on behalf of other services and apps.",
|
|
||||||
"repository": "https://github.com/SAP-samples/cloud-cap-samples.git",
|
|
||||||
"license": "SAP SAMPLE CODE LICENSE",
|
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"lokijs": "^1.5.6"
|
"lokijs": "^1.5.6"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
{
|
{
|
||||||
"name": "@capire/orders",
|
"name": "@capire/orders",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0"
|
||||||
"license": "SAP SAMPLE CODE LICENSE"
|
|
||||||
}
|
}
|
||||||
10
package.json
10
package.json
@@ -1,15 +1,14 @@
|
|||||||
{
|
{
|
||||||
"name": "@capire/samples",
|
"name": "@capire/samples",
|
||||||
"description": "The umbrella project for all samples to easily setup for local development and tests.",
|
"description": "A monorepo with several samples for CAP.",
|
||||||
"repository": "https://github.com/sap-samples/cloud-cap-samples.git",
|
"repository": "https://github.com/sap-samples/cloud-cap-samples.git",
|
||||||
"author": "daniel.hutzel@sap.com",
|
"author": "daniel.hutzel@sap.com",
|
||||||
"scripts": {
|
|
||||||
"bookshop": "cds watch fiori"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@capire/bookshop": "file:bookshop",
|
"@capire/bookshop": "file:bookshop",
|
||||||
"@capire/common": "file:common",
|
"@capire/common": "file:common",
|
||||||
|
"@capire/events": "file:events",
|
||||||
"@capire/fiori": "file:fiori",
|
"@capire/fiori": "file:fiori",
|
||||||
|
"@capire/media": "file:media",
|
||||||
"@capire/orders": "file:orders",
|
"@capire/orders": "file:orders",
|
||||||
"@capire/reviews": "file:reviews"
|
"@capire/reviews": "file:reviews"
|
||||||
},
|
},
|
||||||
@@ -17,6 +16,5 @@
|
|||||||
"chai": "^4.2.0",
|
"chai": "^4.2.0",
|
||||||
"chai-subset": "^1.6.0"
|
"chai-subset": "^1.6.0"
|
||||||
},
|
},
|
||||||
"license": "SAP SAMPLE CODE LICENSE",
|
"license": "SAP SAMPLE CODE LICENSE"
|
||||||
"private": true
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@capire/reviews",
|
"name": "@capire/reviews",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "A reuse service providing generic means to add reviews and ratings to target objects, e.g. products.",
|
|
||||||
"repository": "https://github.com/SAP-samples/cloud-cap-samples.git",
|
|
||||||
"files": [
|
"files": [
|
||||||
"db",
|
"db",
|
||||||
"srv",
|
"srv",
|
||||||
@@ -20,6 +18,5 @@
|
|||||||
"kind": "file-based-messaging"
|
"kind": "file-based-messaging"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
"license": "SAP SAMPLE CODE LICENSE"
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user