-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
56 lines (56 loc) · 1.54 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
{
"name": "@mongodb-js/zstd",
"version": "2.0.0",
"main": "lib/index.js",
"types": "index.d.ts",
"repository": "https://github.com/mongodb-js/zstd",
"files": [
"index.d.ts",
"lib/index.js",
"addon/*",
"binding.gyp"
],
"dependencies": {
"node-addon-api": "^4.3.0",
"prebuild-install": "^7.1.2"
},
"license": "Apache-2.0",
"devDependencies": {
"@mongodb-js/zstd": "^1.2.0",
"@typescript-eslint/eslint-plugin": "^8.11.0",
"@wasm-fmt/clang-format": "^19.1.3",
"chai": "^4.5.0",
"eslint": "^9.14.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"mocha": "^10.8.2",
"node-gyp": "10.1.0",
"prebuild": "^13.0.1",
"prettier": "^3.3.3"
},
"engines": {
"node": ">= 16.20.1"
},
"scripts": {
"install": "prebuild-install --runtime napi || npm run clean-install",
"clean-install": "npm run install-zstd && npm run compile",
"compile": "node-gyp rebuild",
"test": "mocha test/index.test.js",
"install-zstd": "bash etc/install-zstd.sh",
"check:eslint": "ESLINT_USE_FLAT_CONFIG=false eslint *ts lib/*.js test/*.js .*.json",
"clang-format": "clang-format --style=file:.clang-format --Werror -i addon/*",
"check:clang-format": "clang-format --style=file:.clang-format --dry-run --Werror addon/*",
"prebuild": "prebuild --runtime napi --strip --verbose --all"
},
"overrides": {
"prebuild": {
"node-gyp": "$node-gyp"
}
},
"binary": {
"napi_versions": [
4
]
},
"mongodb:zstd_version": "1.5.6"
}