-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
117 lines (117 loc) · 3.01 KB
/
package.json
File metadata and controls
117 lines (117 loc) · 3.01 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
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
{
"name": "community-builder",
"version": "0.1.0",
"private": true,
"homepage": "https://cofacts.github.io/community-builder",
"dependencies": {
"@apollo/client": "^3.7.1",
"@elastic/datemath": "^5.0.3",
"@emotion/css": "^11.10.5",
"@emotion/react": "^11.10.5",
"@emotion/styled": "^11.10.5",
"@mui/icons-material": "^5.11.0",
"@mui/material": "^5.10.16",
"@mui/x-data-grid": "^5.17.14",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.5.2",
"@types/node": "^16.18.4",
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.9",
"d3-array": "^3.2.2",
"d3-scale": "^4.0.2",
"d3-shape": "^3.2.0",
"graphql": "^16.6.0",
"immer": "^9.0.18",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.4.4",
"react-scripts": "5.0.1",
"typescript": "^4.9.3",
"urlon": "^3.1.0",
"web-vitals": "^2.1.4"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"lint": "eslint src --ext .js,.tsx,.ts",
"lint:fix": "npm run lint -- --fix",
"typecheck": "tsc",
"codegen": "graphql-codegen"
},
"eslintConfig": {
"extends": [
"react-app",
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:react/recommended",
"plugin:prettier/recommended",
"prettier"
],
"plugins": [
"react",
"prettier",
"@typescript-eslint"
],
"rules": {
"react/prop-types": "off",
"prettier/prettier": [
"error",
{
"trailingComma": "es5",
"singleQuote": true
}
],
"no-console": [
"warn",
{
"allow": [
"warn",
"error"
]
}
]
},
"settings": {
"import/resolver": {
"typescript": {}
}
},
"parser": "@typescript-eslint/parser"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@graphql-codegen/add": "^3.2.1",
"@graphql-codegen/cli": "^2.15.0",
"@graphql-codegen/typescript": "^2.8.3",
"@graphql-codegen/typescript-operations": "^2.5.8",
"@graphql-codegen/typescript-react-apollo": "^3.3.7",
"@types/d3-array": "^3.0.4",
"@types/d3-scale": "^4.0.3",
"@types/d3-shape": "^3.1.1",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^3.5.2",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"prettier": "^2.8.0"
},
"proxy": "https://api.cofacts.tw"
}