-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
154 lines (154 loc) · 4.35 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
{
"name": "reddit-client",
"homepage": ".",
"version": "0.22.0",
"description": "Reddit Client Redesign is the unofficial Reddit frontend app concept to tune the experience of the users and greater increase the browsing experience.",
"author": "Andrei C.",
"license": "GPL-3.0-only",
"private": true,
"repository": {
"type": "git",
"url": "git+https://github.com/Kerosz/reddit-redesign.git"
},
"bugs": {
"url": "https://github.com/Kerosz/reddit-redesign/issues"
},
"dependencies": {
"@material-ui/core": "^4.11.2",
"@material-ui/icons": "^4.11.2",
"@material-ui/lab": "^4.0.0-alpha.57",
"@reduxjs/toolkit": "^1.2.5",
"@testing-library/jest-dom": "^5.11.6",
"autosuggest-highlight": "^3.1.1",
"dayjs": "^1.9.7",
"lodash": "^4.17.20",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-markdown": "^5.0.3",
"react-redux": "^7.2.0",
"react-router-dom": "^5.2.0",
"react-scripts": "4.0.1",
"remark-gfm": "^1.0.0",
"workbox-background-sync": "^6.0.2",
"workbox-broadcast-update": "^6.0.2",
"workbox-cacheable-response": "^6.0.2",
"workbox-core": "^6.0.2",
"workbox-expiration": "^6.0.2",
"workbox-google-analytics": "^6.0.2",
"workbox-navigation-preload": "^6.0.2",
"workbox-precaching": "^6.0.2",
"workbox-range-requests": "^6.0.2",
"workbox-routing": "^6.0.2",
"workbox-strategies": "^6.0.2",
"workbox-streams": "^6.0.2"
},
"devDependencies": {
"@testing-library/react": "^11.2.2",
"@testing-library/user-event": "^12.6.0",
"@types/autosuggest-highlight": "^3.1.1",
"@types/jest": "^26.0.19",
"@types/lodash": "^4.14.165",
"@types/material-ui": "^0.21.8",
"@types/node": "^14.14.14",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@types/react-redux": "^7.1.7",
"@types/react-router-dom": "^5.1.6",
"@types/react-test-renderer": "^17.0.0",
"@types/testing-library__jest-dom": "^5.9.5",
"@types/webpack-env": "^1.16.0",
"@typescript-eslint/eslint-plugin": "^4.10.0",
"@typescript-eslint/parser": "^4.10.0",
"eslint": "^7.15.0",
"eslint-config-airbnb-typescript": "^12.0.0",
"eslint-config-prettier": "^7.0.0",
"eslint-import-resolver-typescript": "^2.3.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.3.0",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^4.3.6",
"lint-staged": "^10.5.3",
"prettier": "^2.2.1",
"react-addons-test-utils": "^15.6.2",
"react-test-renderer": "^17.0.1",
"ts-jest": "^26.4.4",
"typescript": "~4.1.3"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"lint": "eslint '*/**/*.{js,ts,tsx}' --quiet --fix",
"lint:precommit": "lint-staged",
"test:prepush": ""
},
"lint-staged": {
"**/*.+{js|jsx|tx|tsx|json}": [
"yarn lint",
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "yarn lint:precommit",
"pre-push": "yarn test"
}
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!src/**/*.d.ts",
"!src/index.tsx",
"!src/serviceWorker.ts"
],
"coveragePathIgnorePatterns": [
"./src/*/*.types.{ts,tsx}",
"./src/index.tsx",
"./src/serviceWorker.ts"
],
"coverageReporters": [
"json",
"lcov",
"text-summary",
"clover"
],
"coverageThreshold": {
"global": {
"statements": 95,
"branches": 95,
"lines": 95,
"functions": 95
}
},
"transform": {
"^.+\\.(js|jsx|ts|tsx)$": "<rootDir>/node_modules/ts-jest"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$",
"^.+\\.module\\.(css|sass|scss)$"
],
"moduleNameMapper": {
"^react-native$": "react-native-web",
"^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy",
"src/(.*)$": "<rootDir>/src/$1"
}
}
}