summaryrefslogtreecommitdiff
path: root/packages/db/package.json
blob: 5bdfb647014e4cbcb0be2ae30146cd5733327bab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
  "name": "@astrojs/db",
  "version": "0.14.10",
  "description": "Add libSQL and Astro Studio 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"
    },
    "./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": "astro-scripts test \"test/**/*.test.js\""
  },
  "dependencies": {
    "@astrojs/studio": "workspace:*",
    "@libsql/client": "^0.15.1",
    "async-listen": "^3.1.0",
    "deep-diff": "^1.0.2",
    "drizzle-orm": "^0.31.2",
    "github-slugger": "^2.0.0",
    "kleur": "^4.1.5",
    "nanoid": "^5.1.5",
    "open": "^10.1.0",
    "prompts": "^2.4.2",
    "yargs-parser": "^21.1.1",
    "yocto-spinner": "^0.2.1",
    "zod": "^3.24.2"
  },
  "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.0.0",
    "typescript": "^5.8.2",
    "vite": "^6.2.4"
  }
}