-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
104 lines (104 loc) · 2.65 KB
/
Copy pathpackage.json
File metadata and controls
104 lines (104 loc) · 2.65 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
{
"name": "sql-switch",
"version": "2.0.0",
"description": "Universal hot-swappable DAL — SQLite in dev, PostgreSQL in prod, same fluent API",
"type": "module",
"packageManager": "pnpm@10.26.1",
"exports": {
".": {
"types": "./dist/database/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/database/index.d.ts",
"files": [
"dist",
"src",
"README.md",
"LICENSE",
"CHANGELOG.md"
],
"engines": {
"node": ">=22.0.0"
},
"scripts": {
"build": "tsup && tsc --emitDeclarationOnly",
"docs": "typedoc",
"docs:serve": "tsx scripts/serve-docs.ts",
"db:engine-swap": "tsx scripts/db-engine-swap.ts",
"smoke": "tsx scripts/smoke-test.ts",
"swap-test": "tsx scripts/swap-test.ts",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit && tsc -p tsconfig.scripts.json",
"lint": "biome lint",
"lint:fix": "biome lint --write",
"format": "biome format --write",
"format:check": "biome format",
"check": "biome check",
"check:fix": "biome check --write",
"dev": "tsx watch src/database/index.ts",
"prepublishOnly": "pnpm run check && pnpm run typecheck && pnpm run test && pnpm run smoke && pnpm run build"
},
"keywords": [
"database",
"sqlite",
"postgresql",
"drizzle",
"dal",
"hot-swap"
],
"author": "Rev Albrecht von Nullpointer <160512015+revxshafi@users.noreply.github.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/creative-softworks/sql-switch.git"
},
"bugs": {
"url": "https://github.com/creative-softworks/sql-switch/issues"
},
"homepage": "https://github.com/creative-softworks/sql-switch#readme",
"publishConfig": {
"access": "public",
"provenance": true
},
"dependencies": {
"drizzle-orm": "^0.45.2"
},
"peerDependencies": {
"better-sqlite3": "^13.0.3",
"pg": "^8.23.0"
},
"peerDependenciesMeta": {
"better-sqlite3": {
"optional": true
},
"pg": {
"optional": true
}
},
"pnpm": {
"overrides": {
"esbuild": ">=0.28.1"
}
},
"devDependencies": {
"@biomejs/biome": "^2.0.0",
"@types/better-sqlite3": "^9.6.0",
"@types/node": "^26.2.0",
"@types/pg": "^8.23.1",
"@vitest/coverage-v8": "^4.1.11",
"better-sqlite3": "^13.0.3",
"drizzle-kit": "^0.31.10",
"pg": "^8.23.0",
"tsup": "^8.5.1",
"tsx": "^4.23.12",
"typedoc": "^0.28.0",
"typescript": "^6.0.3",
"vitest": "^4.1.11"
}
}