package.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. {
  2. "name": "tailwindcss",
  3. "version": "3.3.2",
  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. "workspaces": [
  16. "integrations/*",
  17. "oxide/crates/node"
  18. ],
  19. "scripts": {
  20. "dev": "concurrently -n tailwind,oxide-node -c green,yellow 'npm run dev:js' 'npm run dev:rust'",
  21. "build": "npm run build:rust && npm run build:js",
  22. "test": "jest",
  23. "test:integrations": "npm run test -w ./integrations",
  24. "style": "eslint .",
  25. "prepublishOnly": "npm install --force && npm run build && npm run generate:types",
  26. "dev:rust": "npm run --prefix ./oxide dev:node",
  27. "dev:js": "npm run build:js -- --watch",
  28. "build:rust": "npm run --prefix ./oxide build:node",
  29. "build:js": "npm run generate:plugin-list && swc src --out-dir lib --copy-files --delete-dir-on-start",
  30. "generate:plugin-list": "node -r @swc/register scripts/create-plugin-list.js",
  31. "generate:types": "node -r @swc/register scripts/generate-types.js"
  32. },
  33. "files": [
  34. "src/*",
  35. "cli/*",
  36. "lib/*",
  37. "scripts/*.js",
  38. "stubs/*",
  39. "nesting/*",
  40. "types/**/*",
  41. "*.d.ts",
  42. "*.css",
  43. "*.js"
  44. ],
  45. "devDependencies": {
  46. "@swc/cli": "^0.1.63",
  47. "@swc/core": "^1.3.95",
  48. "@swc/jest": "^0.2.29",
  49. "@swc/register": "^0.1.10",
  50. "concurrently": "^8.0.1",
  51. "eslint": "^8.52.0",
  52. "eslint-config-prettier": "^9.0.0",
  53. "eslint-plugin-prettier": "^4.2.1",
  54. "jest": "^29.7.0",
  55. "jest-diff": "^29.7.0",
  56. "prettier": "^2.8.8",
  57. "rimraf": "^5.0.0",
  58. "source-map-js": "^1.0.2",
  59. "turbo": "^1.10.16"
  60. },
  61. "dependencies": {
  62. "@alloc/quick-lru": "^5.2.0",
  63. "@tailwindcss/oxide": "file:oxide/crates/node",
  64. "arg": "^5.0.2",
  65. "browserslist": "^4.22.1",
  66. "chokidar": "^3.5.3",
  67. "didyoumean": "^1.2.2",
  68. "dlv": "^1.1.3",
  69. "fast-glob": "^3.3.2",
  70. "glob-parent": "^6.0.2",
  71. "is-glob": "^4.0.3",
  72. "jiti": "^1.21.0",
  73. "lightningcss": "^1.22.1",
  74. "lilconfig": "^3.0.0",
  75. "micromatch": "^4.0.5",
  76. "normalize-path": "^3.0.0",
  77. "object-hash": "^3.0.0",
  78. "picocolors": "^1.0.0",
  79. "postcss": "^8.4.31",
  80. "postcss-import": "^15.1.0",
  81. "postcss-js": "^4.0.1",
  82. "postcss-load-config": "^4.0.2",
  83. "postcss-nested": "^6.0.1",
  84. "postcss-selector-parser": "^6.0.12",
  85. "postcss-value-parser": "^4.2.0",
  86. "resolve": "^1.22.8",
  87. "sucrase": "^3.34.0"
  88. },
  89. "browserslist": [
  90. "defaults and supports css-variables and supports css-matches-pseudo",
  91. "not android <= 117",
  92. "safari >= 14"
  93. ],
  94. "jest": {
  95. "testTimeout": 30000,
  96. "globalSetup": "<rootDir>/jest/global-setup.js",
  97. "setupFilesAfterEnv": [
  98. "<rootDir>/jest/customMatchers.js"
  99. ],
  100. "testPathIgnorePatterns": [
  101. "/node_modules/",
  102. "/integrations/",
  103. "/standalone-cli/",
  104. "\\.test\\.skip\\.js$"
  105. ],
  106. "transform": {
  107. "\\.js$": "@swc/jest",
  108. "\\.ts$": "@swc/jest"
  109. }
  110. },
  111. "engines": {
  112. "node": ">=16.0.0"
  113. }
  114. }