css-variants 2.3.0 → 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "css-variants",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.1",
|
|
4
4
|
"description": "Lightweight helpers to compose class names and inline styles using variants. Zero runtime deps, small bundle, and first-class TypeScript support.",
|
|
5
5
|
"homepage": "https://css-variants.vercel.app",
|
|
6
6
|
"type": "module",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"lint": "eslint .",
|
|
47
47
|
"test": "vitest run --coverage",
|
|
48
48
|
"bench": "vitest bench ./src",
|
|
49
|
-
"bench:cva": "
|
|
50
|
-
"bench:tailwind-variants": "
|
|
49
|
+
"bench:cva": "npm install class-variance-authority --no-save --no-package-lock && vitest bench ./benchmark/cva.bench.ts --outputJson ./benchmark/cva.bench.json --run",
|
|
50
|
+
"bench:tailwind-variants": "npm install tailwind-variants --no-save --no-package-lock && vitest bench ./benchmark/tailwind-variants.bench.ts --outputJson ./benchmark/tailwind-variants.bench.json --run",
|
|
51
51
|
"build": "tsup"
|
|
52
52
|
},
|
|
53
53
|
"repository": {
|
|
@@ -90,8 +90,5 @@
|
|
|
90
90
|
"typescript": "^5.9.3",
|
|
91
91
|
"typescript-eslint": "^8.49.0",
|
|
92
92
|
"vitest": "^4.0.15"
|
|
93
|
-
},
|
|
94
|
-
"dependencies": {
|
|
95
|
-
"tailwind-variants": "^3.2.2"
|
|
96
93
|
}
|
|
97
94
|
}
|