-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
135 lines (135 loc) · 3.74 KB
/
package.json
File metadata and controls
135 lines (135 loc) · 3.74 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
127
128
129
130
131
132
133
134
135
{
"name": "storium",
"version": "0.14.19",
"description": "Lightweight, database-agnostic storage abstraction built on Drizzle ORM",
"keywords": [
"drizzle",
"orm",
"database",
"repository",
"schema",
"validation",
"postgresql",
"mysql",
"sqlite",
"zod",
"crud"
],
"author": "Rob McLarty <r@robmclarty.com> (https://robmclarty.com)",
"homepage": "https://github.com/robmclarty/storium#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/robmclarty/storium.git"
},
"license": "MIT",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./migrate": {
"import": {
"types": "./dist/migrate.d.ts",
"default": "./dist/migrate.js"
},
"require": {
"types": "./dist/migrate.d.cts",
"default": "./dist/migrate.cjs"
}
}
},
"bin": {
"storium": "./dist/bin/storium.js"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"typecheck": "tsc --noEmit -p tsconfig.check.json",
"typecheck:examples": "fail=0; for dir in examples/*/; do echo \"--- $dir ---\" && (cd \"$dir\" && npx tsc --noEmit 2>&1) || fail=1; done; exit $fail",
"lint": "npm run lint:code && npm run lint:fallow && npm run lint:deps && npm run lint:sg && npm run lint:knip",
"lint:fallow": "fallow --fail-on-issues",
"lint:code": "node --import tsx/esm ./node_modules/.bin/oxlint .",
"lint:code:fix": "node --import tsx/esm ./node_modules/.bin/oxlint . --fix",
"lint:deps": "depcruise --output-type err --no-config --ts-pre-compilation-deps src/",
"lint:sg": "sg scan --config .ast-grep/sgconfig.yml",
"lint:knip": "knip",
"test": "npm run typecheck && npm run lint && npm run build && npm run test:unit",
"test:unit": "vitest",
"test:run": "vitest run",
"test:integration": "TEST_DIALECTS=memory,postgresql,mysql vitest run --config vitest.integration.config.ts",
"coverage": "vitest run --coverage",
"test:examples": "for dir in examples/*/; do echo \"--- $dir ---\" && (cd \"$dir\" && npm install --silent && npm start) || exit 1; done",
"release": "npm publish --access public",
"prepublishOnly": "npm run build"
},
"dependencies": {
"glob": "13.0.6"
},
"peerDependencies": {
"better-sqlite3": "*",
"drizzle-kit": ">=0.31.0 <1.0.0",
"drizzle-orm": ">=0.44.0 <1.0.0",
"mysql2": "*",
"pg": "*",
"zod": ">=4.0.0 <5.0.0"
},
"peerDependenciesMeta": {
"drizzle-orm": {},
"drizzle-kit": {
"optional": true
},
"zod": {},
"pg": {
"optional": true
},
"mysql2": {
"optional": true
},
"better-sqlite3": {
"optional": true
}
},
"devDependencies": {
"@ast-grep/cli": "0.42.1",
"@testcontainers/mysql": "11.14.0",
"@testcontainers/postgresql": "11.14.0",
"@types/better-sqlite3": "7.6.13",
"@types/node": "25.3.0",
"@types/pg": "8.16.0",
"@vitest/coverage-istanbul": "4.0.18",
"@vitest/coverage-v8": "4.0.18",
"better-sqlite3": "12.6.2",
"dependency-cruiser": "17.3.10",
"drizzle-kit": "0.31.9",
"drizzle-orm": "0.45.1",
"fallow": "2.28.2",
"knip": "6.4.1",
"mysql2": "3.18.2",
"oxlint": "1.50.0",
"pg": "8.19.0",
"testcontainers": "11.14.0",
"tsup": "8.5.1",
"tsx": "4.21.0",
"typescript": "5.9.3",
"vitest": "4.0.18",
"zod": "4.3.6"
},
"engines": {
"node": ">=20"
}
}