-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
45 lines (45 loc) · 1.02 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
{
"name": "react-ts-jest",
"version": "0.1.0",
"private": true,
"dependencies": {
"react": "^16.4.2",
"react-dom": "^16.4.2",
"react-scripts-ts": "2.17.0"
},
"scripts": {
"start": "react-scripts-ts start",
"build": "react-scripts-ts build",
"test": "jest --env=node",
"eject": "react-scripts-ts eject"
},
"devDependencies": {
"@types/jest": "^23.3.1",
"@types/node": "^10.5.7",
"@types/react": "^16.4.9",
"@types/react-dom": "^16.0.7",
"@types/react-test-renderer": "^16.0.2",
"jest": "^23.4.2",
"react-test-renderer": "^16.4.2",
"ts-jest": "^23.1.3",
"typescript": "^3.0.1"
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"moduleNameMapper": {
"\\.(css|scss)$": "<rootDir>/jest/CSStub.js",
"\\.(svg)$": "<rootDir>/jest/SVGtub.js"
}
}
}