package.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {
  2. "name": "@vitejs/plugin-legacy",
  3. "version": "4.1.1",
  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. "types": "./dist/index.d.ts",
  21. "import": "./dist/index.mjs",
  22. "require": "./dist/index.cjs"
  23. }
  24. },
  25. "scripts": {
  26. "dev": "unbuild --stub",
  27. "build": "unbuild && pnpm run patch-cjs",
  28. "patch-cjs": "tsx ../../scripts/patchCJS.ts",
  29. "prepublishOnly": "npm run build"
  30. },
  31. "engines": {
  32. "node": "^14.18.0 || >=16.0.0"
  33. },
  34. "repository": {
  35. "type": "git",
  36. "url": "git+https://github.com/vitejs/vite.git",
  37. "directory": "packages/plugin-legacy"
  38. },
  39. "bugs": {
  40. "url": "https://github.com/vitejs/vite/issues"
  41. },
  42. "homepage": "https://github.com/vitejs/vite/tree/main/packages/plugin-legacy#readme",
  43. "funding": "https://github.com/vitejs/vite?sponsor=1",
  44. "dependencies": {
  45. "@babel/core": "^7.22.9",
  46. "@babel/preset-env": "^7.22.9",
  47. "browserslist": "^4.21.9",
  48. "core-js": "^3.31.1",
  49. "magic-string": "^0.30.1",
  50. "regenerator-runtime": "^0.13.11",
  51. "systemjs": "^6.14.1"
  52. },
  53. "peerDependencies": {
  54. "terser": "^5.4.0",
  55. "vite": "^4.0.0"
  56. },
  57. "devDependencies": {
  58. "acorn": "^8.10.0",
  59. "picocolors": "^1.0.0",
  60. "vite": "workspace:*"
  61. }
  62. }