UNPKG

2.08 kBJSONView Raw
1{
2 "name": "rc-collapse",
3 "version": "3.7.3",
4 "description": "rc-collapse ui component for react",
5 "keywords": [
6 "react",
7 "react-component",
8 "react-rc-collapse",
9 "rc-collapse",
10 "collapse",
11 "accordion"
12 ],
13 "homepage": "http://github.com/react-component/collapse",
14 "bugs": {
15 "url": "http://github.com/react-component/collapse/issues"
16 },
17 "repository": {
18 "type": "git",
19 "url": "git@github.com:react-component/collapse.git"
20 },
21 "license": "MIT",
22 "main": "./lib/index",
23 "module": "./es/index",
24 "typings": "es/index.d.ts",
25 "files": [
26 "lib",
27 "es",
28 "assets/*.css"
29 ],
30 "scripts": {
31 "build": "dumi build",
32 "compile": "father build && lessc assets/index.less assets/index.css",
33 "coverage": "npm test -- --coverage",
34 "lint": "eslint src/ --ext .ts,.tsx,.jsx,.js,.md",
35 "prepare": "husky install",
36 "prepublishOnly": "npm run compile && np --yolo --no-publish",
37 "prettier": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"",
38 "start": "dumi dev",
39 "test": "rc-test"
40 },
41 "lint-staged": {
42 "**/*.{ts,tsx,js,jsx,json,md}": "npm run prettier"
43 },
44 "dependencies": {
45 "@babel/runtime": "^7.10.1",
46 "classnames": "2.x",
47 "rc-motion": "^2.3.4",
48 "rc-util": "^5.27.0"
49 },
50 "devDependencies": {
51 "@rc-component/father-plugin": "^1.0.1",
52 "@testing-library/jest-dom": "^6.1.4",
53 "@testing-library/react": "^14.1.2",
54 "@types/classnames": "^2.2.9",
55 "@types/jest": "^29.4.0",
56 "@types/react": "^18.0.0",
57 "@types/react-dom": "^18.0.0",
58 "@umijs/fabric": "^3.0.0",
59 "dumi": "^2.1.1",
60 "eslint": "^8.55.0",
61 "eslint-plugin-jest": "^27.6.0",
62 "eslint-plugin-unicorn": "^49.0.0",
63 "father": "^4.1.3",
64 "husky": "^8.0.3",
65 "jest": "^29.1.2",
66 "less": "^4.2.0",
67 "lint-staged": "^15.0.2",
68 "np": "^9.1.0",
69 "prettier": "^3.0.3",
70 "rc-test": "^7.0.14",
71 "react": "^18.2.0",
72 "react-dom": "^18.2.0",
73 "typescript": "^5.0.0"
74 },
75 "peerDependencies": {
76 "react": ">=16.9.0",
77 "react-dom": ">=16.9.0"
78 }
79}