forked from opensafely-core/job-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
127 lines (127 loc) · 3.2 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
{
"name": "job-server",
"version": "1.0.0",
"scripts": {
"dev": "vite",
"build": "vite build",
"serve": "vite preview",
"lint": "eslint \"./assets/src/**/*.{js,jsx}\"",
"lint:fix": "eslint \"./assets/src/**/*.{js,jsx}\" --fix",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:single": "jest --watch --coverage --"
},
"devDependencies": {
"@babel/preset-env": "^7.16.0",
"@babel/preset-react": "^7.16.0",
"@testing-library/jest-dom": "^5.15.0",
"@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^13.5.0",
"@vitejs/plugin-legacy": "^1.6.2",
"autoprefixer": "^10.4.0",
"babel-jest": "^27.3.1",
"cssnano": "^5.0.10",
"eslint": "^8.2.0",
"eslint-config-airbnb": "^19.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jest": "^25.2.4",
"eslint-plugin-jest-dom": "^3.9.2",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.27.0",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-testing-library": "^5.0.0",
"history": "^5.1.0",
"jest": "^27.3.1",
"msw": "^0.35.0",
"postcss-url": "^10.1.3",
"prettier": "2.4.1",
"prettier-eslint": "^13.0.0",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-visualizer": "^5.5.2",
"sass": "^1.43.4",
"vite": "2.6.14",
"window-resizeto": "^0.0.2"
},
"dependencies": {
"@sentry/react": "^6.14.3",
"@ttskch/select2-bootstrap4-theme": "^1.5.2",
"axios": "^0.24.0",
"bootstrap": "^4.6.1",
"jquery": "^3.5.1",
"just-debounce-it": "^3.0.1",
"list.js": "^2.3.0",
"pretty-bytes": "^5.6.0",
"prop-types": "^15.7.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-hot-toast": "^2.1.1",
"react-papaparse": "^3.18.1",
"react-query": "^3.32.3",
"react-router-dom": "^5.3.0",
"react-window": "^1.8.6",
"select2": "^4.0.13",
"tablesorter": "^2.31.3",
"whatwg-fetch": "^3.6.2"
},
"eslintConfig": {
"extends": [
"airbnb",
"airbnb/hooks",
"prettier"
],
"plugins": [
"prettier",
"jest",
"jest-dom",
"testing-library"
],
"rules": {
"prettier/prettier": "error",
"react/jsx-props-no-spreading": "off",
"react/jsx-sort-props": [
"error",
{
"ignoreCase": true,
"reservedFirst": true
}
],
"react/function-component-definition": [
2,
{
"namedComponents": "function-declaration",
"unnamedComponents": "arrow-function"
}
],
"import/order": [
"error",
{
"groups": [
[
"builtin",
"external",
"internal"
],
"parent",
"sibling",
"index"
],
"newlines-between": "never",
"alphabetize": {
"order": "asc",
"caseInsensitive": true
}
}
]
},
"env": {
"browser": true,
"jest/globals": true
},
"parserOptions": {
"ecmaVersion": 2020
}
}
}