{ "name": "astro", "version": "4.2.8", "description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.", "type": "module", "author": "withastro", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/withastro/astro.git", "directory": "packages/astro" }, "bugs": "https://github.com/withastro/astro/issues", "homepage": "https://astro.build", "types": "./index.d.ts", "typesVersions": { "*": { "app": [ "./dist/core/app/index" ], "app/*": [ "./dist/core/app/*" ], "middleware": [ "./dist/virtual-modules/middleware.d.ts" ] } }, "exports": { ".": { "types": "./index.d.ts", "default": "./dist/core/index.js" }, "./env": "./env.d.ts", "./types": "./types.d.ts", "./client": "./client.d.ts", "./astro-jsx": "./astro-jsx.d.ts", "./tsconfigs/*.json": "./tsconfigs/*", "./tsconfigs/*": "./tsconfigs/*.json", "./jsx/*": "./dist/jsx/*", "./jsx-runtime": { "types": "./jsx-runtime.d.ts", "default": "./dist/jsx-runtime/index.js" }, "./compiler-runtime": "./dist/runtime/compiler/index.js", "./runtime/*": "./dist/runtime/*", "./config": { "types": "./config.d.ts", "default": "./config.mjs" }, "./app": "./dist/core/app/index.js", "./app/node": "./dist/core/app/node.js", "./client/*": "./dist/runtime/client/*", "./components": "./components/index.ts", "./components/*": "./components/*", "./assets": "./dist/assets/index.js", "./assets/utils": "./dist/assets/utils/index.js", "./assets/endpoint/*": "./dist/assets/endpoint/*.js", "./assets/services/sharp": "./dist/assets/services/sharp.js", "./assets/services/squoosh": "./dist/assets/services/squoosh.js", "./assets/services/noop": "./dist/assets/services/noop.js", "./content/runtime": "./dist/content/runtime.js", "./content/runtime-assets": "./dist/content/runtime-assets.js", "./debug": "./components/Debug.astro", "./package.json": "./package.json", "./zod": { "types": "./zod.d.ts", "default": "./zod.mjs" }, "./errors": "./dist/core/errors/userError.js", "./middleware": { "types": "./dist/core/middleware/index.d.ts", "default": "./dist/core/middleware/index.js" }, "./virtual-modules/*": "./dist/virtual-modules/*" }, "imports": { "#astro/*": "./dist/*.js" }, "bin": { "astro": "astro.js" }, "files": [ "components", "tsconfigs", "dist", "astro.js", "index.d.ts", "config.d.ts", "config.mjs", "zod.d.ts", "zod.mjs", "env.d.ts", "client.d.ts", "jsx-runtime.d.ts", "content-types.template.d.ts", "content-module.template.mjs", "astro-jsx.d.ts", "types.d.ts", "README.md", "vendor" ], "dependencies": { "@astrojs/compiler": "^2.5.0", "@babel/core": "^7.23.3", "@babel/generator": "^7.23.3", "@babel/parser": "^7.23.3", "@babel/plugin-transform-react-jsx": "^7.22.5", "@babel/traverse": "^7.23.3", "@babel/types": "^7.23.3", "@types/babel__core": "^7.20.4", "acorn": "^8.11.2", "aria-query": "^5.3.0", "axobject-query": "^4.0.0", "boxen": "^7.1.1", "chokidar": "^3.5.3", "ci-info": "^4.0.0", "clsx": "^2.0.0", "common-ancestor-path": "^1.0.1", "cookie": "^0.6.0", "cssesc": "^3.0.0", "debug": "^4.3.4", "deterministic-object-hash": "^2.0.1", "devalue": "^4.3.2", "diff": "^5.1.0", "dlv": "^1.1.3", "dset": "^3.1.3", "es-module-lexer": "^1.4.1", "esbuild": "^0.19.6", "estree-walker": "^3.0.3", "execa": "^8.0.1", "fast-glob": "^3.3.2", "flattie": "^1.1.0", "github-slugger": "^2.0.0", "gray-matter": "^4.0.3", "html-escaper": "^3.0.3", "http-cache-semantics": "^4.1.1", "js-yaml": "^4.1.0", "kleur": "^4.1.4", "magic-string": "^0.30.3", "mdast-util-to-hast": "13.0.2", "mime": "^3.0.0", "ora": "^7.0.1", "p-limit": "^5.0.0", "p-queue": "^8.0.1", "path-to-regexp": "^6.2.1", "preferred-pm": "^3.1.2", "probe-image-size": "^7.2.3", "prompts": "^2.4.2", "rehype": "^13.0.1", "resolve": "^1.22.4", "semver": "^7.5.4", "server-destroy": "^1.0.1", "shikiji": "^0.9.18", "string-width": "^7.0.0", "strip-ansi": "^7.1.0", "tsconfck": "^3.0.0", "unist-util-visit": "^5.0.0", "vfile": "^6.0.1", "vite": "^5.0.12", "vitefu": "^0.2.5", "which-pm": "^2.1.1", "yargs-parser": "^21.1.1", "zod": "^3.22.4", "@astrojs/internal-helpers": "0.2.1", "@astrojs/telemetry": "3.0.4", "@astrojs/markdown-remark": "4.2.1" }, "optionalDependencies": { "sharp": "^0.32.6" }, "devDependencies": { "@astrojs/check": "^0.3.1", "@playwright/test": "1.40.0", "@types/aria-query": "^5.0.4", "@types/babel__generator": "^7.6.7", "@types/babel__traverse": "^7.20.4", "@types/chai": "^4.3.10", "@types/common-ancestor-path": "^1.0.2", "@types/connect": "^3.4.38", "@types/cookie": "^0.5.4", "@types/cssesc": "^3.0.2", "@types/debug": "^4.1.12", "@types/diff": "^5.0.8", "@types/dlv": "^1.1.4", "@types/dom-view-transitions": "^1.0.4", "@types/estree": "^1.0.5", "@types/hast": "^3.0.3", "@types/html-escaper": "^3.0.2", "@types/http-cache-semantics": "^4.0.4", "@types/js-yaml": "^4.0.9", "@types/mime": "^3.0.4", "@types/mocha": "^10.0.4", "@types/probe-image-size": "^7.2.3", "@types/prompts": "^2.4.8", "@types/resolve": "^1.20.5", "@types/semver": "^7.5.2", "@types/send": "^0.17.4", "@types/server-destroy": "^1.0.3", "@types/unist": "^3.0.2", "@types/yargs-parser": "^21.0.3", "chai": "^4.3.7", "cheerio": "1.0.0-rc.12", "eol": "^0.9.1", "memfs": "^4.6.0", "mocha": "^10.2.0", "node-mocks-http": "^1.13.0", "parse-srcset": "^1.0.2", "rehype-autolink-headings": "^7.1.0", "rehype-slug": "^6.0.0", "rehype-toc": "^3.0.2", "remark-code-titles": "^0.1.2", "rollup": "^4.5.0", "sass": "^1.69.5", "shikiji-core": "^0.9.18", "srcset-parse": "^1.1.0", "unified": "^11.0.4", "astro-scripts": "0.0.14" }, "engines": { "node": ">=18.14.1", "npm": ">=6.14.0" }, "publishConfig": { "provenance": true }, "scripts": { "prebuild": "astro-scripts prebuild --to-string \"src/runtime/server/astro-island.ts\" \"src/runtime/client/{idle,load,media,only,visible}.ts\"", "build": "pnpm run prebuild && astro-scripts build \"src/**/*.{ts,js}\" && tsc && pnpm run postbuild", "build:ci": "pnpm run prebuild && astro-scripts build \"src/**/*.{ts,js}\" && pnpm run postbuild", "dev": "astro-scripts dev --copy-wasm --prebuild \"src/runtime/server/astro-island.ts\" --prebuild \"src/runtime/client/{idle,load,media,only,visible}.ts\" \"src/**/*.{ts,js}\"", "postbuild": "astro-scripts copy \"src/**/*.astro\" && astro-scripts copy \"src/**/*.wasm\"", "test:unit": "mocha --exit --timeout 30000 ./test/units/**/*.test.js", "test:unit:match": "mocha --exit --timeout 30000 ./test/units/**/*.test.js -g", "test": "pnpm run test:unit && mocha --exit --timeout 30000 --ignore **/lit-element.test.js && mocha --timeout 30000 **/lit-element.test.js", "test:match": "mocha --timeout 30000 -g", "test:e2e": "playwright test", "test:e2e:match": "playwright test -g" } }