-
-
Notifications
You must be signed in to change notification settings - Fork 324
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 2.16 KB
/
Copy pathpackage.json
File metadata and controls
83 lines (83 loc) · 2.16 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
{
"name": "@rc-component/upload",
"version": "1.1.1",
"description": "Upload UI component for React",
"keywords": [
"react",
"react-component",
"react-upload",
"upload"
],
"homepage": "https://react-component.github.io/upload",
"bugs": {
"url": "https://github.com/react-component/upload/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/react-component/upload.git"
},
"license": "MIT",
"main": "./lib/index",
"module": "./es/index",
"types": "./es/index.d.ts",
"files": [
"lib",
"es"
],
"scripts": {
"build": "npm run compile && npm run docs:build",
"compile": "father build",
"coverage": "rc-test --coverage",
"deploy": "npm run gh-pages",
"docs:build": "dumi build",
"docs:deploy": "gh-pages -d docs-dist",
"gh-pages": "npm run compile && cross-env GH_PAGES=1 npm run docs:build && npm run docs:deploy",
"lint": "eslint src/ --ext .ts,.tsx,.jsx,.js,.md",
"prepublishOnly": "npm run compile && rc-np",
"prettier": "prettier --write --ignore-unknown .",
"start": "dumi dev",
"test": "rc-test",
"tsc": "tsc --noEmit",
"prepare": "husky"
},
"dependencies": {
"@rc-component/util": "^1.11.1",
"clsx": "^2.1.1"
},
"devDependencies": {
"@rc-component/father-plugin": "^2.2.0",
"prettier": "^3.9.0",
"@rc-component/np": "^1.0.4",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^15.0.7",
"@types/jest": "^29.5.14",
"@types/node": "^26.0.1",
"@types/react": "^18.3.31",
"@types/react-dom": "^18.3.7",
"@umijs/fabric": "^4.0.1",
"axios": "^1.9.0",
"cross-env": "^10.1.0",
"dumi": "^2.4.35",
"eslint": "^8.57.1",
"father": "^4.6.23",
"gh-pages": "^6.3.0",
"rc-test": "^7.1.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"regenerator-runtime": "^0.14.1",
"sinon": "^9.0.2",
"typescript": "^5.9.3",
"husky": "^9.1.7",
"lint-staged": "^16.4.0"
},
"peerDependencies": {
"react": ">=16.9.0",
"react-dom": ">=16.9.0"
},
"publishConfig": {
"access": "public"
},
"lint-staged": {
"*": "prettier --write --ignore-unknown"
}
}