forked from kriszyp/lmdb-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
104 lines (104 loc) · 3.61 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
{
"name": "lmdb",
"author": "Kris Zyp",
"version": "2.3.10",
"description": "Simple, efficient, scalable, high-performance LMDB interface",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/DoctorEvidence/lmdb-js.git"
},
"keywords": [
"lmdb",
"database",
"mdb",
"lightning",
"key-value store",
"storage",
"adapter",
"performance"
],
"type": "module",
"main": "dist/index.cjs",
"module": "index.js",
"exports": {
".": {
"node": {
"require": "./dist/index.cjs",
"import": "./index.js"
},
"default": "./index.js"
}
},
"files": [
"/dist",
"/util",
"/dict",
"/dependencies",
"/src",
"*.md",
"/*.js",
"index.d.ts",
"/*.ts",
"/*.gyp"
],
"types": "./index.d.ts",
"tsd": {
"directory": "test/types"
},
"scripts": {
"install": "node-gyp-build-optional-packages",
"build": "node-gyp configure && node-gyp build && rollup -c",
"rebuild": "node-gyp build && rollup -c",
"build-js": "rollup -c",
"prepare": "rollup -c",
"before-publish": "rollup -c && prebuildify-ci download && prebuildify --target 16.14.0 && prebuildify --target 14.19.1 && prebuildify --target 17.9.0 && prebuildify --target 18.0.0 && set ENABLE_V8_FUNCTIONS=false&& prebuildify --napi --optional-packages --target 16.14.0 && node util/set-optional-deps.cjs && npm run test",
"prebuild-libc-expanded": "prebuildify --tag-libc --target 16.14.0 && prebuildify --tag-libc --target 14.19.1 && prebuildify --tag-libc --target 17.9.0 && prebuildify --tag-libc --target 18.0.0 && ENABLE_V8_FUNCTIONS=false prebuildify --tag-libc --napi --optional-packages --target 16.14.0",
"prebuild-libc": "prebuildify --tag-libc --target 17.9.0 && prebuildify --tag-libc --target 18.0.0 && prebuildify --napi --optional-packages --tag-libc --target 16.14.2",
"prebuildify": "prebuildify --target 16.14.2",
"prepare": "rollup -c",
"full-publish": "cd prebuilds/win32-x64 && npm publish --otp %OTP% && cd ../darwin-x64 && npm publish --otp %OTP% && cd ../darwin-arm64 && npm publish --otp %OTP% && cd ../linux-x64 && npm publish --otp %OTP% && cd ../linux-arm64 && npm publish --otp %OTP% && cd ../linux-arm && npm publish --otp %OTP% && cd ../.. && npm publish",
"recompile": "node-gyp clean && node-gyp configure && node-gyp build",
"test": "mocha test/**.test.js --recursive && npm run test:types",
"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.5.4",
"nan": "^2.14.2",
"node-addon-api": "^4.3.0",
"node-gyp-build-optional-packages": "^4.3.2",
"ordered-binary": "^1.2.4",
"weak-lru-cache": "^1.2.2"
},
"devDependencies": {
"@types/node": "^16.7.10",
"benchmark": "^2.1.4",
"chai": "^4.3.4",
"fs-extra": "^9.0.1",
"mocha": "^9.1.3",
"prebuildify": "kriszyp/prebuildify#optional-packages",
"prebuildify-ci": "^1.0.5",
"rimraf": "^3.0.2",
"rollup": "^2.61.1",
"tsd": "^0.14.0"
},
"bugs": {
"url": "https://github.com/DoctorEvidence/lmdb-js/issues"
},
"homepage": "https://github.com/DoctorEvidence/lmdb-js#readme",
"directories": {
"test": "tests"
},
"optionalDependencies": {
"lmdb-darwin-arm64": "2.3.10",
"lmdb-darwin-x64": "2.3.10",
"lmdb-linux-arm": "2.3.10",
"lmdb-linux-arm64": "2.3",
"lmdb-linux-x64": "2.3.10",
"lmdb-win32-x64": "2.3.10"
}
}