Migrated from React to NextJS

This commit is contained in:
2022-10-14 13:58:57 +02:00
parent b2a16e5181
commit b4ff0c8f77
72 changed files with 1557 additions and 1686 deletions

View File

@ -1,53 +1,47 @@
{
"name": "client",
"name": "kratos-nextjs-react-example",
"version": "0.1.0",
"private": true,
"version": "0.0.0",
"type": "module",
"config": {
"prettierTarget": "{cypress,pages,styles,public,}{/**/,}*.{tsx,ts,json,md,js,css}"
},
"scripts": {
"dev": "vite",
"build": "tsc && vite build --outDir ../dist",
"preview": "vite preview",
"lint": "eslint --fix --ext .js,.ts,.tsx ./src --ignore-path .gitignore",
"prettier": "prettier --ignore-path .gitignore --write \"**/*.+(js|json|ts|tsx)\"",
"cypress": "cypress"
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"format": "prettier --write ${npm_package_config_prettierTarget}",
"format:check": "prettier --check ${npm_package_config_prettierTarget}",
"test": "cypress run",
"test:dev": "cypress open"
},
"dependencies": {
"@headlessui/react": "^1.7.2",
"@heroicons/react": "^2.0.11",
"@headlessui/react": "^1.7.3",
"@heroicons/react": "^2.0.12",
"@hookform/resolvers": "^2.9.8",
"axios": "^0.27.2",
"@ory/client": "0.0.1-alpha.169",
"@ory/integrations": "0.2.5",
"axios": "^1.1.2",
"clsx": "^1.2.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hook-form": "^7.36.1",
"react-router-dom": "^6.4.1",
"tailwind-scrollbar": "^2.0.1",
"next": "12.1.5",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-hook-form": "^7.37.0",
"tailwind-scrollbar": "2.1.0-preview.0",
"zod": "^3.19.1"
},
"devDependencies": {
"@testing-library/cypress": "^8.0.3",
"@types/react": "^18.0.17",
"@types/react-dom": "^18.0.6",
"@typescript-eslint/eslint-plugin": "^5.39.0",
"@typescript-eslint/parser": "^5.39.0",
"@vitejs/plugin-react": "^2.1.0",
"@trivago/prettier-plugin-sort-imports": "^2.0.2",
"@types/node": "16.11.6",
"@types/react": "17.0.33",
"autoprefixer": "^10.4.12",
"cypress": "^10.9.0",
"eslint": "^8.24.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^3.5.1",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest-dom": "^4.0.2",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.8",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-testing-library": "^5.7.2",
"postcss": "^8.4.16",
"prettier": "^2.7.1",
"cypress": "^9.6.0",
"eslint": "7.32.0",
"eslint-config-next": "12.0.1",
"ory-prettier-styles": "^1.1.2",
"postcss": "^8.4.18",
"prettier": "^2.3.2",
"tailwindcss": "^3.1.8",
"typescript": "^4.6.4",
"vite": "^3.1.0"
"typescript": "4.4.4"
}
}
}