diff --git a/README.md b/README.md index 0318b13..c5ce98f 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ Source: https://www.programmfabrik.de/en/assignment-frontend-backend-developer-j ## Usage * `npm ci` to install dependencies; -* `npm check-and-run` to run linting, typechecking, tests, build everything and serve it from `PORT` environment variable or from port 3000. +* `npm run check-and-start` to run linting, typechecking, tests, build everything and serve it from `PORT` environment variable or from port 3000. (Yes, strictly speaking it's not just a static webpage with a bunch of client-side scripts. It's better. See "User interface" section in "Design" for more details.) diff --git a/package.json b/package.json index 0c41a51..0c4f243 100644 --- a/package.json +++ b/package.json @@ -6,8 +6,8 @@ "build:clean": "rimraf dist", "build:only": "tsc --project tsconfig.build.json", "build:static": "copyfiles -u 1 \"src/frontend/static/**/*\" dist", - "build-and-run": "npm run build && npm run start", - "check-and-run": "npm run prerelease && npm run build-and-run", + "build-and-start": "npm run build && npm run start", + "check-and-start": "npm run prerelease && npm run build-and-start", "lint": "eslint src", "prerelease": "npm run lint && npm run typecheck && npm run test", "start": "node ./dist/server.js",