UNPKG

zeromq

Version:

Next-generation ZeroMQ bindings for Node.js

153 lines 5.56 kB
{ "name": "zeromq", "version": "6.5.0", "description": "Next-generation ZeroMQ bindings for Node.js", "main": "lib/index.js", "type": "commonjs", "types": "lib/index.d.ts", "typesVersions": { "<=3.7": { "lib/*": [ "lib/ts3.7/*" ] } }, "gypfile": true, "repository": { "type": "git", "url": "https://github.com/zeromq/zeromq.js.git" }, "homepage": "http://zeromq.github.io/zeromq.js/", "dependencies": { "cmake-ts": "1.0.2", "node-addon-api": "^8.3.1" }, "devDependencies": { "@types/benchmark": "~2.1.5", "@types/chai": "^4", "@types/eslint": "~9.6.1", "@types/fs-extra": "^11.0.4", "@types/gh-pages": "~6.1.0", "@types/mocha": "^10.0.10", "@types/node": "^22.10.2", "@types/proper-lockfile": "^4.1.4", "@types/semver": "^7.5.8", "@types/shelljs": "^0.8.15", "@types/which": "^3.0.4", "benchmark": "^2.1.4", "chai": "^4", "cross-env": "^7.0.3", "downlevel-dts": "^0.11.0", "electron": "^33.2.1", "electron-mocha": "^13.0.1", "eslint": "^8.57.1", "eslint-config-atomic": "^1.22.1", "eslint-plugin-prettier": "^5.2.1", "execa": "^9.5.2", "fast-glob": "^3.3.3", "fs-extra": "^11.3.0", "gh-pages": "^6.2.0", "minify-all-cli": "^1.0.13", "mocha": "^11.0.1", "npm-run-all2": "^7.0.2", "prebuildify": "^6.0.1", "prettier": "^3.4.2", "proper-lockfile": "^4.1.2", "rimraf": "^6.0.1", "semver": "^7.6.3", "servor": "^4.0.2", "shx": "^0.3.4", "ts-node": "~10.9.2", "tsx": "^4.19.3", "typedoc": "^0.27.6", "typedoc-plugin-dt-links": "^1.1.6", "typedoc-plugin-include-example": "^2.0.2", "typedoc-plugin-inline-sources": "^1.2.0", "typedoc-plugin-mdn-links": "^4.0.7", "typedoc-plugin-missing-exports": "^3.1.0", "typescript": "~4.9.5", "which": "^5.0.0" }, "engines": { "node": ">= 12" }, "overrides": { "typescript": "~4.9.5", "node-gyp": "10.0.1" }, "files": [ "CHANGELOG.md", "LICENSE.txt", "LICENSE_MPL-2.0.txt", "README.md", "CMakeLists.txt", "vcpkg.json", "*.d.ts", "*.js", "lib", "src", "build", "script", "tsconfig.json" ], "cmake-ts": { "nodeAPI": "node-addon-api", "projectName": "addon" }, "keywords": [ "zeromq", "zmq", "0mq", "ømq", "libzmq", "zmtp", "message", "messaging", "queue", "async", "sockets", "native", "binding", "addon", "napi" ], "license": "MIT AND MPL-2.0", "author": "Amin Yahyaabadi <aminyahyaabadi74@gmail.com>, Rolf Timmermans <rolf@zxcv.nl>", "scripts": { "install": "node ./script/install.js", "clean": "rimraf ./build ./prebuilds ./staging && run-p clean.lib clean.temp", "clean.lib": "rimraf ./lib/", "clean.temp": "rimraf ./tmp && shx mkdir -p ./tmp", "build.js": "run-s clean.lib && tsc -p ./src/tsconfig.json && run-s build.downlevel", "build.downlevel": "downlevel-dts ./lib ./lib/ts3.7", "docs.build": "rimraf docs && typedoc --options ./typedoc.json && minify-all -s docs-unminified -d docs --jsCompressor terser && rimraf docs-unminified", "docs.preview": "servor --browse --reload docs", "docs.dev": "run-s docs.build docs.preview", "docs.deploy": "run-s docs.build && gh-pages --dist \"./docs\"", "build.native": "cmake-ts build --logger=debug", "build.native.debug": "cross-env npm_config_zmq_enable_sanitizer_undefined=true cmake-ts build --config debug", "build": "run-p build.js build.native", "build.debug": "run-s build.js build.native.debug", "test": "run-s test.unit test.examples", "test.debug": "run-s test.unit.debug test.examples", "test.unit": "run-s clean.temp build && cross-env INCLUDE_COMPAT_TESTS=true mocha ./test/unit/*-test.ts ./test/unit/compat/*-test.ts", "test.unit.debug": "run-s clean.temp build.debug && cross-env INCLUDE_COMPAT_TESTS=true mocha ./test/unit/*-test.ts ./test/unit/compat/*-test.ts", "test.unit.nogc": "run-s clean.temp build && cross-env SKIP_GC_TESTS=true mocha", "test.examples": "cd examples && pnpm install && pnpm run test", "test.electron.main": "run-s clean.temp build && cross-env INCLUDE_COMPAT_TESTS=true SKIP_GC_TESTS=true electron-mocha ./test/unit/*-test.ts ./test/unit/compat/*-test.ts", "test.electron.renderer": "run-s build && cross-env INCLUDE_COMPAT_TESTS=true SKIP_GC_TESTS=true electron-mocha --renderer ./test/unit/*-test.ts ./test/unit/compat/*-test.ts", "test.smoke": "bash ./script/smoke-test.bash", "format": "run-s format.prettier format.clang-format", "format.prettier": "prettier -l --cache --cache-location ./.cache/prettier --write .", "format.clang-format": "clang-format -i -style=file ./src/*.cc ./src/*.h ./src/util/*.h", "lint-test.eslint": "eslint './**/*.{ts,tsx,js,jsx,cjs,mjs,json,yaml}' --no-error-on-unmatched-pattern --cache --cache-location ./.cache/eslint/", "lint.eslint": "run-s 'lint-test.eslint --fix'", "lint.tsc": "tsc --noEmit -p ./src/tsconfig.json", "lint.tsc-test": "tsc --noEmit -p ./test/tsconfig.json", "lint.clang-tidy": "git ls-files --exclude-standard | grep -E '\\.(cpp|hpp|c|cc|cxx|hxx|h|ixx)$' | xargs -n 1 -P $(nproc) clang-tidy", "lint": "run-p lint.tsc-test lint.tsc lint.eslint format", "lint-test": "run-s lint-test.eslint", "bench": "node --expose-gc test/bench", "bump": "npx npm-check-updates -u -x typescript,eslint,chai,@types/chai && npx typesync" } }