-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
105 lines (105 loc) · 3.9 KB
/
Copy pathpackage.json
File metadata and controls
105 lines (105 loc) · 3.9 KB
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
97
98
99
100
101
102
103
104
105
{
"name": "@earth-app/collegedb",
"description": "Cloudflare D1 sharding router with KV-backed primary-key mappings and a Durable Object shard coordinator.",
"version": "1.2.4",
"license": "MIT",
"author": "Gregory Mitchell",
"type": "module",
"module": "dist/index.js",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"files": [
"dist/**/*",
"README.md",
"LICENSE"
],
"keywords": [
"cloudflare",
"d1",
"sharding",
"shard",
"kv",
"durable-objects",
"drizzle",
"sqlite",
"workers",
"database"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "bun build src/index.ts --outdir=dist --target=node --format=esm --minify --sourcemap=linked && bunx tsc --project tsconfig.build.json",
"docs:build": "bunx typedoc src --out ./typedoc",
"prettier": "bunx prettier --write .",
"prettier:check": "bunx prettier --check .",
"typecheck": "bunx tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:sandbox": "bun scripts/sandbox/run.ts --db=all --kv=all --include-cloudflare",
"test:sandbox:all": "bun scripts/sandbox/run.ts --db=all --kv=all",
"test:sandbox:cloudflare": "bun scripts/sandbox/run.ts --cloudflare-only",
"test:sandbox:postgres": "bun scripts/sandbox/run.ts --db=postgres --kv=all",
"test:sandbox:mysql": "bun scripts/sandbox/run.ts --db=mysql --kv=all",
"test:sandbox:mariadb": "bun scripts/sandbox/run.ts --db=mariadb --kv=all",
"test:sandbox:sqlite": "bun scripts/sandbox/run.ts --db=sqlite --kv=all",
"test:sandbox:drizzle": "bun scripts/sandbox/run.ts --db=all --kv=all --profile=drizzle",
"test:sandbox:nuxthub": "bun scripts/sandbox/run.ts --db=all --kv=all --profile=nuxthub",
"test:sandbox:hyperdrive": "bun scripts/sandbox/run.ts --db=all --kv=all --profile=hyperdrive",
"test:sandbox:redis": "bun scripts/sandbox/run.ts --db=all --kv=redis",
"test:sandbox:valkey": "bun scripts/sandbox/run.ts --db=all --kv=valkey",
"test:sandbox:postgres+redis": "bun scripts/sandbox/run.ts --db=postgres --kv=redis",
"test:sandbox:postgres+valkey": "bun scripts/sandbox/run.ts --db=postgres --kv=valkey",
"test:sandbox:mysql+redis": "bun scripts/sandbox/run.ts --db=mysql --kv=redis",
"test:sandbox:mysql+valkey": "bun scripts/sandbox/run.ts --db=mysql --kv=valkey",
"test:sandbox:mariadb+redis": "bun scripts/sandbox/run.ts --db=mariadb --kv=redis",
"test:sandbox:mariadb+valkey": "bun scripts/sandbox/run.ts --db=mariadb --kv=valkey",
"test:sandbox:sqlite+redis": "bun scripts/sandbox/run.ts --db=sqlite --kv=redis",
"test:sandbox:sqlite+valkey": "bun scripts/sandbox/run.ts --db=sqlite --kv=valkey",
"test:memory": "bun sandbox/memory-example.ts",
"prepare": "husky install"
},
"devDependencies": {
"@babel/cli": "^8.0.0",
"@babel/core": "^8.0.0",
"@babel/preset-env": "^8.0.0",
"@babel/preset-typescript": "^8.0.0",
"@cloudflare/workers-types": "^5.0.0",
"@types/bun": "latest",
"@types/pg": "^8.20.0",
"@vitest/coverage-v8": "^4.1.10",
"drizzle-orm": "^0.45.2",
"husky": "^9.1.7",
"jsdoc-babel": "^0.5.0",
"lint-staged": "^17.0.8",
"mysql2": "^3.22.6",
"pg": "^8.22.0",
"prettier": "^3.9.5",
"prettier-plugin-organize-imports": "4.3.0",
"redis": "^6.0.0",
"typedoc": "^0.28.20",
"vitest": "^4.1.10",
"wrangler": "^4.109.0"
},
"peerDependencies": {
"typescript": "^5.8.3 || ^7.0.0"
},
"lint-staged": {
"*.{js,ts,css,md,json,yml,jsonc}": "prettier --write"
},
"repository": {
"type": "git",
"url": "git+https://github.com/earth-app/CollegeDB.git"
},
"bugs": {
"url": "https://github.com/earth-app/CollegeDB/issues"
},
"homepage": "https://github.com/earth-app/CollegeDB#readme"
}