package.json 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. {
  2. "name": "tailwindcss",
  3. "version": "3.4.14",
  4. "description": "A utility-first CSS framework for rapidly building custom user interfaces.",
  5. "license": "MIT",
  6. "main": "lib/index.js",
  7. "types": "types/index.d.ts",
  8. "repository": "https://github.com/tailwindlabs/tailwindcss.git",
  9. "bugs": "https://github.com/tailwindlabs/tailwindcss/issues",
  10. "homepage": "https://tailwindcss.com",
  11. "bin": {
  12. "tailwind": "lib/cli.js",
  13. "tailwindcss": "lib/cli.js"
  14. },
  15. "scripts": {
  16. "prebuild": "npm run generate && rimraf lib",
  17. "build": "swc src --out-dir lib --copy-files",
  18. "postbuild": "esbuild lib/cli-peer-dependencies.js --bundle --platform=node --outfile=peers/index.js --define:process.env.CSS_TRANSFORMER_WASM=false",
  19. "rebuild-fixtures": "npm run build && node -r @swc/register scripts/rebuildFixtures.js",
  20. "style": "eslint .",
  21. "pretest": "npm run generate",
  22. "test": "jest",
  23. "test:integrations": "npm run test --prefix ./integrations",
  24. "install:integrations": "node scripts/install-integrations.js",
  25. "generate:plugin-list": "node -r @swc/register scripts/create-plugin-list.js",
  26. "generate:types": "node -r @swc/register scripts/generate-types.js",
  27. "generate": "npm run generate:plugin-list && npm run generate:types",
  28. "release-channel": "node ./scripts/release-channel.js",
  29. "release-notes": "node ./scripts/release-notes.js",
  30. "prepublishOnly": "npm install --force && npm run build"
  31. },
  32. "files": [
  33. "src/*",
  34. "cli/*",
  35. "lib/*",
  36. "peers/*",
  37. "scripts/*.js",
  38. "stubs/*",
  39. "nesting/*",
  40. "types/**/*",
  41. "*.d.ts",
  42. "*.css",
  43. "*.js"
  44. ],
  45. "devDependencies": {
  46. "@swc/cli": "^0.1.62",
  47. "@swc/core": "^1.3.55",
  48. "@swc/jest": "^0.2.26",
  49. "@swc/register": "^0.1.10",
  50. "autoprefixer": "^10.4.14",
  51. "browserslist": "^4.21.5",
  52. "concurrently": "^8.0.1",
  53. "cssnano": "^6.1.2",
  54. "esbuild": "^0.20.2",
  55. "eslint": "^8.39.0",
  56. "eslint-config-prettier": "^8.8.0",
  57. "eslint-plugin-prettier": "^4.2.1",
  58. "jest": "^29.6.0",
  59. "jest-diff": "^29.6.0",
  60. "lightningcss": "1.24.1",
  61. "prettier": "^2.8.8",
  62. "rimraf": "^5.0.0",
  63. "source-map-js": "^1.0.2",
  64. "turbo": "^1.9.3"
  65. },
  66. "dependencies": {
  67. "@alloc/quick-lru": "^5.2.0",
  68. "arg": "^5.0.2",
  69. "chokidar": "^3.5.3",
  70. "didyoumean": "^1.2.2",
  71. "dlv": "^1.1.3",
  72. "fast-glob": "^3.3.0",
  73. "glob-parent": "^6.0.2",
  74. "is-glob": "^4.0.3",
  75. "jiti": "^1.21.0",
  76. "lilconfig": "^2.1.0",
  77. "micromatch": "^4.0.5",
  78. "normalize-path": "^3.0.0",
  79. "object-hash": "^3.0.0",
  80. "picocolors": "^1.0.0",
  81. "postcss": "^8.4.23",
  82. "postcss-import": "^15.1.0",
  83. "postcss-js": "^4.0.1",
  84. "postcss-load-config": "^4.0.1",
  85. "postcss-nested": "^6.0.1",
  86. "postcss-selector-parser": "^6.0.11",
  87. "resolve": "^1.22.2",
  88. "sucrase": "^3.32.0"
  89. },
  90. "browserslist": [
  91. "> 1%",
  92. "not edge <= 18",
  93. "not ie 11",
  94. "not op_mini all"
  95. ],
  96. "jest": {
  97. "testTimeout": 30000,
  98. "setupFilesAfterEnv": [
  99. "<rootDir>/jest/customMatchers.js"
  100. ],
  101. "testPathIgnorePatterns": [
  102. "/node_modules/",
  103. "/integrations/",
  104. "/standalone-cli/",
  105. "\\.test\\.skip\\.js$"
  106. ],
  107. "transformIgnorePatterns": [
  108. "node_modules/(?!lightningcss)"
  109. ],
  110. "transform": {
  111. "\\.js$": "@swc/jest",
  112. "\\.ts$": "@swc/jest"
  113. }
  114. },
  115. "engines": {
  116. "node": ">=14.0.0"
  117. }
  118. }