package.json 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. {
  2. "name": "@vitejs/plugin-legacy",
  3. "version": "5.3.2",
  4. "license": "MIT",
  5. "author": "Evan You",
  6. "files": [
  7. "dist"
  8. ],
  9. "keywords": [
  10. "frontend",
  11. "vite",
  12. "vite-plugin",
  13. "@vitejs/plugin-legacy"
  14. ],
  15. "main": "./dist/index.cjs",
  16. "module": "./dist/index.mjs",
  17. "types": "./dist/index.d.ts",
  18. "exports": {
  19. ".": {
  20. "import": "./dist/index.mjs",
  21. "require": "./dist/index.cjs"
  22. }
  23. },
  24. "engines": {
  25. "node": "^18.0.0 || >=20.0.0"
  26. },
  27. "repository": {
  28. "type": "git",
  29. "url": "git+https://github.com/vitejs/vite.git",
  30. "directory": "packages/plugin-legacy"
  31. },
  32. "bugs": {
  33. "url": "https://github.com/vitejs/vite/issues"
  34. },
  35. "homepage": "https://github.com/vitejs/vite/tree/main/packages/plugin-legacy#readme",
  36. "funding": "https://github.com/vitejs/vite?sponsor=1",
  37. "dependencies": {
  38. "@babel/core": "^7.23.9",
  39. "@babel/preset-env": "^7.23.9",
  40. "browserslist": "^4.23.0",
  41. "browserslist-to-esbuild": "^2.1.1",
  42. "core-js": "^3.36.0",
  43. "magic-string": "^0.30.7",
  44. "regenerator-runtime": "^0.14.1",
  45. "systemjs": "^6.14.3"
  46. },
  47. "peerDependencies": {
  48. "terser": "^5.4.0",
  49. "vite": "^5.0.0"
  50. },
  51. "devDependencies": {
  52. "acorn": "^8.11.3",
  53. "picocolors": "^1.0.0",
  54. "vite": "5.1.5"
  55. },
  56. "scripts": {
  57. "dev": "unbuild --stub",
  58. "build": "unbuild && pnpm run patch-cjs",
  59. "patch-cjs": "tsx ../../scripts/patchCJS.ts"
  60. }
  61. }