UNPKG

zeromq

Version:

Next-generation ZeroMQ bindings for Node.js

215 lines 6.47 kB
{ "name": "zeromq", "version": "6.1.2", "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": { "@aminya/cmake-ts": "^0.3.0-aminya.7", "node-addon-api": "^8.2.1" }, "devDependencies": { "@types/benchmark": "~2.1.5", "@types/chai": "^4", "@types/deasync": "~0.1.5", "@types/fs-extra": "^11.0.4", "@types/gh-pages": "~6.1.0", "@types/mocha": "^10.0.8", "@types/node": "^22.7.4", "@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", "deasync": "^0.1.30", "downlevel-dts": "^0.11.0", "electron": "^33.1.0", "electron-mocha": "^13.0.0", "eslint": "^8.57.1", "eslint-config-atomic": "^1.22.1", "eslint-plugin-prettier": "^5.2.1", "execa": "^9.4.0", "fs-extra": "^11.2.0", "gh-pages": "^6.1.1", "minify-all-cli": "^1.0.13", "mocha": "^10.7.3", "npm-run-all2": "^6.2.3", "prebuildify": "^6.0.1", "prettier": "^3.3.3", "proper-lockfile": "^4.1.2", "semver": "^7.6.3", "shx": "^0.3.4", "ts-node": "~10.9.2", "typedoc": "^0.26.7", "typescript": "~4.9.5", "which": "^5.0.0" }, "engines": { "node": ">= 10", "pnpm": ">= 9" }, "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", "configurations": [ { "name": "linux-x64", "os": "linux", "arch": "x64", "runtime": "node", "runtimeVersion": "12.22.12" }, { "name": "linux-x64-dev", "dev": true, "buildType": "Debug", "os": "linux", "arch": "x64", "runtime": "node", "runtimeVersion": "12.22.12" }, { "name": "windows-x64", "os": "win32", "arch": "x64", "runtime": "node", "runtimeVersion": "12.22.12" }, { "name": "windows-x86", "os": "win32", "arch": "ia32", "runtime": "node", "runtimeVersion": "12.22.12" }, { "name": "darwin-x64", "os": "darwin", "arch": "x64", "runtime": "node", "runtimeVersion": "12.22.12" }, { "name": "darwin-arm64", "os": "darwin", "arch": "arm64", "runtime": "node", "runtimeVersion": "12.22.12" }, { "name": "linux-x64-electron", "os": "linux", "arch": "x64", "runtime": "electron", "runtimeVersion": "12.22.12" }, { "name": "windows-x64-electron", "os": "win32", "arch": "x64", "runtime": "electron", "runtimeVersion": "12.22.12" }, { "name": "darwin-x64-electron", "os": "darwin", "arch": "x64", "runtime": "electron", "runtimeVersion": "12.22.12" }, { "name": "darwin-arm64-electron", "os": "darwin", "arch": "arm64", "runtime": "electron", "runtimeVersion": "12.22.12" } ], "targetDirectory": "build", "buildType": "Release", "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": "shx rm -rf ./build ./prebuilds && run-p clean.lib clean.temp", "clean.lib": "shx rm -rf ./lib/", "clean.release": "shx rm -rf ./build/Release", "clean.temp": "shx rm -rf ./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", "build.doc": "typedoc --options ./typedoc.json && minify-all -s docs-unminified -d docs --jsCompressor terser && shx rm -rf docs-unminified", "deploy.doc": "run-s build.doc && gh-pages --dist \"./docs\"", "build.native": "cmake-ts nativeonly", "build.native.debug": "cmake-ts dev-os-only", "build": "run-p build.js build.native", "build.debug": "run-s build.js build.native.debug", "test": "run-s test.unit", "test.unit": "run-s clean.temp build && mocha ./test/unit/*-test.ts", "test.unit.compat": "run-s clean.temp build && cross-env INCLUDE_COMPAT_TESTS=true mocha ./test/unit/compat/*-test.ts", "test.unit.nogc": "run-s clean.temp build && cross-env SKIP_GC_TESTS=true mocha", "test.electron.main": "run-s clean.temp build && electron-mocha ./test/unit/*-test.ts", "test.electron.renderer": "run-s build && electron-mocha --renderer ./test/unit/*-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": "pnpm run 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": "pnpx npm-check-updates -u -x typescript,eslint,chai && pnpx typesync && pnpm update" } }