-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
54 lines (54 loc) · 1.42 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
{
"name": "html2image-pdf-word",
"private": true,
"version": "0.0.0",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"lint": "eslint --ext .ts --ext .tsx src --fix",
"prepare": "npx husky install"
},
"dependencies": {
"@ant-design/icons": "^5.0.1",
"antd": "^5.4.6",
"classnames": "^2.3.2",
"dayjs": "^1.11.7",
"file-saver": "^2.0.5",
"html-docx-js-typescript": "^0.1.5",
"html2canvas": "^1.4.1",
"jspdf": "^2.5.1",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@commitlint/cli": "^17.6.3",
"@commitlint/config-conventional": "^17.6.3",
"@types/file-saver": "^2.0.5",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"@typescript-eslint/eslint-plugin": "^5.59.1",
"@typescript-eslint/parser": "^5.59.1",
"@vitejs/plugin-react": "^3.1.0",
"eslint": "^8.39.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"husky": "^8.0.3",
"lint-staged": "^13.2.2",
"prettier": "^2.8.8",
"sass": "^1.62.1",
"typescript": "^4.9.3",
"vite": "^4.2.1",
"vite-plugin-eslint": "^1.8.1"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,md}": [
"eslint --fix --max-warnings=0",
"prettier --write"
],
"src/**/*.{scss,less,css}": [
"prettier --write"
]
}
}