UNPKG

@zemd/react-slottable

Version:

A lightweight concept to customize subcomponents in React

75 lines 1.89 kB
{ "name": "@zemd/react-slottable", "type": "module", "version": "3.0.4", "license": "Apache-2.0", "description": "A lightweight concept to customize subcomponents in React", "main": "./dist/index.cjs", "module": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js" } }, "author": { "name": "Dmytro Zelenetskyi", "email": "dmytro.zelenetskyi@gmail.com", "url": "https://codeandgin.co" }, "homepage": "https://github.com/zemd/react-slottable", "repository": { "type": "git", "url": "https://github.com/zemd/react-slottable.git" }, "bugs": { "url": "https://github.com/zemd/react-slottable/issues" }, "keywords": [ "react", "component", "subcomponent", "library", "slottable", "slots", "deeply customized" ], "files": [ "dist" ], "devDependencies": { "@changesets/cli": "^2.28.1", "@swc/core": "^1.10.18", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.2.0", "@types/react": "^19.0.10", "@types/react-dom": "^19.0.4", "@vitejs/plugin-react": "^4.4.1", "@zemd/eslint-react": "^1.0.5", "@zemd/github-readme": "^0.0.5", "@zemd/tsconfig": "^1.3.0", "eslint": "^9.21.0", "happy-dom": "^17.1.4", "husky": "^9.1.7", "prettier": "^3.5.2", "react": "^19.0.0", "react-dom": "^19.0.0", "tsup": "^8.3.6", "typescript": "^5.7.3", "vitest": "^3.0.6" }, "peerDependencies": { "react": ">=18" }, "engines": { "node": ">=22" }, "scripts": { "build": "tsup --minify", "test": "vitest --run", "release": "pnpm run build && changeset publish", "readme": "github-readme build ./README.md.template --title \"React Slottable for customizable components\"", "lint": "eslint ." } }