120 lines
3.8 KiB
JSON
120 lines
3.8 KiB
JSON
{
|
|
"name": "zeromq",
|
|
"version": "6.0.0-beta.16",
|
|
"description": "Next-generation ZeroMQ bindings for Node.js",
|
|
"main": "lib/index.js",
|
|
"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/node-gyp-build": "4.5.0-aminya.4",
|
|
"cross-env": "^7.0.3",
|
|
"node-addon-api": "^5.0.0",
|
|
"shelljs": "^0.8.5",
|
|
"shx": "^0.3.4"
|
|
},
|
|
"devDependencies": {
|
|
"@types/chai": "^4.3.4",
|
|
"@types/fs-extra": "^9.0.13",
|
|
"@types/mocha": "^10.0.0",
|
|
"@types/node": "^18.11.9",
|
|
"@types/semver": "^7.3.13",
|
|
"@types/shelljs": "^0.8.11",
|
|
"@types/weak-napi": "^2.0.1",
|
|
"@types/which": "^2.0.1",
|
|
"benchmark": "^2.1.4",
|
|
"chai": "^4.3.7",
|
|
"deasync": "^0.1.28",
|
|
"downlevel-dts": "^0.11.0",
|
|
"electron-mocha": "^11.0.2",
|
|
"eslint-config-atomic": "^1.18.1",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"fs-extra": "^10.1.0",
|
|
"gh-pages": "^4.0.0",
|
|
"minify-all-cli": "^1.0.13",
|
|
"mocha": "^10.1.0",
|
|
"node-gyp": "^9.3.0",
|
|
"npm-run-all2": "^6.0.4",
|
|
"prebuildify": "^5.0.1",
|
|
"prettier": "^2.8.0",
|
|
"rocha": "^2.5.10",
|
|
"semver": "^7.3.8",
|
|
"ts-node": "~10.9.1",
|
|
"typedoc": "^0.23.21",
|
|
"typescript": "~4.9.3",
|
|
"weak-napi": "^2.0.2",
|
|
"which": "^3.0.0"
|
|
},
|
|
"engines": {
|
|
"node": ">= 10.2"
|
|
},
|
|
"files": [
|
|
"CHANGELOG.md",
|
|
"LICENSE",
|
|
"README.md",
|
|
"binding.gyp",
|
|
"*.d.ts",
|
|
"*.js",
|
|
"lib",
|
|
"src",
|
|
"script",
|
|
"prebuilds",
|
|
"tsconfig.json"
|
|
],
|
|
"keywords": [
|
|
"zeromq",
|
|
"zmq",
|
|
"0mq",
|
|
"ømq",
|
|
"libzmq",
|
|
"zmtp",
|
|
"message",
|
|
"messaging",
|
|
"queue",
|
|
"async",
|
|
"sockets",
|
|
"native",
|
|
"binding",
|
|
"addon",
|
|
"napi"
|
|
],
|
|
"license": "MIT",
|
|
"author": "Rolf Timmermans <rolf@zxcv.nl>",
|
|
"scripts": {
|
|
"install": "(shx test -f ./script/build.js || run-s build.js) && cross-env npm_config_build_from_source=true node-gyp-build",
|
|
"clean": "shx rm -rf ./build ./lib/ ./prebuilds ./script/*.js ./script/*.js.map ./script/*.d.ts ./script/*.tsbuildinfo",
|
|
"clean.temp": "shx rm -rf ./tmp && shx mkdir -p ./tmp && shx touch ./tmp/.gitkeep",
|
|
"build.library.compat": "shx rm -rf ./lib/ts3.7 && downlevel-dts ./lib ./lib/ts3.7 --to=3.7",
|
|
"build.library": "tsc -p ./src/tsconfig.json && run-s build.library.compat",
|
|
"build.script": "tsc -p ./script/tsconfig.json",
|
|
"build.js": "run-p build.script build.library",
|
|
"build.doc": "typedoc --options ./typedoc.json && minify-all -s docs-raw -d docs --jsCompressor terser",
|
|
"deploy.doc": "run-s build.doc && gh-pages --dist \"./docs\"",
|
|
"prebuild": "run-s build.js && node ./script/prebuild.js",
|
|
"build.native": "node-gyp configure --release && node-gyp build --release",
|
|
"build.native.debug": "cross-env CMAKE_BUILD_TYPE=Debug node-gyp configure --debug && cross-env CMAKE_BUILD_TYPE=Debug node-gyp build --debug",
|
|
"build": "run-s build.js build.native",
|
|
"build.debug": "run-s build.js build.native.debug",
|
|
"test": "run-s build && mocha --exit",
|
|
"test.skip_gc_tests": "run-s build.debug && cross-env SKIP_GC_TESTS=true mocha --exit",
|
|
"test.electron.main": "run-s build && electron-mocha",
|
|
"test.electron.renderer": "run-s build && electron-mocha --renderer",
|
|
"lint.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": "run-p lint.eslint lint.clang-format",
|
|
"lint-test": "run-s lint-test.eslint",
|
|
"bench": "node --expose-gc test/bench"
|
|
}
|
|
} |