package.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. {
  2. "name": "tailwind-merge",
  3. "version": "3.4.0",
  4. "description": "Merge Tailwind CSS classes without style conflicts",
  5. "keywords": [
  6. "tailwindcss",
  7. "tailwind",
  8. "css",
  9. "classes",
  10. "className",
  11. "classList",
  12. "merge",
  13. "conflict",
  14. "override"
  15. ],
  16. "homepage": "https://github.com/dcastil/tailwind-merge",
  17. "bugs": {
  18. "url": "https://github.com/dcastil/tailwind-merge/issues"
  19. },
  20. "funding": {
  21. "type": "github",
  22. "url": "https://github.com/sponsors/dcastil"
  23. },
  24. "license": "MIT",
  25. "author": "Dany Castillo",
  26. "files": [
  27. "dist",
  28. "src"
  29. ],
  30. "source": "src/index.ts",
  31. "exports": {
  32. ".": {
  33. "types": "./dist/types.d.ts",
  34. "require": "./dist/bundle-cjs.js",
  35. "import": "./dist/bundle-mjs.mjs",
  36. "default": "./dist/bundle-mjs.mjs"
  37. },
  38. "./es5": {
  39. "types": "./dist/types.d.ts",
  40. "require": "./dist/es5/bundle-cjs.js",
  41. "import": "./dist/es5/bundle-mjs.mjs",
  42. "default": "./dist/es5/bundle-mjs.mjs"
  43. }
  44. },
  45. "main": "./dist/bundle-cjs.js",
  46. "types": "./dist/types.d.ts",
  47. "repository": {
  48. "type": "git",
  49. "url": "https://github.com/dcastil/tailwind-merge.git"
  50. },
  51. "sideEffects": false,
  52. "scripts": {
  53. "build": "rollup --config scripts/rollup.config.mjs",
  54. "bench": "vitest bench --config scripts/vitest.config.mts --no-watch",
  55. "test": "vitest --config scripts/vitest.config.mts --no-watch --coverage",
  56. "test:watch": "vitest --config scripts/vitest.config.mts",
  57. "test:exports": "node scripts/test-built-package-exports.cjs && node scripts/test-built-package-exports.mjs",
  58. "lint": "eslint --max-warnings 0 '**'",
  59. "preversion": "if [ -n \"$DANYS_MACHINE\" ]; then git checkout main && git pull; fi",
  60. "version": "zx scripts/update-readme.mjs",
  61. "postversion": "if [ -n \"$DANYS_MACHINE\" ]; then git push --follow-tags && open https://github.com/dcastil/tailwind-merge/releases; fi"
  62. },
  63. "dependencies": {},
  64. "devDependencies": {
  65. "@babel/core": "^7.28.4",
  66. "@babel/preset-env": "^7.28.3",
  67. "@codspeed/vitest-plugin": "^5.0.1",
  68. "@rollup/plugin-babel": "^6.0.4",
  69. "@rollup/plugin-node-resolve": "^16.0.1",
  70. "@rollup/plugin-typescript": "^12.1.4",
  71. "@types/node": "^24.9.2",
  72. "@vitest/coverage-v8": "^3.2.4",
  73. "@vitest/eslint-plugin": "^1.3.15",
  74. "babel-plugin-annotate-pure-calls": "^0.5.0",
  75. "babel-plugin-polyfill-regenerator": "^0.6.5",
  76. "eslint": "^9.37.0",
  77. "eslint-plugin-import": "^2.32.0",
  78. "globby": "^11.1.0",
  79. "prettier": "^3.6.2",
  80. "rollup": "^4.52.4",
  81. "rollup-plugin-delete": "^3.0.1",
  82. "rollup-plugin-dts": "^6.2.3",
  83. "tslib": "^2.8.1",
  84. "typescript": "^5.9.3",
  85. "typescript-eslint": "^8.45.0",
  86. "vitest": "^3.2.4",
  87. "zx": "^8.8.4"
  88. },
  89. "publishConfig": {
  90. "provenance": true
  91. },
  92. "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
  93. }