diff --git a/package-lock.json b/package-lock.json index 4b807a2..51745e1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,6 +9,7 @@ "version": "0.0.0", "dependencies": { "@tailwindcss/vite": "^4.0.2", + "prettier": "^3.4.2", "react": "^18.3.1", "react-dom": "^18.3.1", "react-router-dom": "^7.1.5", @@ -3224,6 +3225,21 @@ "node": ">= 0.8.0" } }, + "node_modules/prettier": { + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.4.2.tgz", + "integrity": "sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ==", + "license": "MIT", + "bin": { + "prettier": "bin/prettier.cjs" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, "node_modules/punycode": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", diff --git a/package.json b/package.json index acf4321..bc51c1c 100644 --- a/package.json +++ b/package.json @@ -7,10 +7,13 @@ "dev": "vite", "build": "tsc -b && vite build", "lint": "eslint .", - "preview": "vite preview" + "preview": "vite preview", + "prettier:check": "prettier --check .", + "prettier:write": "prettier --write ." }, "dependencies": { "@tailwindcss/vite": "^4.0.2", + "prettier": "^3.4.2", "react": "^18.3.1", "react-dom": "^18.3.1", "react-router-dom": "^7.1.5", @@ -29,4 +32,4 @@ "typescript-eslint": "^8.18.2", "vite": "^6.0.5" } -} +} \ No newline at end of file