cleaned up package.jsons

This commit is contained in:
Daniel
2020-03-02 08:45:39 +01:00
parent 125cb6e5c2
commit ddb25d5ff5
9 changed files with 14 additions and 45 deletions

View File

@@ -28,8 +28,8 @@ npm install
With that you're ready to run the samples, for example:
```sh
npm run bookshop # or...
cd bookshop; cds watch
cd bookshop
cds watch
```
After that open this link in your browser: <http://localhost:4004>

View File

@@ -1,14 +1,10 @@
{
"name": "@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.",
"dependencies": {
"@capire/common": "*"
},
"description": "A simple self-contained bookshop service.",
"scripts": {
"test:genres": "cds serve tests/genres.cds --in-memory",
"start": "cds run --in-memory?",
"watch": "cds watch"
},
"license": "SAP SAMPLE CODE LICENSE"
}
}

View File

@@ -1,7 +1,4 @@
{
"name": "@capire/common",
"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"
"version": "1.0.0"
}

View File

@@ -1,7 +1,6 @@
{
"name": "@capire/fiori",
"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": {
"@capire/bookshop": "*",
"@capire/orders": "*",
@@ -10,6 +9,5 @@
"scripts": {
"start": "cds run --in-memory?",
"watch": "cds watch"
},
"license": "SAP SAMPLE CODE LICENSE"
}
}

View File

@@ -1,20 +1,7 @@
{
"name": "@capire/reviews",
"name": "@capire/hello-world",
"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": {
"watch": "cds serve world.cds"
},
"cds": {
"requires": {
"db": {
"kind": "sql"
},
"messaging": {
"kind": "file-based-messaging"
}
}
},
"license": "SAP SAMPLE CODE LICENSE"
}
}

View File

@@ -1,9 +1,6 @@
{
"name": "@capire/media",
"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": {
"lokijs": "^1.5.6"
},

View File

@@ -1,5 +1,4 @@
{
"name": "@capire/orders",
"version": "1.0.0",
"license": "SAP SAMPLE CODE LICENSE"
"version": "1.0.0"
}

View File

@@ -1,15 +1,14 @@
{
"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",
"author": "daniel.hutzel@sap.com",
"scripts": {
"bookshop": "cds watch fiori"
},
"dependencies": {
"@capire/bookshop": "file:bookshop",
"@capire/common": "file:common",
"@capire/events": "file:events",
"@capire/fiori": "file:fiori",
"@capire/media": "file:media",
"@capire/orders": "file:orders",
"@capire/reviews": "file:reviews"
},
@@ -17,6 +16,5 @@
"chai": "^4.2.0",
"chai-subset": "^1.6.0"
},
"license": "SAP SAMPLE CODE LICENSE",
"private": true
"license": "SAP SAMPLE CODE LICENSE"
}

View File

@@ -1,8 +1,6 @@
{
"name": "@capire/reviews",
"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": [
"db",
"srv",
@@ -20,6 +18,5 @@
"kind": "file-based-messaging"
}
}
},
"license": "SAP SAMPLE CODE LICENSE"
}
}