-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
141 lines (141 loc) · 3.87 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
{
"name": "beesaber2",
"version": "0.1.0",
"private": true,
"workspaces": [
"server/*"
],
"scripts": {
"build": "craco build",
"eject": "craco eject",
"lint:js": "eslint . --ext .js,.jsx",
"lint:js:fix": "yarn lint:js --fix",
"lint:scss": "stylelint 'src/**/*.scss' scss",
"lint:scss:fix": "stylelint 'src/**/*.scss' scss --fix",
"msw": "cross-env REACT_APP_MSW='enabled' craco start",
"prepare": "husky install",
"server": "cd server && yarn run dev",
"start": "craco start",
"test": "cross-env REACT_APP_MSW='enabled' jest --watch",
"test:live": "jest --watch"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-merge-commit": "cross-env REACT_APP_MSW='enabled' jest TZ='UTC' --bail"
}
},
"lint-staged": {
"src/**/*.(js|jsx|ts|tsx|md|markdown|json|yml|yaml)": [
"yarn prettier --write"
],
"src/**/*.(js|ts|tsx)": [
"yarn eslint . --fix",
"yarn cross-env REACT_APP_MSW='enabled' jest --findRelatedTests"
],
"src/**/*.scss": [
"stylelint scss --fix"
],
"package.json": [
"yarn sort-package-json"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"dependencies": {
"@craco/craco": "^6.4.0",
"@reduxjs/toolkit": "^1.6.2",
"axios": "^0.24.0",
"date-fns": "^2.28.0",
"mdb-react-ui-kit": "^1.5.0",
"mongoose": "^6.0.12",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-google-login": "^5.2.2",
"react-is": "^17.0.2",
"react-redux": "^7.2.5",
"react-router-dom": "^5.3.0",
"react-scripts": "4.0.3",
"react-toastify": "^8.0.3",
"redux": "^4.1.1",
"redux-thunk": "^2.4.1",
"sass": "^1.43.3",
"styled-components": "^5.3.3",
"web-vitals": "^1.0.1",
"whatwg-fetch": "^3.6.2"
},
"devDependencies": {
"@babel/core": "^7.17.4",
"@babel/preset-typescript": "^7.16.7",
"@testing-library/dom": "^8.10.1",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^11.1.0",
"@testing-library/react-hooks": "^7.0.2",
"@testing-library/user-event": "^12.1.10",
"@types/eslint": "^7.2.6",
"@types/jest": "^27.4.1",
"@types/node": "^12.0.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@types/react-redux": "^7.1.20",
"@types/react-router-dom": "^5.3.1",
"@types/redux-mock-store": "^1.0.3",
"@types/sass": "^1.16.1",
"@types/styled-components": "^5.1.15",
"@typescript-eslint/eslint-plugin": "^5.36.2",
"@typescript-eslint/parser": "^5.36.2",
"babel-jest": "^27.4.0",
"craco-alias": "^3.0.1",
"cross-env": "^7.0.3",
"eslint": "^7.17.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.3.5",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"husky": "^7.0.4",
"jest": "^27.5.1",
"jest-styled-components": "^7.0.5",
"jest-useragent-mock": "^0.1.1",
"lint-staged": "^11.2.4",
"msw": "^0.36.8",
"postcss": "^8.3.11",
"postcss-scss": "^4.0.1",
"prettier": "^2.4.1",
"react-country-flag": "^3.0.2",
"redux-devtools-extension": "^2.13.9",
"redux-mock-store": "^1.5.4",
"sort-package-json": "^1.52.0",
"stylelint": "^14.0.0",
"stylelint-config-standard-scss": "^2.0.0",
"stylelint-order": "^5.0.0",
"stylelint-scss": "^4.0.0",
"ts-jest": "^27.1.3",
"typescript": "^4.1.2"
},
"engines": {
"node": ">=14.0.0",
"npm": ">=6.0.0"
},
"msw": {
"workerDirectory": "public"
}
}