Skip to content

Commit cd8ee71

Browse files
committed
Standardize scripts on start: over serve:
1 parent 409e649 commit cd8ee71

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Using Docker locally gives you the most realistic simulation of a production
3838
environment:
3939

4040
```sh
41-
npm run serve:docker
41+
npm run start:docker
4242
```
4343

4444
## Ports

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
"test": "wireit",
1212
"build:dev": "wireit",
1313
"build:prod": "wireit",
14-
"serve:docker": "docker-compose -f docker/docker-compose.yml up --build --remove-orphans",
15-
"watch:dev": "npm run build:dev && (npm run serve:dev > /dev/null 2>&1 & WIREIT_FAILURES=continue npm run build-and-check:dev --watch)",
16-
"watch:prod": "npm run build:prod && (npm run serve:prod & WIREIT_FAILURES=continue npm run build-and-check:prod --watch)",
14+
"start:docker": "docker-compose -f docker/docker-compose.yml up --build --remove-orphans",
15+
"watch:dev": "npm run build:dev && (npm run start:dev > /dev/null 2>&1 & WIREIT_FAILURES=continue npm run build-and-check:dev --watch)",
16+
"watch:prod": "npm run build:prod && (npm run start:prod & WIREIT_FAILURES=continue npm run build-and-check:prod --watch)",
1717
"check": "wireit",
1818
"check:lint": "wireit",
1919
"build-and-check:dev": "wireit",

packages/site-server/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"scripts": {
1010
"build": "wireit",
1111
"check": "wireit",
12-
"serve:dev": "wireit",
13-
"serve:prod": "wireit"
12+
"start:dev": "wireit",
13+
"start:prod": "wireit"
1414
},
1515
"wireit": {
1616
"build": {
@@ -36,13 +36,13 @@
3636
],
3737
"output": []
3838
},
39-
"serve:dev": {
39+
"start:dev": {
4040
"command": "node --enable-source-maps ./lib/dev-server.js",
4141
"dependencies": [
4242
"build"
4343
]
4444
},
45-
"serve:prod": {
45+
"start:prod": {
4646
"command": "node --enable-source-maps ./lib/prod-server.js",
4747
"dependencies": [
4848
"build"

0 commit comments

Comments
 (0)