forked from DTStack/dt-react-component
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
127 lines (127 loc) · 3.75 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "dt-react-component",
"version": "4.0.1",
"description": "react-component",
"repository": "https://github.com/DTStack/dt-react-component",
"main": "lib/index.js",
"module": "esm/index.js",
"types": "esm/index.d.ts",
"scripts": {
"start": "npm run dev",
"dev": "dumi dev",
"build": "father build",
"build:watch": "father dev",
"test": "jest",
"docs:build": "dumi build",
"prepare": "husky install && dumi setup",
"doctor": "father doctor",
"lint": "npm run lint:es && npm run lint:css",
"lint:css": "stylelint \"src/**/*.{css,less,scss}\"",
"lint:es": "eslint \"src/**/*.{js,jsx,ts,tsx}\"",
"prepublishOnly": "father doctor && npm run build",
"deploy": "npm run docs:build && gh-pages -d docs-dist",
"release": "./scripts/release.sh"
},
"authors": [
"dtinsight UED"
],
"license": "MIT",
"files": [
"lib",
"esm"
],
"keywords": [
"react",
"react-component",
"ui-library",
"typescript",
"ant-design"
],
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.{md,json}": [
"prettier --write --no-error-on-unmatched-pattern"
],
"*.{css,scss}": [
"stylelint --fix"
],
"*.{js,jsx}": [
"eslint --fix",
"prettier --write"
],
"*.{ts,tsx}": [
"eslint --fix",
"prettier --parser=typescript --write"
]
},
"publishConfig": {
"access": "public"
},
"peerDependencies": {
"react": ">=16.9.0",
"react-dom": ">=16.9.0"
},
"devDependencies": {
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"@faker-js/faker": "^7.6.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^14.4.3",
"@typed-mxgraph/typed-mxgraph": "^1.0.7",
"@types/jest": "^29.2.3",
"@types/lodash": "^4.14.191",
"@types/react": "^18.0.0",
"@types/showdown": "^1.9.0",
"@types/testing-library__jest-dom": "^5.14.5",
"@umijs/lint": "^4.0.0",
"babel-plugin-import": "^1.13.5",
"babel-types": "^6.26.0",
"conventional-changelog-cli": "^2.2.2",
"cz-conventional-changelog": "^3.3.0",
"dumi": "^2.1.13",
"eslint": "^8.23.0",
"father": "^4.1.0",
"fetch-jsonp": "^1.2.3",
"gh-pages": "^4.0.0",
"husky": "^8.0.1",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"ko-lint-config": "^2.2.18",
"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",
"react-test-renderer": "^18.2.0",
"stylelint": "^14.9.1",
"ts-jest": "^29.0.3",
"typescript": "~4.5.2"
},
"dependencies": {
"@ant-design/icons": "^4.7.0",
"@handsontable/react": "2.1.0",
"antd": "4.22.5",
"classnames": "^2.2.6",
"handsontable": "6.2.2",
"highlight.js": "^10.5.0",
"lodash": "^4.17.21",
"mxgraph": "^4.2.2",
"rc-drawer": "~5.1.0",
"rc-virtual-list": "^3.4.13",
"showdown": "^1.9.0",
"standard-version": "^9.5.0",
"use-clippy": "^1.0.9"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}