Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
126 lines (126 loc) · 3.09 KB
/
Copy pathpackage.json
File metadata and controls
126 lines (126 loc) · 3.09 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"name": "@b9g/zen",
"version": "0.1.7",
"description": "Define Zod tables. Write raw SQL. Get typed objects.",
"type": "module",
"exports": {
".": {
"types": "./dist/zen.d.ts",
"import": "./dist/zen.js"
},
"./bun": {
"types": "./dist/bun.d.ts",
"import": "./dist/bun.js"
},
"./sqlite": {
"types": "./dist/sqlite.d.ts",
"import": "./dist/sqlite.js"
},
"./postgres": {
"types": "./dist/postgres.d.ts",
"import": "./dist/postgres.js"
},
"./mysql": {
"types": "./dist/mysql.d.ts",
"import": "./dist/mysql.js"
},
"./schema": {
"types": "./dist/schema.d.ts",
"import": "./dist/schema.js"
},
"./schema.js": {
"types": "./dist/schema.d.ts",
"import": "./dist/schema.js"
},
"./bun.js": {
"types": "./dist/bun.d.ts",
"import": "./dist/bun.js"
},
"./mysql.js": {
"types": "./dist/mysql.d.ts",
"import": "./dist/mysql.js"
},
"./postgres.js": {
"types": "./dist/postgres.d.ts",
"import": "./dist/postgres.js"
},
"./sqlite.js": {
"types": "./dist/sqlite.d.ts",
"import": "./dist/sqlite.js"
},
"./zen": {
"types": "./dist/zen.d.ts",
"import": "./dist/zen.js"
},
"./zen.js": {
"types": "./dist/zen.d.ts",
"import": "./dist/zen.js"
},
"./package.json": "./dist/package.json"
},
"scripts": {
"build": "libuild build --save",
"test": "bun test && npm run test:node",
"test:bun": "bun test",
"test:node": "node --import tsx --test src/impl/*.node-test.ts",
"typecheck": "tsc --noEmit -p tsconfig.typecheck.json",
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
"prepublishOnly": "echo 'ERROR: Cannot publish from root directory. Use libuild to publish or stage the package.' && exit 1"
},
"devDependencies": {
"@b9g/libuild": "^0.2.25",
"@eslint/js": "^9.39.2",
"@types/better-sqlite3": "^7.6.0",
"@types/bun": "^1.3.4",
"@typescript-eslint/eslint-plugin": "^8.49.0",
"@typescript-eslint/parser": "^8.49.0",
"better-sqlite3": "^11.8.1",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.4",
"mysql2": "^3.12.0",
"postgres": "^3.4.0",
"tsx": "^4.21.0",
"typescript": "^5.7.3",
"zod": "^4.0.0"
},
"peerDependencies": {
"better-sqlite3": "^11.0.0",
"mysql2": "^3.0.0",
"postgres": "^3.0.0",
"zod": "^4.0.0"
},
"peerDependenciesMeta": {
"better-sqlite3": {
"optional": true
},
"postgres": {
"optional": true
},
"mysql2": {
"optional": true
}
},
"keywords": [
"database",
"sql",
"zod",
"schema",
"orm",
"sqlite",
"postgres",
"mysql"
],
"author": "Brian Kim <briankimdev@gmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/bikeshaving/ZenDB.git"
},
"homepage": "https://zendb.org",
"bugs": {
"url": "https://github.com/bikeshaving/ZenDB/issues"
},
"module": "./dist/zen.js",
"types": "./dist/zen.d.ts"
}