-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
99 lines (99 loc) · 2.95 KB
/
Copy pathpackage.json
File metadata and controls
99 lines (99 loc) · 2.95 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
{
"name": "@libredb/libredb",
"version": "0.2.2",
"description": "A small, readable, embeddable, multi-model database. One ordered key-value core, thin model lenses on top.",
"keywords": [
"database",
"embedded",
"embeddable",
"key-value",
"document",
"relational",
"multi-model",
"typescript",
"bun"
],
"homepage": "https://github.com/libredb/libredb-database#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/libredb/libredb-database.git"
},
"bugs": {
"url": "https://github.com/libredb/libredb-database/issues"
},
"type": "module",
"license": "MIT",
"bin": {
"libredb": "./dist/cli/main.js"
},
"files": [
"dist"
],
"publishConfig": {
"access": "public"
},
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"browser": {
"types": "./dist/browser.d.ts",
"import": "./dist/browser.js"
},
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./browser": {
"types": "./dist/browser.d.ts",
"import": "./dist/browser.js"
}
},
"sideEffects": false,
"engines": {
"bun": ">=1.3.0",
"node": ">=22"
},
"scripts": {
"typecheck": "tsc --noEmit",
"format": "biome format src eslint.config.js",
"format:fix": "biome format --write src eslint.config.js",
"lint": "oxlint && eslint .",
"test": "bun test --coverage",
"build": "tsc --project tsconfig.build.json",
"compile": "bun build --compile src/cli/main.ts --outfile libredb",
"size": "size-limit",
"attw": "rm -rf .attw && bun pm pack --quiet --destination .attw && attw .attw/*.tgz --profile esm-only",
"publint": "publint",
"audit": "bun audit --ignore GHSA-h67p-54hq-rp68",
"secrets": "secretlint '**/*'",
"commitlint": "commitlint",
"license:check": "sh scripts/license-check.sh",
"changeset": "changeset",
"sync-version": "bun scripts/sync-version.ts",
"changeset:version": "changeset version && bun run sync-version",
"knip": "knip-bun",
"knip:production": "knip-bun --production --strict",
"prepublishOnly": "bun run build && bun run attw && bun run publint",
"prepare": "git config core.hooksPath .githooks",
"gate": "bun run typecheck && bun run format && bun run lint && bun run knip && bun run build && bun run size && bun run test"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.4",
"@biomejs/biome": "^2.5.1",
"@changesets/cli": "2.31.0",
"@commitlint/cli": "21.2.0",
"@commitlint/config-conventional": "21.2.0",
"@secretlint/secretlint-rule-preset-recommend": "13.0.2",
"@size-limit/preset-small-lib": "^12.1.0",
"@types/bun": "latest",
"eslint": "^10.0.0",
"knip": "^6.20.0",
"oxlint": "^1.71.0",
"publint": "^0.3.21",
"secretlint": "13.0.2",
"size-limit": "^12.1.0",
"typescript": "^6.0.0",
"typescript-eslint": "^8.0.0"
}
}