summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md9
1 files changed, 6 insertions, 3 deletions
diff --git a/README.md b/README.md
index 71a5953..0bef849 100644
--- a/README.md
+++ b/README.md
@@ -22,9 +22,12 @@ An example configuration is supplied in `.env`, which corresponds to the default
| | |
|-|-|
-| `npm run start` | Compile and start Parcel development server with hot reloading |
-| `npm run build` | Only compile, normally not used except in Docker workflow |
-| `docker-compose up` | Compile and serve from dockerized nginx (production setup) |
+| `npm run start` | Compile and start Parcel development server with hot reloading |
+| `npm run build` | Only compile, normally not used except in Docker workflow |
+| `docker-compose up` | Compile and serve from dockerized nginx (production setup) |
+| `npx prettier --write src` | Format code with Prettier* |
+
+*You might want to configure your editor to e.g. format automatically on file write. In this case just make sure your setup respects the Prettier configuration in `package.json` and the contents of `.prettierignore`.
## Explanation of env var injection