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/test-resolve",
  "private": true,
  "version": "0.0.0",
  "type": "module",
  "scripts": {
    "dev": "vite",
    "build": "vite build",
    "debug": "node --inspect-brk ../../packages/vite/bin/vite",
    "preview": "vite preview"
  },
  "imports": {
    "#top-level": "./imports-path/top-level.js",
    "#same-level": "./imports-path/same-level.js",
    "#nested/path.js": "./imports-path/nested-path.js",
    "#star/*": "./imports-path/star/*",
    "#slash/": "./imports-path/slash/",
    "#other-pkg-slash/": "@vitejs/test-resolve-imports-pkg/nest/",
    "#query": "./imports-path/query.json",
    "#dot-prefixed": "./imports-path/.dot-prefixed/index.js",
    "#/*": "./imports-path/root-slash/*"
  },
  "dependencies": {
    "@babel/runtime": "^7.28.6",
    "normalize.css": "^8.0.1",
    "@vitejs/test-require-pkg-with-module-field": "link:./require-pkg-with-module-field",
    "@vitejs/test-resolve-browser-field": "link:./browser-field",
    "@vitejs/test-resolve-browser-module-field1": "link:./browser-module-field1",
    "@vitejs/test-resolve-custom-condition": "link:./custom-condition",
    "@vitejs/test-resolve-custom-main-field": "link:./custom-main-field",
    "@vitejs/test-resolve-custom-browser-main-field": "link:./custom-browser-main-field",
    "@vitejs/test-resolve-exports-and-nested-scope": "link:./exports-and-nested-scope",
    "@vitejs/test-resolve-exports-env": "link:./exports-env",
    "@vitejs/test-resolve-exports-from-root": "link:./exports-from-root",
    "@vitejs/test-resolve-exports-legacy-fallback": "link:./exports-legacy-fallback",
    "@vitejs/test-resolve-exports-path": "link:./exports-path",
    "@vitejs/test-resolve-exports-with-module": "link:./exports-with-module",
    "@vitejs/test-resolve-exports-with-module-condition": "link:./exports-with-module-condition",
    "@vitejs/test-resolve-exports-with-module-condition-required": "link:./exports-with-module-condition-required",
    "@vitejs/test-resolve-linked": "workspace:*",
    "@vitejs/test-resolve-imports-pkg": "link:./imports-path/other-pkg",
    "@vitejs/test-resolve-sharp-dir": "link:./sharp-dir",
    "@vitejs/test-resolve-sharp-dir-nested": "file:./sharp-dir-nested",
    "@vitejs/test-resolve-side-effects-glob": "link:./side-effects-glob",
    "@vitejs/test-utf8-bom-package": "link:./utf8-bom-package"
  }
}

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 playground/resolve/package.json (directory: playground/resolve).

Analyze Your Own Codebase

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

Try Supermodel Free