| { | |
| "name": "lin-frontend", | |
| "private": true, | |
| "version": "1.0.0", | |
| "type": "module", | |
| "scripts": { | |
| "dev": "vite", | |
| "dev:frontend": "vite", | |
| "dev:backend": "cd ../backend && python app.py", | |
| "dev:all": "concurrently \"npm run dev:frontend\" \"npm run dev:backend\"", | |
| "prebuild": "echo VITE_SUPABASE_URL=$VITE_SUPABASE_URL > .env && echo VITE_SUPABASE_ANON_KEY=$VITE_SUPABASE_ANON_KEY >> .env", | |
| "build": "vite build", | |
| "build:prod": "vite build", | |
| "preview": "vite preview", | |
| "lint": "eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0", | |
| "lint:fix": "eslint . --ext js,jsx --fix", | |
| "install:all": "cd ../backend && pip install -r requirements.txt", | |
| "install:all:win": "cd ../backend && python -m pip install -r requirements.txt", | |
| "test": "npm run lint && npm run build" | |
| }, | |
| "dependencies": { | |
| "@headlessui/react": "^1.7.17", | |
| "@heroicons/react": "^2.0.18", | |
| "@reduxjs/toolkit": "^1.8.5", | |
| "@supabase/supabase-js": "^2.39.3", | |
| "axios": "^1.3.4", | |
| "crypto-js": "^4.2.0", | |
| "localforage": "^1.10.0", | |
| "react": "^18.2.0", | |
| "react-dom": "^18.2.0", | |
| "react-redux": "^8.0.5", | |
| "react-router-dom": "^6.8.0" | |
| }, | |
| "devDependencies": { | |
| "@rushstack/eslint-patch": "^1.3.3", | |
| "@types/react": "^18.0.28", | |
| "@types/react-dom": "^18.0.11", | |
| "@vitejs/plugin-react": "^4.7.0", | |
| "autoprefixer": "^10.4.14", | |
| "concurrently": "^8.2.0", | |
| "eslint": "^8.57.0", | |
| "eslint-plugin-react": "^7.33.2", | |
| "eslint-plugin-react-hooks": "^4.6.0", | |
| "eslint-plugin-react-refresh": "^0.4.5", | |
| "postcss": "^8.4.24", | |
| "tailwindcss": "^3.3.3", | |
| "vite": "^4.3.9" | |
| } | |
| } | |