aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2024-07-25 18:52:28 +0530
committerLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2024-07-25 18:52:28 +0530
commit458a8c849da82adf045a40919a4a9e3aa06e1c06 (patch)
tree12a38c835c45a66f0fd194dfa832aab618c1ff32 /package.json
parentf80a3c811059a22f91842658aaace9e283a704d1 (diff)
downloadadmin-panel-458a8c849da82adf045a40919a4a9e3aa06e1c06.tar.gz
admin-panel-458a8c849da82adf045a40919a4a9e3aa06e1c06.tar.bz2
admin-panel-458a8c849da82adf045a40919a4a9e3aa06e1c06.zip
initialized vite+react project
Diffstat (limited to 'package.json')
-rw-r--r--package.json57
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"
}
}