Home / File/ package.json — vite Source File

package.json — vite Source File

Architecture documentation for package.json, a json file in the vite codebase.

Entity Profile

Source Code

{
  "name": "@vitejs/plugin-legacy",
  "version": "8.0.0-beta.2",
  "type": "module",
  "license": "MIT",
  "author": "Evan You",
  "files": [
    "dist"
  ],
  "keywords": [
    "frontend",
    "vite",
    "vite-plugin",
    "@vitejs/plugin-legacy"
  ],
  "exports": "./dist/index.js",
  "scripts": {
    "dev": "tsdown --watch",
    "build": "tsdown",
    "prepublishOnly": "npm run build"
  },
  "engines": {
    "node": "^20.19.0 || >=22.12.0"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/vitejs/vite.git",
    "directory": "packages/plugin-legacy"
  },
  "bugs": {
    "url": "https://github.com/vitejs/vite/issues"
  },
  "homepage": "https://github.com/vitejs/vite/tree/main/packages/plugin-legacy#readme",
  "funding": "https://github.com/vitejs/vite?sponsor=1",
  "dependencies": {
    "@babel/core": "^7.29.0",
    "@babel/plugin-transform-dynamic-import": "^7.27.1",
    "@babel/plugin-transform-modules-systemjs": "^7.29.0",
    "@babel/preset-env": "^7.29.0",
    "babel-plugin-polyfill-corejs3": "^0.14.0",
    "babel-plugin-polyfill-regenerator": "^0.6.6",
    "browserslist": "^4.28.1",
    "browserslist-to-esbuild": "^2.1.1",
    "core-js": "^3.48.0",
    "magic-string": "^0.30.21",
    "regenerator-runtime": "^0.14.1",
    "systemjs": "^6.15.1"
  },
  "peerDependencies": {
    "terser": "^5.16.0",
    "vite": "^7.0.0"
  },
  "devDependencies": {
    "acorn": "^8.15.0",
    "picocolors": "^1.1.1",
    "tsdown": "^0.20.3",
    "vite": "workspace:*"
  },
  "compatiblePackages": {
    "schemaVersion": 1,
    "rolldown": {
      "type": "incompatible",
      "reason": "Only supports Vite"
    },
    "rollup": {
      "type": "incompatible",
      "reason": "Only supports Vite"
    }
  }
}

Frequently Asked Questions

What does package.json do?
package.json is a source file in the vite codebase, written in json.
Where is package.json in the architecture?
package.json is located at packages/plugin-legacy/package.json (directory: packages/plugin-legacy).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free