react-tailwind-variants
Version:
React Stitches-like variants API for tailwindcss classes
67 lines • 1.85 kB
JSON
{
"name": "react-tailwind-variants",
"version": "1.0.3",
"description": "React Stitches-like variants API for tailwindcss classes",
"private": false,
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"license": "MIT",
"author": {
"name": "Salavat Salakhutdinov",
"email": "salahutdinov.salavat@gmail.com",
"url": "https://github.com/jackardios"
},
"keywords": [
"tailwind",
"tailwindcss",
"css",
"cva",
"classname",
"classname-variants",
"tailwind-variants",
"stitches.js",
"stitches",
"stitches-like",
"variants",
"react"
],
"repository": {
"type": "git",
"url": "git+https://github.com/jackardios/react-tailwind-variants.git"
},
"bugs": {
"url": "https://github.com/jackardios/react-tailwind-variants/issues"
},
"homepage": "https://github.com/jackardios/react-tailwind-variants#readme",
"devDependencies": {
"@changesets/cli": "^2.26.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"@types/react": "^19.1.0",
"@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.7.0",
"jsdom": "^26.1.0",
"react-dom": "^19.1.0",
"tsup": "^8.5.0",
"typescript": "^5.8.3",
"vitest": "^3.2.4"
},
"dependencies": {
"@radix-ui/react-slot": "^1.2.3"
},
"peerDependencies": {
"react": "^16.8 || ^17.0 || ^18.0 || ^19.0",
"react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0",
"tailwind-merge": "^1.10.0 || ^2.0.0 || ^3.0.0"
},
"scripts": {
"dev": "vitest",
"test": "vitest run",
"build": "tsup src/index.ts --format cjs,esm --dts",
"lint": "tsc",
"ci": "pnpm run lint && pnpm run test && pnpm run build",
"release": "pnpm run ci && changeset publish"
}
}