-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
118 lines (118 loc) · 3.13 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
{
"name": "mailinabox-ui",
"version": "0.1.0",
"private": true,
"devDependencies": {
"@fluentui/react": "^8.14.13",
"@reduxjs/toolkit": "^1.5.1",
"@testing-library/jest-dom": "^5.12.0",
"@testing-library/react": "^11.2.7",
"@testing-library/user-event": "^13.1.9",
"@types/country-list": "^2.1.0",
"@types/jest": "^26.0.23",
"@types/node": "^15.6.0",
"@types/psl": "^1.1.0",
"@types/react": "^17.0.6",
"@types/react-dom": "^17.0.5",
"@types/react-redux": "^7.1.16",
"@types/react-responsive": "^8.0.2",
"@types/react-router-dom": "^5.1.7",
"@typescript-eslint/eslint-plugin": "^4.24.0",
"@typescript-eslint/parser": "^4.24.0",
"@uifabric/charting": "^4.15.25",
"@uifabric/react-hooks": "^7.14.0",
"country-list": "^2.2.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.3",
"eslint-plugin-prettier": "^3.4.0",
"fetch-mock": "^9.11.0",
"http-proxy-middleware": "^2.0.0",
"mailinabox-api": "^0.51.1",
"prettier": "^2.3.0",
"prettier-plugin-organize-imports": "^2.1.0",
"psl": "^1.8.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-redux": "^7.2.4",
"react-responsive": "^8.2.0",
"react-router-dom": "^5.2.0",
"react-scripts": "^4.0.3",
"redux-thunk": "^2.3.0",
"typescript": "^4.2.4"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"lint": "npm run lint:prettier && npm run lint:eslint",
"lint:fix": "npm run lint:fix:prettier && npm run lint:eslint -- --fix",
"lint:prettier": "prettier --check \"**/*.{ts,js,json,svg,md,yml}\"",
"lint:fix:prettier": "prettier --write '**/*.{ts,js,json,svg,md,yml}'",
"lint:eslint": "eslint . --ext .js,.ts,.tsx",
"analyze": "source-map-explorer 'build/static/js/*.js'"
},
"eslintConfig": {
"parserOptions": {
"project": "./tsconfig.json"
},
"ignorePatterns": "build",
"extends": [
"react-app",
"plugin:@typescript-eslint/recommended",
"prettier",
"plugin:prettier/recommended"
],
"rules": {
"@typescript-eslint/no-floating-promises": "error",
"@typescript-eslint/explicit-function-return-type": "off",
"import/order": [
"error",
{
"groups": [
"builtin",
"external",
"parent",
"sibling",
"index"
]
}
],
"curly": "error"
},
"overrides": [
{
"files": [
"*.ts",
"*.tsx"
],
"rules": {
"@typescript-eslint/explicit-function-return-type": [
"error"
]
}
}
]
},
"prettier": {
"singleQuote": true,
"tabWidth": 2,
"printWidth": 80,
"useTabs": false
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"dependencies": {
"office-ui-fabric-react": "^7.170.1"
}
}