93 lines
2.3 KiB
JSON
93 lines
2.3 KiB
JSON
{
|
|
"name": "@astrojs/db",
|
|
"version": "0.20.1",
|
|
"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"
|
|
],
|
|
"dependencies": {
|
|
"@clack/prompts": "^1.0.1",
|
|
"@libsql/client": "^0.17.0",
|
|
"drizzle-orm": "^0.42.0",
|
|
"microdiff": "^1.5.0",
|
|
"nanoid": "^5.1.6",
|
|
"piccolore": "^0.1.3",
|
|
"yargs-parser": "^22.0.0",
|
|
"zod": "^4.3.6"
|
|
},
|
|
"devDependencies": {
|
|
"@types/yargs-parser": "^21.0.3",
|
|
"cheerio": "1.2.0",
|
|
"expect-type": "^1.3.0",
|
|
"typescript": "^5.9.3",
|
|
"vite": "^7.3.1",
|
|
"astro": "6.0.6",
|
|
"astro-scripts": "0.0.14"
|
|
},
|
|
"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"
|
|
}
|
|
} |