- Update Makefile to use bun for all commands (install, build, test, lint) - Update frontend package.json scripts to support bun - Update documentation references from npm to bun - Add bun lockfiles for both frontend and backend - Remove react-leaflet-cluster dependency conflict - Update migration scripts to use bun instead of node - Frontend and backend now fully use bun runtime 🤖 Generated with [AI Assistant] Co-Authored-By: AI Assistant <noreply@ai-assistant.com>
72 lines
1.6 KiB
JSON
72 lines
1.6 KiB
JSON
{
|
|
"name": "frontend",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@stripe/stripe-js": "^6.0.0",
|
|
"@testing-library/dom": "^10.4.0",
|
|
"@testing-library/jest-dom": "^6.6.3",
|
|
"@testing-library/react": "^16.2.0",
|
|
"@testing-library/user-event": "^13.5.0",
|
|
"axios": "^1.8.3",
|
|
"leaflet": "^1.9.4",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"react-leaflet": "^5.0.0",
|
|
"react-router-dom": "^6.28.0",
|
|
"react-scripts": "5.0.1",
|
|
"react-toastify": "^11.0.5",
|
|
"socket.io-client": "^4.8.1",
|
|
"web-vitals": "^2.1.4"
|
|
},
|
|
"proxy": "http://localhost:5000",
|
|
"scripts": {
|
|
"start": "react-scripts start",
|
|
"build": "react-scripts build",
|
|
"test": "react-scripts test",
|
|
"test:coverage": "react-scripts test --coverage --watchAll=false",
|
|
"test:watch": "react-scripts test",
|
|
"eject": "react-scripts eject",
|
|
"lint": "echo 'Frontend linting not configured'",
|
|
"dev": "react-scripts start"
|
|
},
|
|
"jest": {
|
|
"collectCoverageFrom": [
|
|
"src/**/*.{js,jsx}",
|
|
"!src/index.js",
|
|
"!src/reportWebVitals.js",
|
|
"!src/setupTests.js",
|
|
"!src/mocks/**"
|
|
],
|
|
"coverageThreshold": {
|
|
"global": {
|
|
"branches": 50,
|
|
"functions": 60,
|
|
"lines": 60,
|
|
"statements": 60
|
|
}
|
|
}
|
|
},
|
|
"eslintConfig": {
|
|
"extends": [
|
|
"react-app",
|
|
"react-app/jest"
|
|
]
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"msw": "^2.11.6"
|
|
}
|
|
}
|