-
Notifications
You must be signed in to change notification settings - Fork 44
/
package.json
114 lines (114 loc) · 4.14 KB
/
package.json
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
{
"name": "lmdb",
"author": "Kris Zyp",
"version": "3.2.0",
"description": "Simple, efficient, scalable, high-performance LMDB interface",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/kriszyp/lmdb-js.git"
},
"keywords": [
"lmdb",
"database",
"mdb",
"lightning",
"key-value store",
"storage",
"adapter",
"performance"
],
"type": "module",
"main": "dist/index.cjs",
"module": "index.js",
"exports": {
".": {
"types": {
"require": "./index.d.cts",
"import": "./index.d.ts"
},
"node": {
"require": "./dist/index.cjs",
"import": "./node-index.js"
},
"default": "./index.js"
}
},
"files": [
"/dist",
"/util",
"/dict",
"/dependencies",
"/src",
"*.md",
"/*.js",
"index.d.ts",
"index.d.cts",
"/*.ts",
"/*.gyp",
"/bin"
],
"types": "./index.d.ts",
"tsd": {
"directory": "test/types"
},
"bin": {
"download-lmdb-prebuilds": "./bin/download-prebuilds.js"
},
"scripts": {
"install": "node-gyp-build-optional-packages",
"build": "node-gyp --debug configure && node-gyp --debug build && rollup -c",
"rebuild": "node-gyp build && rollup -c && cpy index.d.ts . --rename=index.d.cts",
"build-js": "rollup -c",
"prepare": "rollup -c",
"before-publish": "rollup -c && cpy index.d.ts . --rename=index.d.cts && prebuildify-ci download && node util/set-optional-deps.cjs && npm run test",
"prebuild-libc-musl": "ENABLE_V8_FUNCTIONS=false prebuildify-platform-packages --debug --tag-libc --napi --platform-packages --target 22.11.0",
"prebuild-libc": "prebuildify-platform-packages --debug --tag-libc --target 20.18.0 || true && prebuildify-platform-packages --debug --platform-packages --tag-libc --target 22.11.0 && ENABLE_V8_FUNCTIONS=false prebuildify-platform-packages --debug --napi --platform-packages --tag-libc --target 22.11.0",
"prebuild-macos": "ENABLE_V8_FUNCTIONS=false prebuildify-platform-packages --debug --napi --platform-packages --target 18.17.1",
"prebuild-win32": "set ENABLE_V8_FUNCTIONS=false&& prebuildify-platform-packages --debug --napi --platform-packages --target 20.18.0",
"prebuild-libc-arm7": "ENABLE_V8_FUNCTIONS=false prebuildify-platform-packages --debug --napi --platform-packages --tag-libc --target 22.11.0",
"prebuildify": "prebuildify-platform-packages --debug --napi --target 22.11.0",
"full-publish": "cd prebuilds/win32-x64 && npm publish --access public && cd ../darwin-x64 && npm publish --access public && cd ../darwin-arm64 && npm publish --access public && cd ../linux-x64 && npm publish --access public && cd ../linux-arm64 && npm publish --access public && cd ../linux-arm && npm publish --access public && cd ../.. && npm publish && node util/remove-optional-deps.cjs",
"recompile": "node-gyp clean && node-gyp configure && node-gyp build",
"recompile-v1": "node-gyp clean && set LMDB_DATA_V1=true&& node-gyp configure && set LMDB_DATA_V1=true&& node-gyp build",
"test": "mocha test/**.test.js --expose-gc --recursive",
"deno-test": "deno run --allow-ffi --allow-write --allow-read --allow-env --allow-net --unstable test/deno.ts",
"test2": "mocha test/performance.js -u tdd",
"test:types": "tsd",
"benchmark": "node ./benchmark/index.js"
},
"gypfile": true,
"dependencies": {
"msgpackr": "^1.11.2",
"node-addon-api": "^6.1.0",
"node-gyp-build-optional-packages": "5.2.2",
"ordered-binary": "^1.5.3",
"weak-lru-cache": "^1.2.2"
},
"devDependencies": {
"@types/node": "^16.7.10",
"benchmark": "^2.1.4",
"chai": "^4.3.4",
"cpy-cli": "^4.1.0",
"fs-extra": "^9.0.1",
"mocha": "^10.1.0",
"prebuildify-ci": "^1.0.5",
"prebuildify-platform-packages": "5.0.4",
"prettier": "^3.0.2",
"rimraf": "^3.0.2",
"rollup": "^2.61.1",
"tsd": "^0.14.0"
},
"bugs": {
"url": "https://github.com/kriszyp/lmdb-js/issues"
},
"homepage": "https://github.com/kriszyp/lmdb-js#readme",
"directories": {
"test": "tests"
},
"prettier": {
"useTabs": true,
"singleQuote": true
},
"optionalDependencies": {}
}