This repository was archived by the owner on Jun 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
119 lines (119 loc) · 3.47 KB
/
package.json
File metadata and controls
119 lines (119 loc) · 3.47 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
118
119
{
"name": "tsr",
"version": "0.1.0",
"license": "GPL-3.0-only",
"dependencies": {
"@stomp/stompjs": "^6.1.2",
"axios": "^0.22.0",
"clsx": "^1.1.1",
"lodash": "^4.14.170",
"luxon": "^2.0.2",
"moment": "^2.27.0",
"react": "^17.0.2",
"react-datepicker": "^4.2.1",
"react-dom": "^17.0.2",
"react-hook-form": "^7.17.2",
"react-router": "^5.2.1",
"react-router-dom": "^5.3.0",
"react-scripts": "^4.0.3",
"react-select": "^4.3.1",
"sockjs-client": "^1.5.2",
"text-encoding": "^0.7.0",
"typescript": "^4.4.3",
"websocket-extensions": "^0.1.4"
},
"dependencyComments": {
"websocket-extensions": "dependabot vulnerability requires >=0.1.4"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"postbuild": "echo copying files; rm -rf ../src/main/resources/static && mkdir -p ../src/main/resources/static && cp -f -R build/* ../src/main/resources/static",
"test": "react-scripts test --testPathIgnorePatterns=.*Helper.*",
"eject": "react-scripts eject",
"format": "prettier --write \"src/**/*.{js,jsx,ts,tsx}\"",
"lint": "eslint . --ext .tsx,.js,.ts,.jsx",
"lint:fix": "eslint . --fix --ext .tsx,.js,.ts,.jsx",
"lint:ci": "eslint . --max-warnings 0 --ext .js,.jsx,.ts,.tsx",
"prepare": "cd .. && husky install client/.husky"
},
"eslintConfig": {
"extends": [
"react-app",
"prettier"
],
"rules": {
"react/no-danger": "error",
"react-hooks/exhaustive-deps": "error",
"react/jsx-curly-brace-presence": [
1,
"never"
]
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"./node_modules/.bin/eslint --fix"
],
"src/**/*.{js,jsx,ts,tsx,css}": [
"./node_modules/.bin/prettier --write"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@testing-library/dom": "^8.7.2",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^13.2.1",
"@types/jest": "^27.0.2",
"@types/lodash": "^4.14.175",
"@types/luxon": "^2.0.5",
"@types/node": "16.10.3",
"@types/react": "^17.0.17",
"@types/react-datepicker": "^4.1.7",
"@types/react-dom": "^17.0.9",
"@types/react-router": "^5.1.17",
"@types/react-router-dom": "^5.3.1",
"@types/react-select": "^4.0.18",
"@types/sockjs-client": "^1.5.1",
"@types/testing-library__jest-dom": "^5.14.1",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-jest": "^25.3.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-react": "^7.26.1",
"eslint-plugin-react-hooks": "^4.1.0",
"history": "^5.0.1",
"http-proxy-middleware": "^2.0.1",
"husky": "^7.0.2",
"lint-staged": "^11.2.0",
"mutationobserver-shim": "^0.3.7",
"nock": "^13.1.3",
"prettier": "^2.4.1",
"react-select-event": "^5.3.0",
"testdouble": "^3.16.2",
"testdouble-jest": "^2.0.0"
}
}