-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
106 lines (106 loc) · 2.63 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
{
"name": "react-client-print",
"version": "1.0.0",
"description": "A tag print template editor",
"keywords": [
"react",
"mobx",
"tag",
"tag-editor"
],
"homepage": "https://github.com/cwy007/react-client-print#readme",
"repository": {
"type": "git",
"url": "https://github.com/cwy007/react-client-print.git"
},
"license": "MIT",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "father build",
"build:watch": "father dev",
"deploy": "npm run docs:build && gh-pages -d docs-dist",
"dev": "dumi dev",
"docs:build": "dumi build",
"doctor": "father doctor",
"lint": "npm run lint:es && npm run lint:css",
"lint:css": "stylelint \"{src,test}/**/*.{css,less}\"",
"lint:es": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\"",
"prepare": "husky install && dumi setup",
"prepublishOnly": "father doctor && npm run build",
"start": "npm run dev"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.{md,json}": [
"prettier --write --no-error-on-unmatched-pattern"
],
"*.{css,less}": [
"stylelint --fix",
"prettier --write"
],
"*.{js,jsx}": [
"eslint --fix",
"prettier --write"
],
"*.{ts,tsx}": [
"eslint --fix",
"prettier --parser=typescript --write"
]
},
"dependencies": {
"@ant-design/icons": "^5.1.4",
"ahooks": "^3.7.8",
"antd": "^5.4.0",
"axios": "^1.3.5",
"classnames": "^2.3.2",
"interactjs": "^1.10.17",
"jsbarcode": "^3.11.5",
"lodash": "^4.17.21",
"mobx": "^6.9.1",
"mobx-react-lite": "^4.0.3",
"mockjs": "^1.1.0",
"qrcode": "^1.5.3"
},
"devDependencies": {
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"@types/classnames": "^2.3.1",
"@types/lodash": "^4.14.195",
"@types/mockjs": "^1.0.7",
"@types/qrcode": "^1.5.1",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@umijs/lint": "^4.0.0",
"dumi": "^2.2.0",
"eslint": "^8.23.0",
"father": "^4.1.0",
"gh-pages": "^4.0.0",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"prettier-plugin-organize-imports": "^3.0.0",
"prettier-plugin-packagejson": "^2.2.18",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"stylelint": "^14.9.1"
},
"peerDependencies": {
"react": ">=16.9.0",
"react-dom": ">=16.9.0"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"authors": [
]
}