48dba6457d
* chore: convert Jest examples to TypeScript * test: use absolute imports in test files * chore: address review comments * fix: add pages to tsconfig.json paths * fix: add styles to tsconfig.json paths * chore: upgrade dependencies/snapshots * docs: match Testing docs with example code * docs: link to docs from mock test files Co-authored-by: Lee Robinson <me@leerob.io>
26 lines
607 B
JSON
26 lines
607 B
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"lint": "next lint",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"test": "jest --watch",
|
|
"test:ci": "jest --ci"
|
|
},
|
|
"dependencies": {
|
|
"next": "latest",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/jest-dom": "5.16.1",
|
|
"@testing-library/react": "12.1.2",
|
|
"@testing-library/user-event": "13.5.0",
|
|
"babel-jest": "27.4.5",
|
|
"eslint": "8.5.0",
|
|
"eslint-config-next": "latest",
|
|
"eslint-plugin-testing-library": "5.0.1",
|
|
"jest": "27.4.5"
|
|
}
|
|
}
|