-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
90 lines (90 loc) · 2.48 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"name": "github-search-app",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"dev": "webpack-dev-server --mode development --open --hot --history-api-fallback",
"build": "webpack --mode production",
"test": "jest"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@babel/preset-env": "^7.5.5",
"@babel/preset-react": "^7.0.0",
"@types/chai": "^4.1.7",
"@types/classnames": "^2.2.9",
"@types/enzyme": "^3.10.3",
"@types/enzyme-adapter-react-16": "^1.0.5",
"@types/react": "^16.8.23",
"@types/react-dom": "^16.8.4",
"@types/react-redux": "^7.1.1",
"@types/redux-mock-store": "^1.0.1",
"@types/styled-components": "^4.1.18",
"@typescript-eslint/eslint-plugin": "^1.13.0",
"@typescript-eslint/parser": "^1.13.0",
"awesome-typescript-loader": "^5.2.1",
"babel-jest": "^24.8.0",
"chai": "^4.2.0",
"css-loader": "^3.1.0",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.14.0",
"enzyme-to-json": "^3.3.5",
"eslint": "^6.1.0",
"eslint-config-prettier": "^6.0.0",
"eslint-plugin-prettier": "^3.1.0",
"html-webpack-plugin": "^3.2.0",
"jest": "^24.8.0",
"prettier": "^1.18.2",
"react-test-renderer": "^16.8.6",
"redux-devtools-extension": "^2.13.8",
"redux-mock-store": "^1.5.3",
"source-map-loader": "^0.2.4",
"style-loader": "^0.23.1",
"ts-jest": "^24.0.2",
"typescript": "^3.5.3",
"webpack": "^4.36.1",
"webpack-cli": "^3.3.6",
"webpack-dev-server": "^3.7.2"
},
"dependencies": {
"@types/jest": "^24.0.15",
"antd": "^3.20.5",
"axios": "^0.19.0",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-redux": "^7.1.0",
"redux-thunk": "^2.3.0",
"styled-components": "^4.3.2"
},
"jest": {
"transform": {
"^.+\\.js$": "<rootDir>/node_modules/babel-jest",
"^.+\\.tsx?$": "ts-jest"
},
"testMatch": [
"**/__tests__/**/*.ts?(x)",
"**/?(*.)+(spec|test).ts?(x)"
],
"moduleNameMapper": {
"^.+\\.css$": "identity-obj-proxy",
"^(app/.+)$": "<rootDir>/src/$1/",
"^(components/.+)$": "<rootDir>/src/$1/",
"^(stores/.+)$": "<rootDir>/src/$1/",
"^(views/.+)$": "<rootDir>/src/$1/",
"^(assets/.+)$": "<rootDir>/src/$1/",
"^(models/.+)$": "<rootDir>/src/$1/"
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx"
],
"automock": false,
"setupFiles": [
"./test/setupTests.ts"
]
}
}