package.json — astro Source File
Architecture documentation for package.json, a json file in the astro codebase.
Entity Profile
Source Code
{
"name": "@astrojs/db",
"version": "0.19.0-beta.3",
"description": "Add libSQL support to your Astro site",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/withastro/astro.git",
"directory": "packages/db"
},
"bugs": "https://github.com/withastro/astro/issues",
"homepage": "https://docs.astro.build/en/guides/integrations-guide/db/",
"type": "module",
"author": "withastro",
"types": "./index.d.ts",
"main": "./dist/index.js",
"exports": {
".": {
"types": "./index.d.ts",
"default": "./dist/index.js"
},
"./utils": {
"types": "./dist/utils.d.ts",
"default": "./dist/utils.js"
},
"./runtime": {
"types": "./dist/runtime/index.d.ts",
"default": "./dist/runtime/index.js"
},
"./db-client/*": "./dist/core/db-client/*",
"./dist/runtime/virtual.js": {
"default": "./dist/runtime/virtual.js"
},
"./types": {
"types": "./dist/core/types.d.ts",
"default": "./dist/core/types.js"
},
"./package.json": "./package.json"
},
"typesVersions": {
"*": {
".": [
"./index.d.ts"
],
"types": [
"./dist/types.d.ts"
],
"utils": [
"./dist/utils.d.ts"
],
"runtime": [
"./dist/runtime/index.d.ts"
]
}
},
"files": [
"index.d.ts",
"virtual.d.ts",
"dist"
],
"keywords": [
"withastro",
"astro-integration"
],
"scripts": {
"types:virtual": "tsc -p ./tsconfig.virtual.json",
"build": "astro-scripts build \"src/**/*.ts\" && tsc && pnpm types:virtual",
"build:ci": "astro-scripts build \"src/**/*.ts\"",
"dev": "astro-scripts dev \"src/**/*.ts\"",
"test": "pnpm run test:integration && pnpm run test:types",
"test:integration": "astro-scripts test \"test/**/*.test.js\"",
"test:types": "tsc --project test/types/tsconfig.json"
},
"dependencies": {
"@libsql/client": "^0.17.0",
"deep-diff": "^1.0.2",
"drizzle-orm": "^0.42.0",
"nanoid": "^5.1.6",
"piccolore": "^0.1.3",
"prompts": "^2.4.2",
"yargs-parser": "^22.0.0",
"zod": "^4.3.6"
},
"devDependencies": {
"@types/deep-diff": "^1.0.5",
"@types/prompts": "^2.4.9",
"@types/yargs-parser": "^21.0.3",
"astro": "workspace:*",
"astro-scripts": "workspace:*",
"cheerio": "1.2.0",
"expect-type": "^1.3.0",
"typescript": "^5.9.3",
"vite": "^7.3.1"
}
}
Source
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/db/package.json (directory: packages/db).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free