UNPKG

react-easy-setup

Version:

A custom React project setup with Husky and ESLint for pre-commit hooks and code quality

43 lines (42 loc) 1.15 kB
{ "name": "react-husky-js", "private": true, "version": "0.0.0", "type": "module", "scripts": { "dev": "vite", "build": "vite build", "preview": "vite preview", "format": "prettier --check .", "format:fix": "prettier --write . --ignore-unknown", "lint": "npm run format && eslint --no-cache --report-unused-disable-directives .", "lint:fix": "npm run format:fix && eslint --no-cache --fix --report-unused-disable-directives .", "prepare": "husky" }, "lint-staged": { "*.{js,jsx,ts,tsx}": [ "npm run format:fix", "npm run lint" ] }, "dependencies": { "react": "^18.3.1", "react-dom": "^18.3.1", "react-router": "^7.2.0" }, "devDependencies": { "@eslint/js": "^9.17.0", "@types/react": "^18.3.18", "@types/react-dom": "^18.3.5", "@vitejs/plugin-react-swc": "^3.5.0", "eslint": "^9.17.0", "eslint-plugin-react": "^7.37.2", "eslint-plugin-react-hooks": "^5.1.0", "eslint-plugin-react-refresh": "^0.4.18", "globals": "^15.14.0", "husky": "^9.1.7", "lint-staged": "^15.4.3", "prettier": "^3.4.2", "vite": "^6.0.5" } }