package.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. {
  2. "name": "tailwindcss",
  3. "version": "3.0.24",
  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. "preswcify": "npm run generate && rimraf lib",
  17. "swcify": "swc src --out-dir lib --copy-files",
  18. "postswcify": "esbuild lib/cli-peer-dependencies.js --bundle --platform=node --outfile=peers/index.js",
  19. "rebuild-fixtures": "npm run swcify && node -r @swc/register scripts/rebuildFixtures.js",
  20. "prepublishOnly": "npm install --force && npm run swcify",
  21. "style": "eslint .",
  22. "pretest": "npm run generate",
  23. "test": "jest",
  24. "test:integrations": "npm run test --prefix ./integrations",
  25. "install:integrations": "node scripts/install-integrations.js",
  26. "posttest": "npm run style",
  27. "generate:plugin-list": "node -r @swc/register scripts/create-plugin-list.js",
  28. "generate:types": "node -r @swc/register scripts/generate-types.js",
  29. "generate": "npm run generate:plugin-list && npm run generate:types"
  30. },
  31. "files": [
  32. "src/*",
  33. "cli/*",
  34. "lib/*",
  35. "peers/*",
  36. "scripts/*.js",
  37. "stubs/*.stub.js",
  38. "nesting/*",
  39. "types/**/*",
  40. "*.d.ts",
  41. "*.css",
  42. "*.js"
  43. ],
  44. "devDependencies": {
  45. "@swc/cli": "^0.1.57",
  46. "@swc/core": "^1.2.160",
  47. "@swc/jest": "^0.2.21",
  48. "@swc/register": "^0.1.10",
  49. "autoprefixer": "^10.4.7",
  50. "cssnano": "^5.1.9",
  51. "esbuild": "^0.14.39",
  52. "eslint": "^8.15.0",
  53. "eslint-config-prettier": "^8.5.0",
  54. "eslint-plugin-prettier": "^4.0.0",
  55. "jest": "^28.1.0",
  56. "jest-diff": "^28.1.0",
  57. "prettier": "^2.6.2",
  58. "prettier-plugin-tailwindcss": "^0.1.11",
  59. "rimraf": "^3.0.0",
  60. "source-map-js": "^1.0.2"
  61. },
  62. "peerDependencies": {
  63. "postcss": "^8.0.9"
  64. },
  65. "dependencies": {
  66. "arg": "^5.0.1",
  67. "chokidar": "^3.5.3",
  68. "color-name": "^1.1.4",
  69. "detective": "^5.2.0",
  70. "didyoumean": "^1.2.2",
  71. "dlv": "^1.1.3",
  72. "fast-glob": "^3.2.11",
  73. "glob-parent": "^6.0.2",
  74. "is-glob": "^4.0.3",
  75. "lilconfig": "^2.0.5",
  76. "normalize-path": "^3.0.0",
  77. "object-hash": "^3.0.0",
  78. "picocolors": "^1.0.0",
  79. "postcss": "^8.0.9",
  80. "postcss-import": "^14.1.0",
  81. "postcss-js": "^4.0.0",
  82. "postcss-load-config": "^3.1.4",
  83. "postcss-nested": "5.0.6",
  84. "postcss-selector-parser": "^6.0.10",
  85. "postcss-value-parser": "^4.2.0",
  86. "quick-lru": "^5.1.1",
  87. "resolve": "^1.22.0"
  88. },
  89. "browserslist": [
  90. "> 1%",
  91. "not edge <= 18",
  92. "not ie 11",
  93. "not op_mini all"
  94. ],
  95. "jest": {
  96. "testTimeout": 30000,
  97. "setupFilesAfterEnv": [
  98. "<rootDir>/jest/customMatchers.js"
  99. ],
  100. "testPathIgnorePatterns": [
  101. "/node_modules/",
  102. "/integrations/",
  103. "/standalone-cli/"
  104. ],
  105. "transform": {
  106. "\\.js$": "@swc/jest"
  107. }
  108. },
  109. "engines": {
  110. "node": ">=12.13.0"
  111. }
  112. }