-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
96 lines (96 loc) · 2.48 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
{
"name": "scigateway-demo-plugin",
"version": "0.1.0",
"private": true,
"dependencies": {
"@craco/craco": "7.0.0",
"@emotion/react": "11.10.0",
"@emotion/styled": "11.10.0",
"@mui/icons-material": "5.11.0",
"@mui/material": "5.11.0",
"@types/jest": "29.4.0",
"@types/node": "18.11.9",
"@types/react": "17.0.39",
"@types/react-dom": "17.0.11",
"express": "4.18.1",
"express-ws": "5.0.2",
"loglevel": "1.8.0",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-json-pretty": "2.2.0",
"react-router-dom": "5.3.0",
"react-scripts": "5.0.0",
"single-spa-react": "4.6.1",
"typescript": "4.9.3",
"ws": "8.13.0"
},
"resolutions": {
"@types/react": "17.0.39",
"@typescript-eslint/eslint-plugin": "5.49.0",
"@typescript-eslint/parser": "5.49.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"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"jest": {
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"collectCoverageFrom": [
"src/**/*.{tsx,js,jsx}",
"!src/index.tsx",
"!src/serviceWorker.ts",
"!src/setupTests.js",
"!src/testbed/**/*"
]
},
"devDependencies": {
"@types/react-router-dom": "5.3.3",
"@typescript-eslint/eslint-plugin": "5.49.0",
"@typescript-eslint/parser": "5.49.0",
"eslint": "8.32.0",
"eslint-config-prettier": "8.6.0",
"eslint-config-react-app": "7.0.0",
"eslint-plugin-cypress": "2.12.1",
"eslint-plugin-prettier": "4.2.1",
"husky": "8.0.1",
"lint-staged": "13.1.0",
"prettier": "2.8.0",
"serve": "14.2.0"
}
}