-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
44 lines (44 loc) · 1.24 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
{
"name": "jestTypeScriptReact",
"version": "1.0.0",
"description": "",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"test": "jest",
"build": "rm -rf dist && mkdir dist && tsc -p tsconfig.json && cp src/index.html dist"
},
"keywords": [],
"author": "Theviyanthan",
"license": "ISC",
"jest": {
"globals": {
"APP_NAME": "Demo"
},
"transform": {
"^.+\\.tsx$": "ts-jest",
"^.+\\.ts$": "ts-jest"
},
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/src/mocks/file_mock.js",
"\\.(css|less)$": "<rootDir>/src/mocks/style_mock.js"
},
"setupFilesAfterEnv": [
"<rootDir>/src/setup_test.ts"
]
},
"dependencies": {
"npm": "^6.14.6",
"react": "^16.12.0",
"react-dom": "^16.12.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@types/jest": "^24.0.23",
"jest": "^24.9.0",
"ts-jest": "^24.2.0",
"ts-loader": "^6.2.1",
"typescript": "^3.7.2"
}
}