File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed
Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 1717 "@vitejs/plugin-react-swc" : " ^3.3.2" ,
1818 "autoprefixer" : " ^10.4.15" ,
1919 "postcss" : " ^8.4.27" ,
20+ "prettier" : " ^2.5.1" ,
21+ "prettier-plugin-organize-imports" : " ^3.2.2" ,
2022 "tailwindcss" : " ^3.3.3" ,
2123 "typescript" : " ^4.7.4" ,
2224 "vite" : " ^4.3.9" ,
2931 "build" : " vite build" ,
3032 "start" : " vite" ,
3133 "lint" : " tsc --noEmit" ,
32- "test" : " vitest"
34+ "test" : " vitest" ,
35+ "format" : " prettier --write 'src/**/*.{ts,tsx}'" ,
36+ "format-check" : " prettier --check 'src/**/*.{ts,tsx}'"
3337 },
3438 "prettier" : {
3539 "semi" : false ,
Original file line number Diff line number Diff line change @@ -1401,6 +1401,16 @@ postcss@^8.4.23, postcss@^8.4.27:
14011401 picocolors "^1.0.0"
14021402 source-map-js "^1.0.2"
14031403
1404+ prettier-plugin-organize-imports@^3.2.2 :
1405+ version "3.2.3"
1406+ resolved "https://registry.yarnpkg.com/prettier-plugin-organize-imports/-/prettier-plugin-organize-imports-3.2.3.tgz#6b0141ac71f7ee9a673ce83e95456319e3a7cf0d"
1407+ integrity sha512-KFvk8C/zGyvUaE3RvxN2MhCLwzV6OBbFSkwZ2OamCrs9ZY4i5L77jQ/w4UmUr+lqX8qbaqVq6bZZkApn+IgJSg==
1408+
1409+ prettier@^2.5.1 :
1410+ version "2.8.8"
1411+ resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da"
1412+ integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==
1413+
14041414pretty-format@^29.5.0 :
14051415 version "29.6.2"
14061416 resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-29.6.2.tgz#3d5829261a8a4d89d8b9769064b29c50ed486a47"
You can’t perform that action at this time.
0 commit comments