diff options
| author | Joe Carstairs <jcarstairs@scottlogic.com> | 2023-08-02 18:35:52 +0100 |
|---|---|---|
| committer | Joe Carstairs <jcarstairs@scottlogic.com> | 2023-08-02 18:57:52 +0100 |
| commit | 944cf75b3aee146b16ac2a0e623037c131adc355 (patch) | |
| tree | a13707ae2311decf9b97c5a30807ca21ba9cce59 /frontend/package.json | |
| parent | edc414b64e12bb0aff1abcaa8495b1e09ef2dc3f (diff) | |
Installs Prettier
Diffstat (limited to 'frontend/package.json')
| -rw-r--r-- | frontend/package.json | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/frontend/package.json b/frontend/package.json index b575b4b..1a71c52 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -6,9 +6,15 @@ "start": "astro dev", "build": "astro build", "preview": "astro preview", - "astro": "astro" + "astro": "astro", + "format": "prettier ./**/* --check", + "format--write": "prettier ./**/* --write" }, "dependencies": { "astro": "^2.9.7" + }, + "devDependencies": { + "prettier": "^3.0.0", + "prettier-plugin-astro": "^0.11.0" } -}
\ No newline at end of file +} |
