UNPKG

@rc-component/tabs

Version:
104 lines (103 loc) 2.96 kB
{ "name": "@rc-component/tabs", "version": "1.12.0", "description": "Tabs UI component for React", "keywords": [ "react", "react-component", "react-tabs" ], "homepage": "https://react-component.github.io/tabs", "bugs": { "url": "https://github.com/react-component/tabs/issues" }, "repository": { "type": "git", "url": "https://github.com/react-component/tabs.git" }, "license": "MIT", "author": "yiminghe@gmail.com", "main": "./lib/index", "module": "./es/index", "files": [ "assets/*.css", "lib", "es" ], "scripts": { "build": "npm run compile && npm run docs:build", "compile": "father build && npm run compile:style", "compile:style": "lessc --js assets/index.less assets/index.css", "coverage": "rc-test --coverage", "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/ docs/examples/ --ext .tsx,.ts,.jsx,.js", "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/dropdown": "~1.0.0", "@rc-component/menu": "~1.4.0", "@rc-component/motion": "^1.1.3", "@rc-component/resize-observer": "^1.0.0", "@rc-component/util": "^1.11.1", "clsx": "^2.1.1" }, "devDependencies": { "@eslint/js": "^10.0.1", "@eslint/compat": "^2.1.0", "@rc-component/father-plugin": "^2.2.0", "@rc-component/np": "^1.0.4", "@testing-library/dom": "^10.4.1", "@testing-library/jest-dom": "^6.9.1", "@testing-library/react": "^16.3.2", "@testing-library/user-event": "^14.6.1", "@types/enzyme": "^3.10.19", "@types/jest": "^30.0.0", "@types/node": "^26.0.1", "@types/react": "^19.2.17", "@types/react-dom": "^19.2.3", "cross-env": "^10.1.0", "dumi": "^2.4.38", "eslint": "^10.6.0", "eslint-config-prettier": "^10.1.8", "eslint-plugin-jest": "^29.15.4", "eslint-plugin-react": "^7.37.5", "eslint-plugin-react-hooks": "^7.1.1", "father": "^4.6.24", "gh-pages": "^6.3.0", "globals": "^17.7.0", "husky": "^9.1.7", "less": "^4.6.7", "lint-staged": "^17.0.8", "prettier": "^3.9.4", "rc-test": "^7.1.3", "react": "^19.2.7", "react-dnd": "^16.0.1", "react-dnd-html5-backend": "^16.0.1", "react-dom": "^19.2.7", "react-sticky": "^6.0.3", "typescript": "^6.0.3", "typescript-eslint": "^8.62.1" }, "peerDependencies": { "react": ">=16.9.0", "react-dom": ">=16.9.0" }, "engines": { "node": ">=8.x" }, "types": "./es/index.d.ts", "style": "./assets/index.css", "publishConfig": { "access": "public" }, "lint-staged": { "*": "prettier --write --ignore-unknown" } }