Start setting up Next js with the new app router

This commit is contained in:
Ben Grant 2023-05-19 23:59:44 +10:00
parent 49c6281b74
commit 2adecd13f7
147 changed files with 2637 additions and 3667 deletions

View file

@ -1,51 +1,46 @@
{
"name": "crabfit-frontend",
"version": "1.0.0",
"version": "2.0.0",
"private": true,
"license": "GPL-3.0-only",
"scripts": {
"dev": "vite",
"build": "vite build",
"lint": "eslint --ext .js,.jsx ./src"
"dev": "next dev --port 1234",
"build": "next build",
"start": "next start",
"lint": "next lint"
},
"dependencies": {
"@azure/msal-browser": "^2.28.1",
"@microsoft/microsoft-graph-client": "^3.0.2",
"dayjs": "^1.11.5",
"@azure/msal-browser": "^2.37.0",
"@microsoft/microsoft-graph-client": "^3.0.5",
"accept-language": "^3.0.18",
"dayjs": "^1.11.7",
"gapi-script": "^1.2.0",
"goober": "^2.1.10",
"goober": "^2.1.13",
"hue-map": "^1.0.0",
"i18next": "^21.9.0",
"i18next-browser-languagedetector": "^6.1.5",
"i18next-http-backend": "^1.4.1",
"lucide-react": "^0.84.0",
"i18next": "^22.5.0",
"i18next-browser-languagedetector": "^7.0.1",
"i18next-http-backend": "^2.2.1",
"i18next-resources-to-backend": "^1.1.4",
"lucide-react": "^0.220.0",
"next": "^13.4.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hook-form": "^7.34.1",
"react-i18next": "^11.18.4",
"react-router-dom": "^6.3.0",
"workbox-background-sync": "^6.5.4",
"workbox-broadcast-update": "^6.5.4",
"workbox-cacheable-response": "^6.5.4",
"workbox-core": "^6.5.4",
"workbox-expiration": "^6.5.4",
"workbox-google-analytics": "^6.5.4",
"workbox-navigation-preload": "^6.5.4",
"workbox-precaching": "^6.5.4",
"workbox-range-requests": "^6.5.4",
"workbox-routing": "^6.5.4",
"workbox-strategies": "^6.5.4",
"workbox-streams": "^6.5.4",
"workbox-window": "^6.5.4",
"zustand": "^4.0.0"
"react-hook-form": "^7.43.9",
"react-i18next": "^12.3.1",
"zustand": "^4.3.8"
},
"devDependencies": {
"@vitejs/plugin-react": "^2.0.1",
"eslint": "^8.22.0",
"eslint-plugin-react": "^7.30.1",
"vite": "^3.0.7",
"vite-plugin-pwa": "^0.12.3",
"workbox-webpack-plugin": "^6.5.4"
"@types/node": "^20.2.1",
"@types/react": "^18.2.6",
"@types/react-dom": "^18.2.4",
"@typescript-eslint/eslint-plugin": "^5.59.6",
"@typescript-eslint/parser": "^5.59.6",
"eslint": "^8.40.0",
"eslint-config-next": "^13.4.3",
"eslint-plugin-simple-import-sort": "^10.0.0",
"sass": "^1.62.1",
"typescript": "^5.0.4",
"typescript-plugin-css-modules": "^5.0.1"
},
"browserslist": {
"production": [