rsnext/examples/with-xata/package.json
Atila Fassina 2fa33b351b
Add with-xata example (#39864)
This Pull Request adds a `with-xata` example to use [Xata](https://xata.io) as the data layer of a Next.js app.

## Documentation / Examples

- [x] Make sure the linting passes by running `pnpm lint`
- [x] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)


Co-authored-by: Balázs Orbán <18369201+balazsorban44@users.noreply.github.com>
2022-09-29 22:37:28 +00:00

26 lines
646 B
JSON

{
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"start:xata": "xata init --schema=schema.template.json --codegen=utils/xata.codegen.ts",
"poststart:xata": "xata codegen",
"xata": "xata codegen"
},
"devDependencies": {
"@types/node": "18.6.5",
"@types/react": "18.0.17",
"@types/react-dom": "18.0.6",
"@xata.io/cli": "0.8.1",
"eslint": "8.21.0",
"eslint-config-next": "latest",
"typescript": "4.7.4"
},
"dependencies": {
"@xata.io/client": "^0.16.1",
"next": "latest",
"react": "^18.2.0",
"react-dom": "^18.2.0"
}
}