Home / File/ package.json — astro Source File

package.json — astro Source File

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

Entity Profile

Source Code

{
  "name": "@astrojs/language-server",
  "version": "2.16.1-beta.1",
  "author": "withastro",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/withastro/astro.git",
    "directory": "packages/language-tools/language-server"
  },
  "type": "commonjs",
  "main": "dist/index.js",
  "files": [
    "bin",
    "dist/**/*.js",
    "dist/**/*.d.ts",
    "types/**/*.d.ts"
  ],
  "bin": {
    "astro-ls": "./bin/nodeServer.js"
  },
  "scripts": {
    "build": "tsc",
    "dev": "tsc --watch",
    "test": "astro-scripts test \"**/*.test.ts\" --teardown-test ./test/misc/teardown.ts --tsx true --setup ./test/setup.js",
    "test:match": "pnpm run test --match"
  },
  "dependencies": {
    "@astrojs/compiler": "^2.13.0",
    "@astrojs/yaml2ts": "^0.2.2",
    "@jridgewell/sourcemap-codec": "^1.5.5",
    "@volar/kit": "~2.4.28",
    "@volar/language-core": "~2.4.28",
    "@volar/language-server": "~2.4.28",
    "@volar/language-service": "~2.4.28",
    "muggle-string": "^0.4.1",
    "tinyglobby": "^0.2.15",
    "volar-service-css": "0.0.68",
    "volar-service-emmet": "0.0.68",
    "volar-service-html": "0.0.68",
    "volar-service-prettier": "0.0.68",
    "volar-service-typescript": "0.0.68",
    "volar-service-typescript-twoslash-queries": "0.0.68",
    "volar-service-yaml": "0.0.68",
    "vscode-html-languageservice": "^5.6.1",
    "vscode-uri": "^3.1.0"
  },
  "devDependencies": {
    "@types/node": "^20.9.0",
    "@volar/test-utils": "~2.4.28",
    "@volar/typescript": "~2.4.28",
    "tsx": "^4.21.0",
    "typescript": "^5.9.3",
    "vscode-languageserver-protocol": "^3.17.5",
    "vscode-languageserver-textdocument": "^1.0.12",
    "astro-scripts": "workspace:*"
  },
  "peerDependencies": {
    "prettier": "^3.0.0",
    "prettier-plugin-astro": ">=0.11.0"
  },
  "peerDependenciesMeta": {
    "prettier": {
      "optional": true
    },
    "prettier-plugin-astro": {
      "optional": true
    }
  }
}

Frequently Asked Questions

What does package.json do?
package.json is a source file in the astro codebase, written in json.
Where is package.json in the architecture?
package.json is located at packages/language-tools/language-server/package.json (directory: packages/language-tools/language-server).

Analyze Your Own Codebase

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

Try Supermodel Free