tailwind-clamp 4.1.2 → 4.2.0

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 CHANGED
@@ -1,11 +1,13 @@
1
1
  {
2
2
  "name": "tailwind-clamp",
3
- "version": "4.1.2",
4
- "description": "Plugin to leverage the the CSS clamp function in your Tailwind CSS project.",
3
+ "version": "4.2.0",
4
+ "description": "Plugin to leverage the CSS clamp function in your Tailwind CSS project.",
5
5
  "main": "dist/index.umd.cjs",
6
6
  "module": "dist/index.js",
7
+ "types": "dist/index.d.ts",
7
8
  "exports": {
8
9
  ".": {
10
+ "types": "./dist/index.d.ts",
9
11
  "import": "./dist/index.js",
10
12
  "require": "./dist/index.umd.cjs"
11
13
  }
@@ -17,8 +19,9 @@
17
19
  "scripts": {
18
20
  "dev": "vite",
19
21
  "build": "vite build",
20
- "build:docs": "vite build --config vite.config.docs.js",
21
- "preview": "vite preview"
22
+ "test": "vitest run",
23
+ "preview": "vite preview",
24
+ "prepublishOnly": "vite build"
22
25
  },
23
26
  "repository": {
24
27
  "type": "git",
@@ -35,13 +38,15 @@
35
38
  "url": "https://github.com/nicolas-cusan/tailwind-clamp/issues"
36
39
  },
37
40
  "homepage": "https://github.com/nicolas-cusan/tailwind-clamp#readme",
38
- "dependencies": {
39
- "@csstools/css-calc": "^2.1.3",
40
- "tailwindcss": "^4.1.7"
41
+ "peerDependencies": {
42
+ "tailwindcss": "^4.0.0"
41
43
  },
42
44
  "devDependencies": {
45
+ "@csstools/css-calc": "^2.1.3",
43
46
  "@fontsource/jetbrains-mono": "^5.2.5",
44
47
  "@tailwindcss/vite": "^4.1.7",
45
- "vite": "^6.3.5"
48
+ "tailwindcss": "^4.1.7",
49
+ "vite": "^6.3.5",
50
+ "vitest": "^4.0.18"
46
51
  }
47
52
  }