-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
51 lines (51 loc) · 1.47 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
{
"name": "letterhead",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"start": "yarn && vite",
"build": "yarn && tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives && prettier --write .",
"lint-staged": "lint-staged",
"test": "echo \"Error: no test specified\" && exit 1",
"preview": "vite preview",
"prepare": "husky install"
},
"dependencies": {
"@reduxjs/toolkit": "^2.1.0",
"@types/antd": "^1.0.0",
"@types/css-modules": "^1.0.5",
"@types/react-redux": "^7.1.33",
"@types/react-router-dom": "^5.3.3",
"antd": "^5.13.3",
"css-modules": "^0.3.0",
"lint-staged": "^15.2.1",
"prettier": "^3.2.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-redux": "^9.1.0",
"react-router-dom": "^6.22.0",
"react-to-print": "^2.14.15"
},
"devDependencies": {
"@types/react": "^18.2.43",
"@types/react-dom": "^18.2.17",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"@vitejs/plugin-react": "^4.2.1",
"eslint": "^8.55.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"husky": "^9.0.10",
"typescript": "^5.2.2",
"vite": "^5.0.8"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix --quiet --cache",
"prettier --write --cache"
],
"*.{scss,css,less,html,md,json,yml,cjs,mjs}": "prettier --write --cache"
}
}