-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
100 lines (100 loc) · 3.33 KB
/
package.json
File metadata and controls
100 lines (100 loc) · 3.33 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
{
"name": "@harperfast/rocksdb-js",
"version": "1.1.1",
"description": "RocksDB binding for Node.js",
"homepage": "https://github.com/HarperFast/rocksdb-js",
"bugs": [
{
"type": "link",
"url": "https://github.com/HarperFast/rocksdb-js/issues"
}
],
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/HarperFast/rocksdb-js"
},
"files": [
"dist"
],
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"exports": {
".": {
"types": "./dist/index.d.js",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"scripts": {
"bench": "cross-env CI=1 node --expose-gc ./node_modules/vitest/vitest.mjs bench --passWithNoTests --outputJson benchmark-results.json",
"bench:bun": "cross-env CI=1 bun --bun bench",
"bench:deno": "cross-env CI=1 deno run --allow-all --sloppy-imports ./node_modules/vitest/vitest.mjs bench",
"build": "pnpm build:bundle && pnpm rebuild",
"build:binding": "node-gyp build",
"build:binding:debug": "node-gyp build --coverage --debug --verbose",
"build:bundle": "node scripts/clean-dist.mjs && tsdown -c tsdown.config.ts",
"build:bundle:minify": "cross-env MINIFY=1 pnpm build:bundle",
"check": "pnpm type-check && pnpm lint && pnpm fmt:check",
"clean": "node-gyp clean",
"coverage": "tsx scripts/coverage/main.ts",
"fmt": "oxfmt",
"fmt:check": "oxfmt --check",
"lint": "oxlint",
"prepublishOnly": "pnpm build",
"rebuild": "node-gyp rebuild",
"rebuild:debug": "node-gyp rebuild --coverage --debug --verbose",
"test": "cross-env CI=1 node --expose-gc ./node_modules/vitest/vitest.mjs --reporter=verbose",
"test:bun": "cross-env CI=1 bun --bun --config=bunfig.toml ./node_modules/vitest/vitest.mjs --reporter=verbose",
"test:deno": "cross-env CI=1 deno run --allow-all --sloppy-imports --v8-flags=--expose-gc ./node_modules/vitest/vitest.mjs",
"test:stress": "cross-env CI=1 node --expose-gc ./node_modules/vitest/vitest.mjs --reporter=verbose --config=vitest-stress.config.ts",
"type-check": "tsc --noEmit"
},
"dependencies": {
"@harperfast/extended-iterable": "1.0.3",
"msgpackr": "2.0.1",
"ordered-binary": "1.6.1"
},
"devDependencies": {
"@rollup/plugin-replace": "6.0.3",
"@types/node": "25.6.0",
"@vitest/coverage-v8": "4.1.5",
"cross-env": "10.1.0",
"dotenv": "17.4.2",
"lefthook": "2.1.6",
"lmdb": "3.5.4",
"node-gyp": "12.3.0",
"oxfmt": "0.47.0",
"oxlint": "1.62.0",
"prebuildify": "6.0.1",
"semver": "7.7.4",
"tsdown": "0.21.10",
"tslib": "2.8.1",
"tsx": "4.21.0",
"typescript": "6.0.3",
"vitest": "4.1.5"
},
"optionalDependencies": {
"@harperfast/rocksdb-js-darwin-arm64": "1.1.1",
"@harperfast/rocksdb-js-darwin-x64": "1.1.1",
"@harperfast/rocksdb-js-linux-arm64-glibc": "1.1.1",
"@harperfast/rocksdb-js-linux-arm64-musl": "1.1.1",
"@harperfast/rocksdb-js-linux-x64-glibc": "1.1.1",
"@harperfast/rocksdb-js-linux-x64-musl": "1.1.1",
"@harperfast/rocksdb-js-win32-arm64": "1.1.1",
"@harperfast/rocksdb-js-win32-x64": "1.1.1"
},
"engines": {
"node": ">=18"
},
"pnpm": {
"onlyBuiltDependencies": [
"msgpackr-extract"
]
},
"gypfile": true,
"rocksdb": {
"version": "11.1.1"
}
}