UNPKG

cva-extended

Version:

Class Variance Authority 🧬 - Extended

75 lines • 2.1 kB
{ "name": "cva-extended", "version": "2.0.0", "description": "Class Variance Authority 🧬 - Extended", "keywords": [ "Class Variance Authority", "class-variance-authority", "classes", "classname", "classnames", "css", "cva", "stitches", "vanilla-extract", "variants" ], "homepage": "https://github.com/bengry/cva-extended#readme", "bugs": "https://github.com/bengry/cva-extended/issues", "repository": "https://github.com/bengry/cva-extended.git", "funding": "https://polar.sh/cva", "license": "Apache-2.0", "author": "Joe Bell (https://joebell.co.uk)", "contributors": [ { "name": "Ben Grynhaus", "url": "https://github.com/bengry" } ], "exports": { "import": "./dist/index.mjs", "require": "./dist/index.js", "types": "./dist/index.d.ts" }, "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", "files": [ "dist/" ], "dependencies": { "clsx": "^2.1.1" }, "devDependencies": { "@arethetypeswrong/cli": "0.17.3", "@swc/cli": "0.3.12", "@swc/core": "1.4.16", "@types/node": "20.12.7", "@types/react": "18.2.79", "@types/react-dom": "18.2.25", "bundlesize": "0.18.2", "react": "18.2.0", "react-dom": "18.2.0", "ts-node": "10.9.2", "typescript": "5.7.3" }, "peerDependencies": { "typescript": ">= 4.5.5" }, "peerDependenciesMeta": { "typescript": { "optional": true } }, "scripts": { "build": "pnpm run '/^build:.*/'", "build:cjs": "swc ./src/index.ts --config-file ./.config/.swcrc -o dist/index.js -C module.type=commonjs", "build:esm": "swc ./src/index.ts --config-file ./.config/.swcrc -o dist/index.mjs -C module.type=es6 ", "build:tsc": "tsc --project .config/tsconfig.build.json", "bundlesize": "pnpm build && bundlesize -f 'dist/*.js' -s 2KB", "check": "pnpm run '/^check:.*/'", "check:exports": "attw --pack .", "check:tsc": "tsc --project tsconfig.json --noEmit", "dev": "jest --config .config/jest.config.ts --watch" } }