package.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. {
  2. "name": "tailwindcss",
  3. "version": "3.0.15",
  4. "description": "A utility-first CSS framework for rapidly building custom user interfaces.",
  5. "license": "MIT",
  6. "main": "lib/index.js",
  7. "style": "dist/tailwind.css",
  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. "contributors": [
  16. "Adam Wathan <adam.wathan@gmail.com>",
  17. "Jonathan Reinink <jonathan@reinink.ca>",
  18. "David Hemphill <davidlee.hemphill@gmail.com>"
  19. ],
  20. "scripts": {
  21. "preswcify": "npm run generate:plugin-list && rimraf lib",
  22. "swcify": "swc src --out-dir lib --copy-files",
  23. "postswcify": "esbuild lib/cli-peer-dependencies.js --bundle --platform=node --outfile=peers/index.js",
  24. "rebuild-fixtures": "npm run swcify && node -r @swc/register scripts/rebuildFixtures.js",
  25. "prepublishOnly": "npm install --force && npm run swcify",
  26. "style": "eslint .",
  27. "pretest": "npm run generate:plugin-list",
  28. "test": "jest",
  29. "test:integrations": "npm run test --prefix ./integrations",
  30. "install:integrations": "node scripts/install-integrations.js",
  31. "posttest": "npm run style",
  32. "generate:plugin-list": "node -r @swc/register scripts/create-plugin-list.js"
  33. },
  34. "files": [
  35. "src/*",
  36. "cli/*",
  37. "lib/*",
  38. "peers/*",
  39. "scripts/*.js",
  40. "stubs/*.stub.js",
  41. "nesting/*",
  42. "*.css",
  43. "*.js"
  44. ],
  45. "devDependencies": {
  46. "@swc/cli": "^0.1.55",
  47. "@swc/core": "^1.2.127",
  48. "@swc/jest": "^0.2.15",
  49. "@swc/register": "^0.1.7",
  50. "autoprefixer": "^10.4.1",
  51. "cssnano": "^5.0.14",
  52. "esbuild": "^0.14.10",
  53. "eslint": "^8.6.0",
  54. "eslint-config-prettier": "^8.3.0",
  55. "eslint-plugin-prettier": "^4.0.0",
  56. "jest": "^27.4.7",
  57. "jest-diff": "^27.4.6",
  58. "postcss": "^8.4.5",
  59. "prettier": "^2.5.1",
  60. "rimraf": "^3.0.0"
  61. },
  62. "peerDependencies": {
  63. "autoprefixer": "^10.0.2",
  64. "postcss": "^8.0.9"
  65. },
  66. "dependencies": {
  67. "arg": "^5.0.1",
  68. "chalk": "^4.1.2",
  69. "chokidar": "^3.5.2",
  70. "color-name": "^1.1.4",
  71. "cosmiconfig": "^7.0.1",
  72. "detective": "^5.2.0",
  73. "didyoumean": "^1.2.2",
  74. "dlv": "^1.1.3",
  75. "fast-glob": "^3.2.7",
  76. "glob-parent": "^6.0.2",
  77. "is-glob": "^4.0.3",
  78. "normalize-path": "^3.0.0",
  79. "object-hash": "^2.2.0",
  80. "postcss-js": "^4.0.0",
  81. "postcss-load-config": "^3.1.0",
  82. "postcss-nested": "5.0.6",
  83. "postcss-selector-parser": "^6.0.8",
  84. "postcss-value-parser": "^4.2.0",
  85. "quick-lru": "^5.1.1",
  86. "resolve": "^1.21.0"
  87. },
  88. "browserslist": [
  89. "> 1%",
  90. "not edge <= 18",
  91. "not ie 11",
  92. "not op_mini all"
  93. ],
  94. "jest": {
  95. "testTimeout": 30000,
  96. "setupFilesAfterEnv": [
  97. "<rootDir>/jest/customMatchers.js"
  98. ],
  99. "testPathIgnorePatterns": [
  100. "/node_modules/",
  101. "/integrations/",
  102. "/standalone-cli/"
  103. ],
  104. "transform": {
  105. "\\.js$": "@swc/jest"
  106. }
  107. },
  108. "engines": {
  109. "node": ">=12.13.0"
  110. }
  111. }