-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) · 2.74 KB
/
package.json
File metadata and controls
89 lines (89 loc) · 2.74 KB
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
{
"name": "tecnical-test-hackers-news",
"version": "1.0.0",
"description": "tecnical test for Reign",
"main": "index.js",
"homepage": ".",
"scripts": {
"start": "webpack serve --open",
"build": "webpack --mode production",
"test": "jest",
"test-watch": "jest --watch"
},
"author": "samumirandam <samuelchampi@gmail.com>",
"license": "MIT",
"dependencies": {
"@babel/core": "^7.18.13",
"@babel/plugin-transform-runtime": "^7.18.10",
"@babel/preset-env": "^7.18.10",
"@babel/preset-react": "^7.18.6",
"@reduxjs/toolkit": "^1.8.5",
"@svgr/webpack": "^6.3.1",
"@testing-library/react": "^13.3.0",
"axios": "^0.27.2",
"babel-loader": "^8.2.5",
"classnames": "^2.3.1",
"date-fns": "^2.29.2",
"dotenv-webpack": "^8.0.1",
"eslint": "^7.32.0 || ^8.2.0",
"html-loader": "^4.1.0",
"html-webpack-plugin": "^5.5.0",
"intersection-observer": "^0.12.2",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-redux": "^8.0.2",
"react-router-dom": "^6.3.0",
"redux": "^4.2.0",
"redux-mock-store": "^1.5.4",
"redux-thunk": "^2.4.1",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.10.0"
},
"devDependencies": {
"@types/jest": "^28.1.7",
"babel-jest": "^28.1.3",
"css-loader": "^6.7.1",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^28.1.3",
"jest-environment-jsdom": "^28.1.3",
"jest-localstorage-mock": "^2.4.22",
"mini-css-extract-plugin": "^2.6.1",
"sass": "^1.54.5",
"sass-loader": "^13.0.2",
"style-loader": "^3.3.1"
},
"jest": {
"verbose": true,
"moduleNameMapper": {
"^.+\\.(css|scss)$": "identity-obj-proxy",
"\\.svg": "<rootDir>/src/utils/__mocks__/svg.js",
"^@root(.*)$": "<rootDir>/src$1",
"^@api(.*)$": "<rootDir>/src/api$1",
"^@images(.*)$": "<rootDir>/src/assets/images$1",
"^@hooks(.*)$": "<rootDir>/src/hooks$1",
"^@actions(.*)$": "<rootDir>/src/store/actions$1",
"^@reducers(.*)$": "<rootDir>/src/store/reducers$1",
"^@utils(.*)$": "<rootDir>/src/utils$1",
"^@components(.*)$": "<rootDir>/src/views/components$1",
"^@containers(.*)$": "<rootDir>/src/views/containers$1",
"^@pages(.*)$": "<rootDir>/src/views/pages$1",
"^@ui(.*)$": "<rootDir>/src/views/ui$1"
},
"setupFilesAfterEnv": [
"./src/setup-test.js"
],
"testEnvironment": "jsdom",
"collectCoverage": true,
"resetMocks": false,
"setupFiles": [
"jest-localstorage-mock"
]
}
}