summaryrefslogtreecommitdiff
path: root/frontend/package.json
diff options
context:
space:
mode:
authorJoe Carstairs <jcarstairs@scottlogic.com>2023-08-02 18:35:52 +0100
committerJoe Carstairs <jcarstairs@scottlogic.com>2023-08-02 18:57:52 +0100
commit944cf75b3aee146b16ac2a0e623037c131adc355 (patch)
treea13707ae2311decf9b97c5a30807ca21ba9cce59 /frontend/package.json
parentedc414b64e12bb0aff1abcaa8495b1e09ef2dc3f (diff)
Installs Prettier
Diffstat (limited to 'frontend/package.json')
-rw-r--r--frontend/package.json10
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
+}