react-chousy
Version:
A simple React component for conditional rendering using JSX-friendly syntax.
55 lines (54 loc) • 1.19 kB
JSON
{
"name": "react-chousy",
"version": "1.2.4",
"description": "A simple React component for conditional rendering using JSX-friendly syntax.",
"homepage": "https://react-chousy-doc.vercel.app/",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"README.md",
"LICENSE"
],
"repository": {
"type": "git",
"url": "https://github.com/joelnbl/react-chousy.git"
},
"scripts": {
"build": "tsup src/index.tsx --format esm,cjs --dts",
"dev": "tsup src/index.tsx --watch"
},
"keywords": [
"react",
"conditional",
"ternary",
"switch",
"component",
"jsx",
"utility",
"conditional-rendering",
"react-components"
],
"author": "Patron",
"license": "MIT",
"peerDependencies": {
"react": "^17.0.0 || ^18.0.0 || ^19.0.0"
},
"devDependencies": {
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"tsup": "^7.2.0",
"typescript": "^5.0.0"
},
"contributors": [
{
"name": "Gabriel Duran",
"url": "https://github.com/SeveralReves"
}
],
"dependencies": {
"clsx": "^2.1.1"
}
}