Added graphql

This commit is contained in:
2022-08-20 22:29:54 +02:00
parent 94986d336e
commit 476816a5d9
27 changed files with 3414 additions and 409 deletions

View File

@@ -1,25 +1,32 @@
{
"name": "cibus-front",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview"
"dev": "next dev",
"build": "next build",
"start": "next start",
"generate:graphql": "graphql-codegen"
},
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
"@apollo/client": "^3.6.9",
"graphql": "^16.6.0",
"graphql-tag": "^2.12.6",
"next": "latest",
"react": "18.1.0",
"react-dom": "18.1.0"
},
"devDependencies": {
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"@vitejs/plugin-react": "^2.0.0",
"autoprefixer": "^10.4.8",
"postcss": "^8.4.16",
"tailwindcss": "^3.1.8",
"typescript": "^4.6.4",
"vite": "^3.0.0"
"@graphql-codegen/cli": "^2.11.6",
"@graphql-codegen/typed-document-node": "^2.3.3",
"@graphql-codegen/typescript": "^2.7.3",
"@graphql-codegen/typescript-operations": "^2.5.3",
"@graphql-codegen/typescript-react-apollo": "^3.3.3",
"@graphql-codegen/typescript-react-query": "^4.0.1",
"@types/node": "17.0.35",
"@types/react": "18.0.9",
"@types/react-dom": "18.0.5",
"autoprefixer": "^10.4.7",
"postcss": "^8.4.14",
"tailwindcss": "^3.1.2",
"typescript": "4.7.2"
}
}