-
Notifications
You must be signed in to change notification settings - Fork 27
/
package.json
61 lines (61 loc) · 1.49 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"name": "nextjs-with-jest-typescript",
"version": "1.0.0",
"description": "A very simple example of Next.js-based website with Jest tests, all written in TypeScript",
"scripts": {
"test": "jest",
"dev": "next",
"build": "next build",
"start": "next start",
"export": "next export"
},
"repository": {
"type": "git",
"url": "git+https://github.com/arcatdmz/nextjs-with-jest-typescript.git"
},
"author": "Jun Kato",
"license": "MIT",
"bugs": {
"url": "https://github.com/arcatdmz/nextjs-with-jest-typescript/issues"
},
"homepage": "https://github.com/arcatdmz/nextjs-with-jest-typescript#readme",
"dependencies": {
"next": "^11.1.1",
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"devDependencies": {
"@types/enzyme": "^3.10.9",
"@types/jest": "^27.0.1",
"@types/react": "^17.0.19",
"@types/react-dom": "^17.0.9",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.3",
"enzyme": "^3.11.0",
"jest": "^27.0.6",
"ts-jest": "^27.0.5",
"typescript": "^4.3.5"
},
"jest": {
"moduleNameMapper": {
"\\.(css|less)$": "<rootDir>/__mocks__/styleMock.js"
},
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
},
"testMatch": [
"**/__tests__/*.(ts|tsx)"
],
"setupFilesAfterEnv": [
"<rootDir>/jest.setup.ts"
],
"testPathIgnorePatterns": [
"./.next/",
"./node_modules/"
],
"globals": {
"ts-jest": {
"tsconfig": "tsconfig.jest.json"
}
}
}
}