From 2a844fc6834c3fd512de78da4a8d1c20b41b384a Mon Sep 17 00:00:00 2001 From: Galen Guyer Date: Fri, 13 Nov 2020 20:35:58 -0500 Subject: Add prettier --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index 8fe474c..f209c7b 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "@testing-library/jest-dom": "^5.11.4", "@testing-library/react": "^11.1.0", "@testing-library/user-event": "^12.1.10", + "prettier": "^2.1.2", "react": "^17.0.1", "react-dom": "^17.0.1", "react-scripts": "4.0.0", @@ -15,7 +16,8 @@ "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test", - "eject": "react-scripts eject" + "eject": "react-scripts eject", + "prettier": "prettier --write ./src/ ./public/" }, "eslintConfig": { "extends": [ -- cgit v1.2.3