@rc-component/drawer 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,90 @@
1
+ {
2
+ "name": "@rc-component/drawer",
3
+ "version": "1.0.0",
4
+ "description": "drawer component for react",
5
+ "keywords": [
6
+ "react",
7
+ "react-component",
8
+ "react-drawer",
9
+ "drawer",
10
+ "drawer-menu",
11
+ "rc-drawer-menu",
12
+ "react-drawer-menu",
13
+ "animation",
14
+ "drawer-motion",
15
+ "drawer-animation"
16
+ ],
17
+ "homepage": "https://github.com/react-component/drawer",
18
+ "bugs": {
19
+ "url": "https://github.com/react-component/drawer/issues"
20
+ },
21
+ "repository": {
22
+ "type": "git",
23
+ "url": "https://github.com/react-component/drawer.git"
24
+ },
25
+ "license": "MIT",
26
+ "author": "155259966@qq.com",
27
+ "main": "./lib/index",
28
+ "module": "./es/index",
29
+ "files": [
30
+ "lib",
31
+ "assets/*.css",
32
+ "es"
33
+ ],
34
+ "scripts": {
35
+ "build": "dumi build",
36
+ "compile": "father build && lessc assets/index.less assets/index.css",
37
+ "lint": "eslint src/ --ext .tsx,.ts",
38
+ "now-build": "npm run build",
39
+ "prepublishOnly": "npm run compile && rc-np",
40
+ "start": "dumi dev",
41
+ "test": "rc-test",
42
+ "prettier": "prettier --write .",
43
+ "prepare": "husky"
44
+ },
45
+ "dependencies": {
46
+ "@rc-component/motion": "^1.1.4",
47
+ "@rc-component/portal": "^2.0.0",
48
+ "@rc-component/util": "^1.2.1",
49
+ "classnames": "^2.2.6"
50
+ },
51
+ "devDependencies": {
52
+ "@ant-design/icons": "^5.3.0",
53
+ "@rc-component/father-plugin": "^2.0.2",
54
+ "@rc-component/np": "^1.0.0",
55
+ "@testing-library/jest-dom": "^6.2.0",
56
+ "@testing-library/react": "^14.0.0",
57
+ "@types/classnames": "^2.2.9",
58
+ "@types/jest": "^29.5.11",
59
+ "@types/raf": "^3.4.0",
60
+ "@types/react": "^19.0.0",
61
+ "@types/react-dom": "^19.0.0",
62
+ "@types/warning": "^3.0.0",
63
+ "antd": "^5.12.7",
64
+ "dumi": "^2.2.0",
65
+ "eslint": "^8.56.0",
66
+ "eslint-plugin-jest": "^27.6.0",
67
+ "eslint-plugin-unicorn": "^51.0.1",
68
+ "father": "^4.0.0",
69
+ "glob": "^10.3.10",
70
+ "husky": "^9.0.10",
71
+ "less": "^4.2.0",
72
+ "lint-staged": "^15.2.2",
73
+ "prettier": "^3.0.0",
74
+ "rc-test": "^7.0.9",
75
+ "react": "^19.0.0",
76
+ "react-dom": "^19.0.0",
77
+ "stylelint": "^16.2.1",
78
+ "stylelint-config-standard-less": "^3.0.1",
79
+ "typescript": "^5.3.3"
80
+ },
81
+ "peerDependencies": {
82
+ "react": ">=18.0.0",
83
+ "react-dom": ">=18.0.0"
84
+ },
85
+ "lint-staged": {
86
+ "*.{js,jsx,ts,tsx}": "eslint --fix",
87
+ "*.{css,less}": "stylelint --fix",
88
+ "*.{js,jsx,ts,tsx,json,less,css,md}": "prettier --write"
89
+ }
90
+ }