add prettier command to README

This commit is contained in:
Son Nguyen Kim
2021-08-03 16:37:08 +02:00
parent 39f0cb8913
commit 501f1004c8
+5 -1
View File
@@ -45,7 +45,11 @@ On Firefox, it can be done via `web-ext` tool from within the `/dist` folder:
( cd dist/ ; web-ext run )
```
The code is formatted using `prettier`, make sure to run it before creating the commit :).
The code is formatted using `prettier`, make sure to run it before creating the commit:
```bash
npm run prettier:write
```
## To build the project