-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 2.97 KB
/
Copy pathpackage.json
File metadata and controls
107 lines (107 loc) · 2.97 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
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
107
{
"name": "@kne-components/components-admin",
"version": "1.1.50",
"description": "用于实现一个后台管理系统的必要组件",
"scripts": {
"init": "husky",
"init-prompts": "npx @kne/npm-tools deployPrompts frontend-remote-components",
"start": "cross-env PORT=3016 COMPONENTS_NAME=components-admin MODULES_DEV_PUBLIC_URL=/ craco start",
"build": "cross-env COMPONENTS_NAME=components-admin MODULES_DEV_PUBLIC_URL=components-admin craco build",
"create": "modules-dev-create",
"test": "craco test --coverage",
"eject": "react-scripts eject",
"prettier": "prettier --config .prettierrc --write '{src/**/*}.{js,jsx,ts,tsx,json,css,scss}'",
"lint-staged": "npx lint-staged"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css,scss}": [
"prettier --config .prettierrc --write",
"git add"
]
},
"files": [
"build"
],
"repository": {
"type": "git",
"url": "git+https://github.com/kne-union/components-admin.git"
},
"keywords": [],
"author": "linzp",
"license": "ISC",
"bugs": {
"url": "https://github.com/kne-union/components-admin/issues"
},
"homepage": "https://www.kne-union.top/#/components",
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"jest": {
"moduleNameMapper": {
"^@common/(.*)": "<rootDir>/src/common/$1",
"^@components/(.*)": "<rootDir>/src/components/$1",
"^@utils/(.*)": "<rootDir>/src/common/utils/$1"
}
},
"devDependencies": {
"@kne/modules-dev": "^2.3.4",
"@kne/react-fetch": "^1.4.3",
"@kne/react-scripts": "^5.1.5",
"@kne/remote-loader": "^1.2.3",
"@testing-library/jest-dom": "^6.4.2",
"antd": "^6.3.3",
"axios": "^1.6.7",
"classnames": "^2.5.1",
"cross-env": "^7.0.3",
"http-proxy-middleware": "^2.0.6",
"husky": "^9.0.11",
"lodash": "^4.17.21",
"prettier": "^3.2.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.22.2",
"sass": "^1.75.0"
},
"dependencies": {
"@ant-design/icons": "^6.0.0",
"@kne/app-children-router": "^0.1.7",
"@kne/axios-fetch": "^1.2.0",
"@kne/column-split": "^1.0.5",
"@kne/count-down": "^0.2.2",
"@kne/ensure-slash": "^0.1.0",
"@kne/is-empty": "^1.0.1",
"@kne/json-view": "^0.1.1",
"@kne/react-box": "^0.1.9",
"@kne/react-icon": "^0.1.4",
"@kne/react-intl": "^0.1.9",
"@kne/react-org-chart": "^0.1.6",
"@kne/timeline": "^1.0.2",
"@kne/token-storage": "^1.0.0",
"@kne/use-control-value": "^0.1.9",
"@kne/use-ref-callback": "^0.1.2",
"@kne/use-refer-navigate": "^1.0.0",
"dayjs": "^1.11.21",
"md5": "^2.3.0",
"xlsx": "^0.18.5"
}
}