-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
92 lines (92 loc) · 2.79 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
{
"name": "st-retrospect-frontend",
"version": "1.5.2",
"private": false,
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"eject": "react-scripts eject",
"lint": "eslint . --ext .js --ext .ts --ext .tsx --fix",
"lint:test": "eslint . --ext .js --ext .ts --ext .tsx --max-warnings 0",
"get-schema": "get-graphql-schema https://api.st-retrospect.dh-center.ru/graphql > schema.graphql",
"get-schema:stage": "get-graphql-schema https://api.stage.st-retrospect.dh-center.ru/graphql > schema.graphql",
"get-schema:local": "get-graphql-schema http://localhost:4000/graphql > schema.graphql",
"relay": "relay-compiler --src ./src --schema ./schema.graphql --language typescript --customScalars.Timestamp=Int --customScalars.MultilingualString=String --customScalars.ObjectId=String --customScalars.GlobalId=ID"
},
"dependencies": {
"@sentry/react": "^6.8.0",
"eslint-config-codex": "^1.6.2",
"i18next": "^20.3.2",
"mapbox-gl": "^2.3.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-i18next": "^11.11.1",
"react-intersection-observer": "^8.32.0",
"react-relay": "^11.0.2",
"react-router-dom": "^5.2.0",
"react-scripts": "4.0.3",
"relay-runtime": "^11.0.2",
"styled-components": "^5.3.0",
"typescript": "^4.3.5",
"web-vitals": "^2.1.0",
"worker-loader": "^3.0.8"
},
"devDependencies": {
"@types/mapbox-gl": "^2.3.2",
"@types/node": "^16.0.1",
"@types/react": "^17.0.14",
"@types/react-dom": "^17.0.9",
"@types/react-relay": "^11.0.2",
"@types/react-router-dom": "^5.1.8",
"@types/relay-runtime": "^11.0.1",
"@types/styled-components": "^5.1.11",
"babel-plugin-relay": "^11.0.2",
"get-graphql-schema": "^2.1.2",
"graphql": "^15.5.1",
"relay-compiler": "^11.0.2",
"relay-compiler-language-typescript": "^14.0.0",
"relay-config": "^11.0.2"
},
"eslintConfig": {
"extends": [
"react-app",
"codex/ts"
],
"overrides": [
{
"files": [
"**/*.ts",
"**/*.tsx"
],
"rules": {
"no-use-before-define": "off",
"jsdoc/require-returns": "off",
"jsdoc/require-param-type": "off",
"react-hooks/exhaustive-deps": "off",
"@typescript-eslint/no-magic-numbers": "off",
"@typescript-eslint/naming-convention": [
"error",
{
"selector": "enumMember",
"format": [
"UPPER_CASE"
]
}
]
}
}
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}