Skip to content

Instantly share code, notes, and snippets.

@topeogunleye
Last active July 30, 2024 15:32
Show Gist options
  • Save topeogunleye/2fdfccd2ea17bcc40899fa047ea9a8f2 to your computer and use it in GitHub Desktop.
Save topeogunleye/2fdfccd2ea17bcc40899fa047ea9a8f2 to your computer and use it in GitHub Desktop.
Package Version - Building a Modern React App with Vite, ESLint, and Prettier In VSCode
{
"name": "my-react-app",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"lint": "eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview",
"format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,css}\""
},
"dependencies": {
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@eslint/js": "^9.8.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.1",
"eslint": "9.x",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-react": "^7.35.0",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.7",
"globals": "^15.8.0",
"prettier": "^3.3.3",
"vite": "^5.3.4"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment