You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

113 lines
3.1 KiB

2 years ago
  1. {
  2. "name": "tailwindcss",
  3. "version": "3.1.8",
  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.218",
  47. "@swc/jest": "^0.2.22",
  48. "@swc/register": "^0.1.10",
  49. "autoprefixer": "^10.4.8",
  50. "cssnano": "^5.1.12",
  51. "esbuild": "^0.14.48",
  52. "eslint": "^8.20.0",
  53. "eslint-config-prettier": "^8.5.0",
  54. "eslint-plugin-prettier": "^4.2.1",
  55. "jest": "^28.1.3",
  56. "jest-diff": "^28.1.3",
  57. "prettier": "^2.7.1",
  58. "prettier-plugin-tailwindcss": "^0.1.13",
  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.2",
  67. "chokidar": "^3.5.3",
  68. "color-name": "^1.1.4",
  69. "detective": "^5.2.1",
  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.6",
  76. "normalize-path": "^3.0.0",
  77. "object-hash": "^3.0.0",
  78. "picocolors": "^1.0.0",
  79. "postcss": "^8.4.14",
  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.1"
  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. "\\.test\\.skip\\.js$"
  105. ],
  106. "transform": {
  107. "\\.js$": "@swc/jest"
  108. }
  109. },
  110. "engines": {
  111. "node": ">=12.13.0"
  112. }
  113. }