-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
96 lines (96 loc) · 2.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
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
{
"name": "canisminor-template",
"version": "1.2.2",
"private": true,
"homepage": "https://github.com/canisminor-template",
"bugs": {
"url": "https://github.com/canisminor-template/issues/new"
},
"repository": {
"type": "git",
"url": "https://github.com/canisminor1990/canisminor-template.git"
},
"license": "MIT",
"author": "canisminor1990 <[email protected]>",
"sideEffects": false,
"scripts": {
"build": "umi build",
"dev": "umi dev",
"postinstall": "umi setup",
"lint": "eslint \"{src,javascript}/**/*.{js,jsx,ts,tsx}\" --fix",
"lint:md": "remark . --quiet --output",
"lint:style": "stylelint \"src/**/*.{css,less,js,jsx,ts,tsx}\" --fix",
"prepare": "husky install",
"prettier": "prettier -c --write --no-error-on-unmatched-pattern \"**/**\"",
"release": "semantic-release",
"setup": "umi setup",
"start": "npm run dev",
"test": "npm run lint",
"type-check": "tsc -p tsconfig-check.json"
},
"lint-staged": {
"*.md": [
"remark --quiet --output --",
"prettier --write --no-error-on-unmatched-pattern"
],
"*.json": [
"prettier --write --no-error-on-unmatched-pattern"
],
"*.{css,less}": [
"stylelint --fix",
"prettier --write"
],
"*.{js,jsx}": [
"prettier --write",
"stylelint --fix",
"eslint --fix"
],
"*.{ts,tsx}": [
"prettier --parser=typescript --write",
"stylelint --fix",
"eslint --fix"
]
},
"dependencies": {
"@ant-design/icons": "^5",
"@types/react": "^18",
"@types/react-dom": "^18",
"@types/styled-components": "^5",
"@umijs/lint": "^4",
"ahooks": "^3",
"antd": "^5",
"antd-style": "^3",
"babel-plugin-styled-components": "^2",
"polished": "^4",
"react": "^18",
"react-dom": "^18",
"styled-components": "^5",
"umi": "^4",
"zustand": "^4"
},
"devDependencies": {
"@commitlint/cli": "^17",
"@lobehub/lint": "latest",
"@types/node": "^20",
"commitlint": "^17",
"eslint": "^8",
"husky": "^8",
"lint-staged": "^13",
"prettier": "^2",
"remark": "^14",
"remark-cli": "^11",
"semantic-release": "^21",
"stylelint": "^15",
"typescript": "^5"
},
"peerDependencies": {
"antd": ">=5",
"antd-style": ">=3",
"react": ">=18",
"react-dom": ">=18"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
}
}