-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 2.46 KB
/
package.json
File metadata and controls
75 lines (75 loc) · 2.46 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
{
"name": "react-typescript-template-2023",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"start": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"test": "vitest",
"test:coverage": "vitest --coverage",
"lint": "eslint src --ext js,ts,tsx,jsx --report-unused-disable-directives --max-warnings 10",
"lint:fix": "eslint src --ext js,ts,tsx,jsx --report-unused-disable-directives --max-warnings 10 --fix",
"format": "prettier --write src/**/*.{ts,tsx,json,css,md}",
"prettier-format": "prettier --write .",
"prettier-watch-windows": "onchange ./**/*.{ts,js,tsx,jsx} -- prettier --write {{changed}}",
"prettier-watch-mac": "onchange \"**/*.{js,ts,tsx,jsx}\" -- prettier --write {{changed}}",
"lint-and-prettier": "npm run prettier-format && npm run lint:fix",
"type-check": "tsc --noEmit",
"prepare": "husky install"
},
"dependencies": {
"@reduxjs/toolkit": "^1.9.5",
"axios": "^1.4.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-redux": "^8.1.1",
"react-router-dom": "^6.14.0"
},
"devDependencies": {
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1",
"@testing-library/dom": "^9.3.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3",
"@types/crypto-js": "^4.2.2",
"@types/jest": "^29.5.2",
"@types/node": "^20.3.1",
"@types/react": "^18.2.16",
"@types/react-dom": "^18.2.7",
"@types/react-router-dom": "^5.3.3",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"@vitejs/plugin-react": "^4.0.0",
"autoprefixer": "^10.4.21",
"crypto-js": "^4.2.0",
"eslint": "^8.38.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-no-only-tests": "^3.1.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.3.4",
"husky": "^8.0.3",
"onchange": "^7.1.0",
"postcss": "^8.5.6",
"prettier": "2.8.8",
"tailwindcss": "^3.4.17",
"typescript": "5.0.2",
"vite": "^4.3.9"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"src/**/*.{json,css,scss,md}": [
"prettier --write"
]
}
}