c0986eed06
## 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) The https://www.npmjs.com/package/@testing-library/jest-dom is included in the `with-jest` and `with-jest-babel` examples, but that package has DT types which are not included and may cause TS errors. This PR adds them
25 lines
596 B
JSON
25 lines
596 B
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"test": "jest --watch",
|
|
"test:ci": "jest --ci"
|
|
},
|
|
"dependencies": {
|
|
"next": "latest",
|
|
"react": "^18.1.0",
|
|
"react-dom": "^18.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/jest-dom": "5.16.4",
|
|
"@testing-library/react": "13.2.0",
|
|
"@testing-library/user-event": "14.2.0",
|
|
"@types/react": "18.0.9",
|
|
"@types/testing-library__jest-dom": "5.14.5",
|
|
"jest": "28.1.0",
|
|
"jest-environment-jsdom": "28.1.0",
|
|
"typescript": "4.6.4"
|
|
}
|
|
}
|