97 lines
2.7 KiB
JSON
97 lines
2.7 KiB
JSON
{
|
|
"_from": "class-variance-authority@^0.7.0",
|
|
"_id": "class-variance-authority@0.7.1",
|
|
"_inBundle": false,
|
|
"_integrity": "sha512-Ka+9Trutv7G8M6WT6SeiRWz792K5qEqIGEGzXKhAE6xOWAY6pPH8U+9IY3oCMv6kqTmLsv7Xh/2w2RigkePMsg==",
|
|
"_location": "/class-variance-authority",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"type": "range",
|
|
"registry": true,
|
|
"raw": "class-variance-authority@^0.7.0",
|
|
"name": "class-variance-authority",
|
|
"escapedName": "class-variance-authority",
|
|
"rawSpec": "^0.7.0",
|
|
"saveSpec": null,
|
|
"fetchSpec": "^0.7.0"
|
|
},
|
|
"_requiredBy": [
|
|
"/"
|
|
],
|
|
"_resolved": "https://registry.npmmirror.com/class-variance-authority/-/class-variance-authority-0.7.1.tgz",
|
|
"_shasum": "4008a798a0e4553a781a57ac5177c9fb5d043787",
|
|
"_spec": "class-variance-authority@^0.7.0",
|
|
"_where": "/Users/hongbin9/www/botgroup.chat",
|
|
"author": {
|
|
"name": "Joe Bell",
|
|
"url": "https://joebell.co.uk"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/joe-bell/cva/issues"
|
|
},
|
|
"bundleDependencies": false,
|
|
"dependencies": {
|
|
"clsx": "^2.1.1"
|
|
},
|
|
"deprecated": false,
|
|
"description": "Class Variance Authority 🧬",
|
|
"devDependencies": {
|
|
"@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",
|
|
"npm-run-all": "4.1.5",
|
|
"react": "18.2.0",
|
|
"react-dom": "18.2.0",
|
|
"ts-node": "10.9.2",
|
|
"typescript": "5.4.5"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.mjs",
|
|
"require": "./dist/index.js",
|
|
"types": "./dist/index.d.ts"
|
|
},
|
|
"./types": {
|
|
"types": "./dist/types.d.ts"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist/"
|
|
],
|
|
"funding": "https://polar.sh/cva",
|
|
"homepage": "https://github.com/joe-bell/cva#readme",
|
|
"keywords": [
|
|
"Class Variance Authority",
|
|
"class-variance-authority",
|
|
"classes",
|
|
"classname",
|
|
"classnames",
|
|
"css",
|
|
"cva",
|
|
"stitches",
|
|
"vanilla-extract",
|
|
"variants"
|
|
],
|
|
"license": "Apache-2.0",
|
|
"main": "dist/index.js",
|
|
"module": "dist/index.mjs",
|
|
"name": "class-variance-authority",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/joe-bell/cva.git"
|
|
},
|
|
"scripts": {
|
|
"build": "run-p 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 1.2KB",
|
|
"check": "tsc --project tsconfig.json --noEmit"
|
|
},
|
|
"types": "dist/index.d.ts",
|
|
"version": "0.7.1"
|
|
}
|