UNPKG

react-twc

Version:

Create reusable Tailwind CSS components with React.

81 lines (80 loc) 2.25 kB
{ "name": "react-twc", "version": "1.5.1", "description": "Create reusable Tailwind CSS components with React.", "type": "module", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "default": "./dist/index.js" } }, "types": "./dist/index.d.ts", "scripts": { "test": "vitest", "build": "rm -rf dist && tsup", "format": "prettier --write .", "check-format": "prettier --check src", "lint": "eslint .", "check-types": "tsc --noEmit", "prepublishOnly": "npm run build", "release": "standard-version && conventional-github-releaser --preset angular" }, "keywords": [ "react", "tailwind", "css", "components", "styled", "styled-components" ], "author": "Greg Bergé", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/gregberge/twc.git" }, "homepage": "https://react-twc.vercel.app", "funding": { "type": "github", "url": "https://github.com/sponsors/gregberge" }, "devDependencies": { "@ampproject/filesize": "^4.3.0", "@eslint/eslintrc": "^3.3.1", "@eslint/js": "^9.30.0", "@radix-ui/react-accordion": "^1.2.11", "@swc/core": "^1.12.7", "@testing-library/react": "^16.3.0", "@types/react": "^19.1.8", "@typescript-eslint/eslint-plugin": "^8.35.0", "@typescript-eslint/parser": "^8.35.0", "@vitejs/plugin-react": "^4.6.0", "@vitest/eslint-plugin": "^1.3.3", "class-variance-authority": "^0.7.1", "conventional-github-releaser": "^3.1.5", "eslint": "^9.30.0", "happy-dom": "^18.0.1", "prettier": "^3.6.2", "react": "^19.1.0", "react-aria-components": "^1.10.1", "react-dom": "^19.1.0", "standard-version": "^9.5.0", "tailwind-merge": "^3.3.1", "tsup": "^8.5.0", "typescript": "^5.8.3", "typescript-eslint": "^8.35.0", "vitest": "^3.2.4" }, "dependencies": { "@radix-ui/react-slot": "^1.2.3", "clsx": "^2.1.1" }, "filesize": { "track": [ "./dist/**/*.mjs" ] }, "packageManager": "pnpm@10.11.0+sha512.6540583f41cc5f628eb3d9773ecee802f4f9ef9923cc45b69890fb47991d4b092964694ec3a4f738a420c918a333062c8b925d312f42e4f0c263eb603551f977" }