cleaned up start scripts

This commit is contained in:
Daniel
2020-01-03 02:59:27 +01:00
parent eb7431afed
commit 583c97a494
7 changed files with 35 additions and 41 deletions

View File

@@ -11,7 +11,9 @@
"express": "*"
},
"scripts": {
"start": "npx cds run"
"reviews-service": "PORT=5005 cds run ../reviews-service --bind --in-memory?",
"start": "cds run --in-memory?",
"watch": "cds watch"
},
"cds": {
"requires": {

View File

@@ -8,6 +8,7 @@
"express": "*"
},
"scripts": {
"start": "npx cds run"
"start": "cds run --in-memory?",
"watch": "cds watch"
}
}

View File

@@ -28,7 +28,8 @@
"app", "srv", "db"
],
"scripts": {
"start": "cds run"
"start": "cds run --in-memory?",
"watch": "cds watch"
},
"cds": {
"requires": {

View File

@@ -8,6 +8,10 @@
"@sap/cds": "latest",
"express": "*"
},
"scripts": {
"start": "cds run --in-memory?",
"watch": "cds watch"
},
"files": [
"db",
"srv",