-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
109 lines (109 loc) · 2.96 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
{
"name": "fia",
"version": "0.1.0",
"private": true,
"dependencies": {
"@craco/craco": "7.0.0",
"@emotion/react": "11.10.0",
"@emotion/styled": "11.13.0",
"@material-ui/core": "^4.12.4",
"@material-ui/icons": "^4.11.3",
"@monaco-editor/react": "^4.6.0",
"@mui/icons-material": "6.1.3",
"@mui/material": "6.1.3",
"@types/jest": "29.5.13",
"@types/node": "22.7.5",
"@types/react": "17.0.39",
"@types/react-dom": "17.0.11",
"express": "4.21.1",
"express-ws": "5.0.2",
"i18next": "^23.16.0",
"loglevel": "1.9.2",
"monaco-editor": "^0.52.0",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-ga4": "^2.1.0",
"react-i18next": "^13.3.1",
"react-json-pretty": "2.2.0",
"react-monaco-editor": "^0.55.0",
"react-router-dom": "5.3.0",
"react-scripts": "5.0.0",
"single-spa-react": "4.6.1",
"typescript": "5.6.x",
"ws": "8.18.0"
},
"resolutions": {
"@types/react": "17.0.39",
"@typescript-eslint/eslint-plugin": "8.9.0",
"@typescript-eslint/parser": "8.9.0"
},
"lint-staged": {
"src/**/*.{tsx,js,jsx,json}": [
"eslint --fix",
"prettier --config .prettierrc --write",
"git add"
],
"cypress/**/*.{tsx,js,jsx}": [
"eslint --fix",
"prettier --config .prettierrc --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"scripts": {
"lint:js": "eslint --ext=tsx --ext=js --ext=jsx --fix ./src",
"start": "craco start",
"build": "craco build",
"test": "craco test --env=jsdom --coverage --watchAll=false",
"test:watch": "craco test --env=jsdom --watch",
"serve:build": "yarn build && serve -l 5001 build",
"serve:backend": "node server/server.js",
"analyze": "yarn build && source-map-explorer build/main.*",
"postinstall": "husky install",
"eject": "react-scripts eject",
"cypress:open": "cypress open",
"cypress:run": "cypress run",
"run-frontend": "yarn build && cd ../scigateway && yarn start"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"jest": {
"collectCoverageFrom": [
"src/**/*.{tsx,js,jsx}",
"!src/index.tsx",
"!src/serviceWorker.ts",
"!src/setupTests.js",
"!src/testbed/**/*"
]
},
"devDependencies": {
"@cypress/react": "^7.0.3",
"@cypress/webpack-dev-server": "^3.11.0",
"@types/react-router-dom": "5.3.3",
"@typescript-eslint/eslint-plugin": "8.9.0",
"@typescript-eslint/parser": "8.9.0",
"cypress": "^13.15.0",
"cypress-real-events": "^1.13.0",
"eslint": "8.x",
"eslint-config-prettier": "9.1.0",
"eslint-config-react-app": "7.0.0",
"eslint-plugin-cypress": "4.0.0",
"eslint-plugin-prettier": "5.2.1",
"html-webpack-plugin": "^5.5.3",
"husky": "9.1.6",
"lint-staged": "15.2.10",
"prettier": "3.3.3",
"serve": "14.2.3"
}
}