-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 3.17 KB
/
Copy pathpackage.json
File metadata and controls
75 lines (75 loc) · 3.17 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
{
"name": "@3xhaust/gitdb",
"version": "0.1.0",
"description": "Use a GitHub repository as an application database.",
"type": "module",
"main": "./dist/src/index.js",
"types": "./dist/src/index.d.ts",
"homepage": "https://3x-haust.github.io/gitdb/",
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"import": "./dist/src/index.js"
},
"./browser": {
"types": "./dist/src/browser.d.ts",
"import": "./dist/src/browser.js"
}
},
"bin": {
"gitdb": "dist/src/cli/main.js"
},
"files": [
"dist/src",
"README.md",
"docs",
"examples"
],
"scripts": {
"build": "rm -rf dist && tsc -p tsconfig.json",
"benchmark": "corepack pnpm build && node scripts/benchmark.mjs",
"benchmark:compare": "GITDB_BENCH_OUTPUT=.gitdb/bench-current.json corepack pnpm benchmark:evaluate > /dev/null && node scripts/benchmark-compare.mjs --current .gitdb/bench-current.json --baseline docs/BENCHMARK_BASELINE.json --baseline-label \"previous runtime baseline\" --output site/benchmark.json --markdown site/benchmark.md",
"benchmark:compare:github": "GITDB_BENCH_OUTPUT=.gitdb/bench-current.json corepack pnpm benchmark:github > /dev/null && node scripts/benchmark-compare.mjs --current .gitdb/bench-current.json --baseline docs/BENCHMARK_BASELINE.json --baseline-label \"previous runtime baseline\" --output site/benchmark.json --markdown site/benchmark.md",
"benchmark:evaluate": "corepack pnpm build && node scripts/benchmark.mjs --json",
"benchmark:gate": "corepack pnpm build && node scripts/benchmark-gate.mjs",
"benchmark:gate:github": "corepack pnpm build && node scripts/benchmark-gate.mjs --profile github --input site/benchmark.json",
"benchmark:site": "GITDB_SITE_OUTPUT=site/benchmark.json corepack pnpm benchmark:evaluate > /dev/null",
"benchmark:github": "corepack pnpm build && node scripts/benchmark.mjs --github",
"check": "biome check . && tsc --noEmit",
"example": "corepack pnpm example:api",
"example:api": "corepack pnpm build && node examples/api-plaintext/index.mjs && node examples/api-encrypted/index.mjs",
"example:api-plaintext": "corepack pnpm build && node examples/api-plaintext/index.mjs",
"example:api-encrypted": "corepack pnpm build && node examples/api-encrypted/index.mjs",
"format": "biome check --write .",
"pack:dry-run": "corepack pnpm build && COREPACK_ENABLE_STRICT=0 npm pack --dry-run --json",
"publish:dry-run": "corepack pnpm build && COREPACK_ENABLE_STRICT=0 npm publish --dry-run --access public",
"site:preview": "python3 -m http.server 4173 --directory site",
"test": "vitest run",
"test:e2e": "vitest run tests/e2e.test.ts"
},
"dependencies": {
"@octokit/rest": "22.0.1",
"alasql": "4.17.3",
"commander": "15.0.0",
"pino": "10.3.1",
"zod": "4.4.3"
},
"devDependencies": {
"@biomejs/biome": "2.4.16",
"@types/node": "25.9.2",
"dotenv": "^17.4.2",
"typescript": "6.0.3",
"vitest": "4.1.8"
},
"engines": {
"node": ">=20.19.0"
},
"license": "MIT",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/3x-haust/gitdb.git"
}
}