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/cloudflare",
  "description": "Deploy your site to Cloudflare Workers/Pages",
  "version": "13.0.0-beta.6",
  "type": "module",
  "types": "./dist/index.d.ts",
  "author": "withastro",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/withastro/astro.git",
    "directory": "packages/integrations/cloudflare"
  },
  "keywords": [
    "withastro",
    "astro-adapter"
  ],
  "bugs": "https://github.com/withastro/astro/issues",
  "homepage": "https://docs.astro.build/en/guides/integrations-guide/cloudflare/",
  "exports": {
    ".": "./dist/index.js",
    "./info": "./dist/info.js",
    "./entrypoints/server": "./dist/entrypoints/server.js",
    "./entrypoints/preview": "./dist/entrypoints/preview.js",
    "./entrypoints/server.js": "./dist/entrypoints/server.js",
    "./image-service": "./dist/entrypoints/image-service.js",
    "./image-endpoint": "./dist/entrypoints/image-endpoint.js",
    "./image-transform-endpoint": "./dist/entrypoints/image-transform-endpoint.js",
    "./handler": "./dist/utils/handler.js",
    "./types.d.ts": "./types.d.ts",
    "./package.json": "./package.json"
  },
  "files": [
    "dist",
    "types.d.ts"
  ],
  "scripts": {
    "dev": "astro-scripts dev \"src/**/*.ts\"",
    "build": "astro-scripts build \"src/**/*.ts\" --clean-dts && tsc",
    "build:ci": "astro-scripts build \"src/**/*.ts\"",
    "test": "astro-scripts test --force-exit \"test/**/*.test.js\""
  },
  "dependencies": {
    "@astrojs/internal-helpers": "workspace:*",
    "@astrojs/underscore-redirects": "workspace:*",
    "@cloudflare/vite-plugin": "^1.23.0",
    "piccolore": "^0.1.3",
    "tinyglobby": "^0.2.15",
    "vite": "^7.3.1"
  },
  "peerDependencies": {
    "astro": "^6.0.0-alpha.0",
    "wrangler": "^4.61.1"
  },
  "devDependencies": {
    "@cloudflare/workers-types": "^4.20260131.0",
    "@types/node": "^25.2.2",
    "astro": "workspace:*",
    "astro-scripts": "workspace:*",
    "cheerio": "1.2.0",
    "devalue": "^5.6.2"
  },
  "publishConfig": {
    "provenance": 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/integrations/cloudflare/package.json (directory: packages/integrations/cloudflare).

Analyze Your Own Codebase

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

Try Supermodel Free