diff options
author | Ernst Widerberg <ernst@sunet.se> | 2022-06-14 12:46:45 +0200 |
---|---|---|
committer | Ernst Widerberg <ernst@sunet.se> | 2022-06-14 12:46:45 +0200 |
commit | 61e882e0fd29e97747cf0a21563c684a90f9f602 (patch) | |
tree | 61de061a0ea3b6f910120dd761d4eca450dfdbcd | |
parent | afa0ee1b67e34b8b568a48210d283b0317096c17 (diff) |
-rw-r--r-- | README.md | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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 |