51 lines
1.5 KiB
JSON
51 lines
1.5 KiB
JSON
{
|
|
"name": "@mongodb-js/zstd",
|
|
"version": "7.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": "^8.5.0",
|
|
"prebuild-install": "^7.1.3"
|
|
},
|
|
"license": "Apache-2.0",
|
|
"devDependencies": {
|
|
"@mongodb-js/zstd": "^1.2.0",
|
|
"@typescript-eslint/eslint-plugin": "^8.46.0",
|
|
"@wasm-fmt/clang-format": "^21.1.4",
|
|
"chai": "^4.5.0",
|
|
"eslint": "^9.37.0",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-plugin-prettier": "^5.5.4",
|
|
"mocha": "^11.7.4",
|
|
"node-gyp": "^11.4.2",
|
|
"prebuild": "^13.0.1",
|
|
"prettier": "^3.6.2"
|
|
},
|
|
"engines": {
|
|
"node": ">= 20.19.0"
|
|
},
|
|
"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/*.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"
|
|
},
|
|
"binary": {
|
|
"napi_versions": [
|
|
9
|
|
]
|
|
},
|
|
"mongodb:zstd_version": "1.5.6"
|
|
} |