rsnext/examples/with-redux/package.json
Vasu Singh f9346f15d7
Update @testing-library/react in with-redux example (#46085)
<!--
Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request that
you follow the checklist sections below.
Choose the right checklist for the change(s) that you're making:
-->

Updating the @testing-library/react as the older one is not compatible
with react-18.
<img width="926" alt="Screenshot 2023-02-18 at 12 26 55 PM"
src="https://user-images.githubusercontent.com/85363195/219846347-74a11525-1938-4fb2-aa4a-f97a81a8d4ab.png">


## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a helpful link attached, see
[`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md)

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the
feature request has been accepted for implementation before opening a
PR.
- [ ] Related issues linked using `fixes #number`
- [ ]
[e2e](https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs)
tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have a helpful link attached, see
[`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md)

## Documentation / Examples

- [ ] Make sure the linting passes by running `pnpm build && pnpm lint`
- [ ] The "examples guidelines" are followed from [our contributing
doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
2023-02-17 23:21:43 -08:00

32 lines
788 B
JSON

{
"private": true,
"scripts": {
"dev": "next",
"build": "next build",
"start": "next start",
"type-check": "tsc",
"test": "jest"
},
"dependencies": {
"@reduxjs/toolkit": "^1.3.6",
"next": "latest",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"react-redux": "^7.2.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.0.0",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^13.0.0",
"@types/jest": "^27.0.1",
"@types/node": "^16.9.1",
"@types/react": "^18.0.10",
"@types/react-dom": "^18.0.5",
"@types/react-redux": "^7.1.18",
"jest": "^27.2.0",
"jest-css-modules-transform": "^4.2.0",
"ts-jest": "^27.0.5",
"ts-node": "^10.2.1",
"typescript": "^4.3.4"
}
}