diff options
author | Galen Guyer <galen@galenguyer.com> | 2020-11-13 20:35:58 -0500 |
---|---|---|
committer | Galen Guyer <galen@galenguyer.com> | 2020-11-13 20:35:58 -0500 |
commit | 2a844fc6834c3fd512de78da4a8d1c20b41b384a (patch) | |
tree | 6a7c77666a9b7413c5a61f0d483824633808000c /package.json | |
parent | a0746693e981b5cf2288f467913745b56f2be468 (diff) |
Add prettier
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 4 |
1 files changed, 3 insertions, 1 deletions
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": [ |