-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
114 lines (114 loc) · 2.82 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"name": "reactpress",
"version": "2.0.0",
"private": true,
"dependencies": {
"@craco/craco": "^6.0.0",
"@reduxjs/toolkit": "^1.6.1",
"@types/react-redux": "^7.1.18",
"antd": "^4.4.1",
"axios": "^0.21.1",
"bootstrap": "^5.0.0",
"dompurify": "^2.3.0",
"prop-types": "^15.7.2",
"react": "^17.0.0",
"react-dom": "^17.0.0",
"react-html-parser": "^2.0.2",
"react-redux": "^7.2.4",
"react-router-dom": "^5.2.0",
"react-router-transition": "^2.0.0",
"react-scripts": "^4.0.0",
"reactstrap": "^8.4.0",
"snyk": "^1.606.0",
"styled-components": "^5.3.0",
"typescript": "^4.0.0"
},
"scripts": {
"start": "craco start",
"build": "react-scripts build",
"test": "jest",
"rs-test": "react-scripts test",
"eject": "react-scripts eject",
"test:watch": "jest --watch"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"jest": {
"setupFiles": [
"./src/setupTests.js"
],
"transform": {
"\\.(ts|tsx)$": "ts-jest"
},
"transformIgnorePatterns": [
"node_modules"
],
"moduleFileExtensions": [
"js",
"jsx",
"ts",
"tsx"
],
"moduleDirectories": [
"node_modules",
"src"
],
"moduleNameMapper": {
"\\.(css|less|scss)$": "identity-obj-proxy"
},
"snapshotSerializers": [
"enzyme-to-json"
]
},
"devDependencies": {
"@babel/preset-env": "^7.16.4",
"@babel/preset-react": "^7.16.0",
"@types/enzyme": "^3.10.5",
"@types/jest": "^26.0.23",
"@types/node": "^16.0.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@types/react-router-dom": "^5.1.5",
"@typescript-eslint/eslint-plugin": "^4.29.0",
"@typescript-eslint/parser": "^4.29.0",
"babel-plugin-styled-components": "^1.13.2",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.0",
"enzyme-to-json": "^3.5.0",
"eslint-config-airbnb-typescript": "^12.0.2",
"eslint-config-prettier": "^8.0.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^2.5.0",
"husky": "^7.0.1",
"jest-styled-components": "^7.0.5",
"prettier": "^2.0.5",
"pretty-quick": "^3.1.1",
"react-test-renderer": "^16.13.0",
"redux-mock-store": "^1.5.4",
"ts-jest":"^26.0.1",
"typescript-plugin-styled-components": "^2.0.0"
},
"prettier": {
"semi": true,
"printWidth": 120,
"singleQuote": false,
"bracketSpacing": true,
"trailingComma": "all"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged --pattern '**/*.*(js|jsx|ts|tsx)'"
}
},
"snyk": true
}