-
Notifications
You must be signed in to change notification settings - Fork 42
/
package.json
211 lines (211 loc) · 6.23 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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
{
"name": "catcher",
"version": "0.1.0",
"prettier": "prettier.json",
"private": true,
"scripts": {
"start": "craco start",
"start:tribes:docker": "PORT=23000 craco start",
"start:tribes:cluster": "PORT=13000 craco start",
"start:people": "PORT=3007 craco start",
"start:people:docker": "PORT=23007 craco start",
"start:people:cluster": "PORT=13007 craco start",
"start:cypress": "PORT=3007 craco start",
"build": "craco build",
"eject": "craco eject",
"lint": "eslint src --max-warnings 66 --ext .ts --ext .tsx --ignore-pattern *.spec.tsx --ignore-pattern *.spec.ts",
"lint:fix": "npm run lint -- --fix",
"prettier": "npx prettier --config .prettierrc.json -w ./src ./cypress",
"prettier:check": "npx prettier --config .prettierrc.json --check ./src",
"prepare": "husky install .husky",
"test": "yarn run test-jest",
"test-jest": "REACT_APP_IS_TEST=true NODE_ENV=test yarn jest --coverage --maxWorkers 2 --no-cache --transformIgnorePatterns \"./svg/\"",
"cypress:run": "npx cypress run"
},
"resolutions": {
"react-error-overlay": "6.0.9",
"@types/react": "17.0.30"
},
"dependencies": {
"@babel/plugin-transform-modules-commonjs": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@craco/craco": "^7.0.0",
"@elastic/datemath": "^5.0.2",
"@elastic/eui": "^64.0.4",
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@loomhq/loom-embed": "^1.4.0",
"@loomhq/record-sdk": "^2.35.16",
"@material/react-material-icon": "^0.15.0",
"@mui/base": "^5.0.0-beta.16",
"@mui/system": "^5.14.10",
"@nuintun/qrcode": "^4.0.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^12.1.2",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^7.1.2",
"@types/date-fns": "^2.6.0",
"@types/dateformat": "^3.0.1",
"@types/jest": "^24.9.1",
"@types/node": "^12.12.27",
"@types/react-dom": "18.0.4",
"@types/react-router-dom": "^5.1.8",
"@types/sinon": "^17.0.2",
"@types/styled-components": "5.1.26",
"@typescript-eslint/eslint-plugin": "^5.57.1",
"@typescript-eslint/parser": "^5.57.1",
"add": "^2.0.6",
"bech32": "^2.0.0",
"bootstrap": "^4.5.0",
"clsx": "^2.0.0",
"compose-function": "^3.0.3",
"date-fns": "^3.2.0",
"dateformat": "^3.0.3",
"elliptic": "^6.5.4",
"eslint": "^8.37.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-react": "^1.1.7",
"eslint-plugin-react": "^7.31.10",
"formik": "^2.2.6",
"fuse.js": "^5.2.3",
"husky": "^8.0.3",
"jest-fetch-mock": "^3.0.3",
"light-bolt11-decoder": "^3.0.0",
"lodash": "^4.17.15",
"memo-decorator": "^2.0.1",
"mobx": "^6.8.0",
"mobx-persist": "^0.4.1",
"mobx-persist-store": "^1.1.3",
"mobx-react-lite": "^3.4.3",
"moment": "^2.29.4",
"nock": "^13.3.0",
"prettier": "3.0.3",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-dropzone": "^14.2.3",
"react-error-overlay": "6.0.9",
"react-intersection-observer": "^9.4.1",
"react-markdown": "^8.0.3",
"react-qr-svg": "^2.2.2",
"react-qrcode-logo": "^2.5.0",
"react-router-dom": "^5.2.0",
"react-scripts": "5.0.1",
"react-select": "^5.1.0",
"rehype-raw": "^6.1.1",
"remark-gfm": "^3.0.1",
"remark-rehype": "^10.1.0",
"sinon": "^17.0.1",
"socket.io-client": "^4.6.1",
"styled-components": "5.1.0",
"ts-jest": "^29.1.1",
"ts-loader": "^9.5.1",
"typescript": "^5.3.2",
"yarn": "^1.22.19",
"yup": "^0.32.9"
},
"eslintConfig": {
"extends": [
"react-app",
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"root": true,
"rules": {
"arrow-body-style": [
"warn",
"as-needed"
],
"@typescript-eslint/typedef": [
"error",
{
"parameter": true,
"objectDestructuring": false,
"arrowParameter": true,
"memberVariableDeclaration": false
}
],
"no-use-before-define": [
"error",
{
"functions": true,
"classes": true,
"variables": true,
"allowNamedExports": false
}
],
"import/order": "error",
"camelcase": "off",
"comma-dangle": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-inferrable-types": "warn",
"@typescript-eslint/no-empty-function": "error",
"@typescript-eslint/no-empty-interface": "error",
"@typescript-eslint/ban-types": "warn",
"@typescript-eslint/ban-ts-comment": "warn",
"react-hooks/rules-of-hooks": "warn",
"react-hooks/exhaustive-deps": "warn",
"react/prop-types": "warn",
"no-unused-vars": "warn",
"no-var": "warn",
"no-extra-boolean-cast": "warn",
"no-useless-escape": "warn",
"no-prototype-builtins": "warn",
"no-empty-pattern": "warn",
"no-empty": "warn",
"no-multiple-empty-lines": "error",
"no-unreachable": "error",
"no-useless-catch": "warn",
"react/jsx-closing-bracket-location": [
"warn",
"tag-aligned"
],
"react/jsx-closing-tag-location": "warn",
"jsx-quotes": [
"error",
"prefer-double"
],
"prefer-const": "warn",
"no-const-assign": "warn",
"prefer-destructuring": [
"error",
{
"object": true,
"array": false
}
],
"prefer-template": "warn",
"func-style": "off",
"react/self-closing-comp": "warn",
"react/jsx-no-target-blank": "warn",
"react/jsx-key": "warn",
"react/no-children-prop": "warn",
"react/no-unescaped-entities": "warn",
"@typescript-eslint/no-unused-vars": [
"warn",
{
"varsIgnorePattern": "_"
}
]
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"cypress": "^13.6.3"
}
}