forked from kiwipower/react-offline-test
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
74 lines (74 loc) · 1.86 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
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"private": true,
"scripts": {
"test": "npx jest",
"test:watch": "npx jest --watch",
"start": "webpack-dev-server --hot --progress --colors",
"e2e": "npx cypress open"
},
"dependencies": {
"date-fns": "^2.6.0",
"react": "^16.9.0",
"react-dom": "^16.9.0"
},
"devDependencies": {
"@babel/core": "^7.5.5",
"@babel/helpers": "^7.5.5",
"@babel/plugin-transform-runtime": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@babel/preset-react": "^7.0.0",
"@babel/runtime": "^7.5.5",
"@types/enzyme": "^3.10.3",
"@types/jest": "^24.0.18",
"@types/react": "^16.9.11",
"@types/react-dom": "^16.9.3",
"babel-jest": "^24.9.0",
"babel-loader": "^8.0.6",
"css-loader": "^3.2.0",
"cypress": "^3.5.0",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.15.1",
"enzyme-to-json": "^3.4.3",
"file-loader": "^4.2.0",
"html-webpack-plugin": "^3.2.0",
"install": "^0.13.0",
"jest": "^24.8.0",
"jest-fetch-mock": "^2.1.2",
"jest-transform-stub": "^2.0.0",
"mini-css-extract-plugin": "^0.8.0",
"npm": "^6.12.0",
"react-test-renderer": "^16.11.0",
"ts-jest": "^24.0.2",
"ts-loader": "^6.2.1",
"typescript": "^3.6.2",
"webpack": "^4.39.1",
"webpack-cli": "^3.3.6",
"webpack-dev-server": "^3.8.0"
},
"jest": {
"automock": false,
"setupFiles": [
"./setupJest.ts"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"testRegex": "\\.(test|spec)\\.(j|t)sx?$",
"transform": {
"^.+\\.jsx?$": "babel-jest",
"^.+\\.tsx?$": "ts-jest"
},
"moduleNameMapper": {
"^.+.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$": "jest-transform-stub"
},
"testPathIgnorePatterns": [
"<rootDir>/cypress"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx"
]
}
}