create-app: add start-backend script to template

This commit is contained in:
Patrik Oldsberg
2020-12-29 11:17:58 +01:00
parent 57deaf0101
commit 352a6581ff
2 changed files with 12 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
---
'@backstage/create-app': patch
---
Added `"start-backend"` script to root `package.json`.
To apply this change to an existing app, add the following script to the root `package.json`:
```json
"start-backend": "yarn workspace backend start"
```
@@ -7,6 +7,7 @@
},
"scripts": {
"start": "yarn workspace app start",
"start-backend": "yarn workspace backend start",
"build": "lerna run build",
"build-image": "yarn workspace backend build-image",
"tsc": "tsc",