39 lines
1.1 KiB
JSON
39 lines
1.1 KiB
JSON
|
{
|
||
|
"name": "lec4",
|
||
|
"private": true,
|
||
|
"version": "0.0.0",
|
||
|
"type": "module",
|
||
|
"scripts": {
|
||
|
"lint": "eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0",
|
||
|
"rest": "json-server data.json",
|
||
|
"vite": "vite",
|
||
|
"dev": "npm-run-all --parallel rest vite",
|
||
|
"prod": "npm-run-all lint 'vite build' --parallel rest 'vite preview'"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"axios": "^1.6.5",
|
||
|
"bootstrap": "^5.3.2",
|
||
|
"prop-types": "^15.8.1",
|
||
|
"react": "^18.2.0",
|
||
|
"react-bootstrap": "^2.9.1",
|
||
|
"react-bootstrap-icons": "^1.10.3",
|
||
|
"react-dom": "^18.2.0",
|
||
|
"react-hot-toast": "^2.4.1",
|
||
|
"react-router-dom": "^6.18.0"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@types/react": "^18.2.15",
|
||
|
"@types/react-dom": "^18.2.15",
|
||
|
"@vitejs/plugin-react": "^4.0.3",
|
||
|
"eslint": "^8.45.0",
|
||
|
"eslint-config-airbnb-base": "^15.0.0",
|
||
|
"eslint-plugin-import": "^2.29.0",
|
||
|
"eslint-plugin-react": "^7.32.2",
|
||
|
"eslint-plugin-react-hooks": "^4.6.0",
|
||
|
"eslint-plugin-react-refresh": "^0.4.3",
|
||
|
"json-server": "^0.17.4",
|
||
|
"npm-run-all": "^4.1.5",
|
||
|
"vite": "^4.4.5"
|
||
|
}
|
||
|
}
|