forked from arcatdmz/nextjs-with-jest-typescript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.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": "^10.0.9",
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"devDependencies": {
"@types/enzyme": "^3.10.8",
"@types/jest": "^26.0.21",
"@types/react": "^17.0.3",
"@types/react-dom": "^17.0.3",
"@wojtekmaj/enzyme-adapter-react-17": "^0.5.0",
"enzyme": "^3.11.0",
"jest": "^26.6.3",
"ts-jest": "^26.5.4",
"typescript": "^4.2.3"
},
"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"
}
}
}
}