diff options
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 57 |
1 files changed, 19 insertions, 38 deletions
diff --git a/package.json b/package.json index e81a4ed..056b32f 100644 --- a/package.json +++ b/package.json @@ -1,45 +1,26 @@ { - "name": "admin-panel", - "version": "0.1.0", + "name": "admin", "private": true, - "dependencies": { - "@testing-library/jest-dom": "^5.14.1", - "@testing-library/react": "^13.0.0", - "@testing-library/user-event": "^13.2.1", - "axios": "^1.7.2", - "bcryptjs": "^2.4.3", - "body-parser": "^1.20.2", - "cors": "^2.8.5", - "express": "^4.19.2", - "jsonwebtoken": "^9.0.2", - "react": "^18.3.1", - "react-dom": "^18.3.1", - "react-router-dom": "^6.25.1", - "react-scripts": "5.0.1", - "web-vitals": "^2.1.0" - }, + "version": "0.0.0", + "type": "module", "scripts": { - "start": "react-scripts start", - "build": "react-scripts build", - "test": "react-scripts test", - "eject": "react-scripts eject" + "dev": "vite", + "build": "vite build", + "lint": "eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0", + "preview": "vite preview" }, - "eslintConfig": { - "extends": [ - "react-app", - "react-app/jest" - ] + "dependencies": { + "react": "^18.3.1", + "react-dom": "^18.3.1" }, - "browserslist": { - "production": [ - ">0.2%", - "not dead", - "not op_mini all" - ], - "development": [ - "last 1 chrome version", - "last 1 firefox version", - "last 1 safari version" - ] + "devDependencies": { + "@types/react": "^18.3.3", + "@types/react-dom": "^18.3.0", + "@vitejs/plugin-react-swc": "^3.5.0", + "eslint": "^8.57.0", + "eslint-plugin-react": "^7.34.3", + "eslint-plugin-react-hooks": "^4.6.2", + "eslint-plugin-react-refresh": "^0.4.7", + "vite": "^5.3.4" } } |