package.json 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. {
  2. "name": "vite",
  3. "version": "8.3.2",
  4. "description": "Native-ESM powered web dev build tool",
  5. "keywords": [
  6. "build-tool",
  7. "dev-server",
  8. "framework",
  9. "frontend",
  10. "hmr",
  11. "vite"
  12. ],
  13. "homepage": "https://vite.dev",
  14. "bugs": {
  15. "url": "https://github.com/vitejs/vite/issues"
  16. },
  17. "license": "MIT",
  18. "author": "Evan You",
  19. "repository": {
  20. "type": "git",
  21. "url": "git+https://github.com/vitejs/vite.git",
  22. "directory": "packages/vite"
  23. },
  24. "funding": "https://github.com/vitejs/vite?sponsor=1",
  25. "bin": {
  26. "vite": "bin/vite.js"
  27. },
  28. "files": [
  29. "bin",
  30. "dist",
  31. "misc/**/*.js",
  32. "client.d.ts",
  33. "types"
  34. ],
  35. "type": "module",
  36. "imports": {
  37. "#module-sync-enabled": {
  38. "module-sync": "./misc/true.js",
  39. "default": "./misc/false.js"
  40. },
  41. "#types/*": "./types/*.d.ts",
  42. "#dep-types/*": "./src/types/*.d.ts"
  43. },
  44. "exports": {
  45. ".": "./dist/node/index.js",
  46. "./client": {
  47. "types": "./client.d.ts"
  48. },
  49. "./module-runner": "./dist/node/module-runner.js",
  50. "./internal": "./dist/node/internal.js",
  51. "./dist/client/*": "./dist/client/*",
  52. "./types/*": {
  53. "types": "./types/*"
  54. },
  55. "./types/internal/*": null,
  56. "./package.json": "./package.json"
  57. },
  58. "dependencies": {
  59. "lightningcss": "^1.33.0",
  60. "picomatch": "^4.0.7",
  61. "postcss": "^8.5.28",
  62. "rolldown": "~1.2.11",
  63. "tinyglobby": "^0.2.17"
  64. },
  65. "devDependencies": {
  66. "@babel/parser": "^7.29.9",
  67. "@jridgewell/remapping": "^2.3.5",
  68. "@jridgewell/trace-mapping": "^0.3.31",
  69. "@polka/compression": "^1.0.0-next.25",
  70. "@rollup/plugin-alias": "^6.0.0",
  71. "@rollup/plugin-dynamic-import-vars": "2.1.4",
  72. "@rollup/pluginutils": "^5.4.0",
  73. "@types/escape-html": "^1.0.4",
  74. "@types/pnpapi": "^0.0.5",
  75. "@vercel/detect-agent": "^1.2.5",
  76. "@vitejs/devtools": "^0.7.6",
  77. "@vitest/utils": "^4.1.11",
  78. "@voidzero-dev/vite-task-client": "^0.2.0",
  79. "artichokie": "^0.4.5",
  80. "baseline-browser-mapping": "^2.11.26",
  81. "cac": "^7.0.0",
  82. "chokidar": "^3.6.0",
  83. "connect": "^3.7.0",
  84. "convert-source-map": "^2.0.0",
  85. "cors": "^2.8.6",
  86. "dotenv-expand": "^13.0.0",
  87. "es-module-lexer": "^2.3.2",
  88. "esbuild": "^0.28.2",
  89. "escape-html": "^1.0.3",
  90. "estree-walker": "^3.0.3",
  91. "etag": "^1.8.1",
  92. "fresh-import": "^0.2.1",
  93. "host-validation-middleware": "^0.1.4",
  94. "http-proxy-3": "^1.23.3",
  95. "launch-editor-middleware": "^2.14.1",
  96. "magic-string": "^1.4.2",
  97. "mlly": "^1.8.2",
  98. "mrmime": "^2.0.1",
  99. "nanoid": "^5.1.16",
  100. "obug": "^1.0.2",
  101. "open": "^10.2.0",
  102. "parse5": "^8.0.1",
  103. "pathe": "^2.0.3",
  104. "periscopic": "^4.0.3",
  105. "picocolors": "^1.1.1",
  106. "postcss-import": "^16.2.0",
  107. "postcss-load-config": "^6.0.1",
  108. "postcss-modules": "^9.0.1",
  109. "premove": "^4.0.0",
  110. "resolve.exports": "^2.0.3",
  111. "rolldown-plugin-dts": "^0.28.6",
  112. "rollup": "^4.59.0",
  113. "rollup-plugin-license": "^3.7.1",
  114. "sass": "^1.105.0",
  115. "sass-embedded": "^1.105.0",
  116. "sirv": "^3.0.2",
  117. "strip-literal": "^4.0.0",
  118. "terser": "^5.51.2",
  119. "tinyexec": "^1.3.1",
  120. "ufo": "^1.6.4",
  121. "ws": "^8.22.0"
  122. },
  123. "peerDependencies": {
  124. "@types/node": "^20.19.0 || >=22.12.0",
  125. "@vitejs/devtools": "^0.7.1",
  126. "esbuild": "^0.27.0 || ^0.28.0",
  127. "jiti": ">=1.21.0",
  128. "less": "^4.0.0",
  129. "sass": "^1.70.0",
  130. "sass-embedded": "^1.70.0",
  131. "stylus": ">=0.54.8",
  132. "sugarss": "^5.0.0",
  133. "terser": "^5.16.0",
  134. "tsx": "^4.8.1",
  135. "yaml": "^2.4.2"
  136. },
  137. "peerDependenciesMeta": {
  138. "@types/node": {
  139. "optional": true
  140. },
  141. "@vitejs/devtools": {
  142. "optional": true
  143. },
  144. "esbuild": {
  145. "optional": true
  146. },
  147. "jiti": {
  148. "optional": true
  149. },
  150. "sass": {
  151. "optional": true
  152. },
  153. "sass-embedded": {
  154. "optional": true
  155. },
  156. "stylus": {
  157. "optional": true
  158. },
  159. "less": {
  160. "optional": true
  161. },
  162. "sugarss": {
  163. "optional": true
  164. },
  165. "terser": {
  166. "optional": true
  167. },
  168. "tsx": {
  169. "optional": true
  170. },
  171. "yaml": {
  172. "optional": true
  173. }
  174. },
  175. "optionalDependencies": {
  176. "fsevents": "~2.3.3"
  177. },
  178. "engines": {
  179. "node": "^20.19.0 || >=22.12.0"
  180. },
  181. "//": "READ CONTRIBUTING.md to understand what to put under deps vs. devDeps!",
  182. "scripts": {
  183. "dev": "premove dist && pnpm build-bundle -w",
  184. "build": "premove dist && pnpm build-bundle && pnpm build-types",
  185. "build-bundle": "rolldown --config rolldown.config.ts",
  186. "build-types": "pnpm build-types-roll && pnpm build-types-check",
  187. "build-types-roll": "rolldown --config rolldown.dts.config.ts",
  188. "build-types-check": "tsc --project tsconfig.check.json",
  189. "typecheck": "tsc && tsc -p src/node && tsc -p src/client && tsc -p src/module-runner && tsc -p src/shared && tsc -p src/node/__tests_dts__ && tsc -p src/module-runner/__tests_dts__",
  190. "lint": "eslint --cache --ext .ts src/**",
  191. "format": "oxfmt",
  192. "generate-target": "tsx scripts/generateTarget.ts"
  193. }
  194. }