UNPKG

6.47 kBJSONView Raw
1{
2 "name": "zeromq",
3 "version": "6.1.2",
4 "description": "Next-generation ZeroMQ bindings for Node.js",
5 "main": "lib/index.js",
6 "type": "commonjs",
7 "types": "lib/index.d.ts",
8 "typesVersions": {
9 "<=3.7": {
10 "lib/*": [
11 "lib/ts3.7/*"
12 ]
13 }
14 },
15 "gypfile": true,
16 "repository": {
17 "type": "git",
18 "url": "https://github.com/zeromq/zeromq.js.git"
19 },
20 "homepage": "http://zeromq.github.io/zeromq.js/",
21 "dependencies": {
22 "@aminya/cmake-ts": "^0.3.0-aminya.7",
23 "node-addon-api": "^8.2.1"
24 },
25 "devDependencies": {
26 "@types/benchmark": "~2.1.5",
27 "@types/chai": "^4",
28 "@types/deasync": "~0.1.5",
29 "@types/fs-extra": "^11.0.4",
30 "@types/gh-pages": "~6.1.0",
31 "@types/mocha": "^10.0.8",
32 "@types/node": "^22.7.4",
33 "@types/proper-lockfile": "^4.1.4",
34 "@types/semver": "^7.5.8",
35 "@types/shelljs": "^0.8.15",
36 "@types/which": "^3.0.4",
37 "benchmark": "^2.1.4",
38 "chai": "^4",
39 "cross-env": "^7.0.3",
40 "deasync": "^0.1.30",
41 "downlevel-dts": "^0.11.0",
42 "electron": "^33.1.0",
43 "electron-mocha": "^13.0.0",
44 "eslint": "^8.57.1",
45 "eslint-config-atomic": "^1.22.1",
46 "eslint-plugin-prettier": "^5.2.1",
47 "execa": "^9.4.0",
48 "fs-extra": "^11.2.0",
49 "gh-pages": "^6.1.1",
50 "minify-all-cli": "^1.0.13",
51 "mocha": "^10.7.3",
52 "npm-run-all2": "^6.2.3",
53 "prebuildify": "^6.0.1",
54 "prettier": "^3.3.3",
55 "proper-lockfile": "^4.1.2",
56 "semver": "^7.6.3",
57 "shx": "^0.3.4",
58 "ts-node": "~10.9.2",
59 "typedoc": "^0.26.7",
60 "typescript": "~4.9.5",
61 "which": "^5.0.0"
62 },
63 "engines": {
64 "node": ">= 10",
65 "pnpm": ">= 9"
66 },
67 "files": [
68 "CHANGELOG.md",
69 "LICENSE.txt",
70 "LICENSE_MPL-2.0.txt",
71 "README.md",
72 "CMakeLists.txt",
73 "vcpkg.json",
74 "*.d.ts",
75 "*.js",
76 "lib",
77 "src",
78 "build",
79 "script",
80 "tsconfig.json"
81 ],
82 "cmake-ts": {
83 "nodeAPI": "node-addon-api",
84 "configurations": [
85 {
86 "name": "linux-x64",
87 "os": "linux",
88 "arch": "x64",
89 "runtime": "node",
90 "runtimeVersion": "12.22.12"
91 },
92 {
93 "name": "linux-x64-dev",
94 "dev": true,
95 "buildType": "Debug",
96 "os": "linux",
97 "arch": "x64",
98 "runtime": "node",
99 "runtimeVersion": "12.22.12"
100 },
101 {
102 "name": "windows-x64",
103 "os": "win32",
104 "arch": "x64",
105 "runtime": "node",
106 "runtimeVersion": "12.22.12"
107 },
108 {
109 "name": "windows-x86",
110 "os": "win32",
111 "arch": "ia32",
112 "runtime": "node",
113 "runtimeVersion": "12.22.12"
114 },
115 {
116 "name": "darwin-x64",
117 "os": "darwin",
118 "arch": "x64",
119 "runtime": "node",
120 "runtimeVersion": "12.22.12"
121 },
122 {
123 "name": "darwin-arm64",
124 "os": "darwin",
125 "arch": "arm64",
126 "runtime": "node",
127 "runtimeVersion": "12.22.12"
128 },
129 {
130 "name": "linux-x64-electron",
131 "os": "linux",
132 "arch": "x64",
133 "runtime": "electron",
134 "runtimeVersion": "12.22.12"
135 },
136 {
137 "name": "windows-x64-electron",
138 "os": "win32",
139 "arch": "x64",
140 "runtime": "electron",
141 "runtimeVersion": "12.22.12"
142 },
143 {
144 "name": "darwin-x64-electron",
145 "os": "darwin",
146 "arch": "x64",
147 "runtime": "electron",
148 "runtimeVersion": "12.22.12"
149 },
150 {
151 "name": "darwin-arm64-electron",
152 "os": "darwin",
153 "arch": "arm64",
154 "runtime": "electron",
155 "runtimeVersion": "12.22.12"
156 }
157 ],
158 "targetDirectory": "build",
159 "buildType": "Release",
160 "projectName": "addon"
161 },
162 "keywords": [
163 "zeromq",
164 "zmq",
165 "0mq",
166 "ømq",
167 "libzmq",
168 "zmtp",
169 "message",
170 "messaging",
171 "queue",
172 "async",
173 "sockets",
174 "native",
175 "binding",
176 "addon",
177 "napi"
178 ],
179 "license": "MIT AND MPL-2.0",
180 "author": "Amin Yahyaabadi <aminyahyaabadi74@gmail.com>, Rolf Timmermans <rolf@zxcv.nl>",
181 "scripts": {
182 "install": "node ./script/install.js",
183 "clean": "shx rm -rf ./build ./prebuilds && run-p clean.lib clean.temp",
184 "clean.lib": "shx rm -rf ./lib/",
185 "clean.release": "shx rm -rf ./build/Release",
186 "clean.temp": "shx rm -rf ./tmp && shx mkdir -p ./tmp",
187 "build.js": "run-s clean.lib && tsc -p ./src/tsconfig.json && run-s build.downlevel",
188 "build.downlevel": "downlevel-dts ./lib ./lib/ts3.7",
189 "build.doc": "typedoc --options ./typedoc.json && minify-all -s docs-unminified -d docs --jsCompressor terser && shx rm -rf docs-unminified",
190 "deploy.doc": "run-s build.doc && gh-pages --dist \"./docs\"",
191 "build.native": "cmake-ts nativeonly",
192 "build.native.debug": "cmake-ts dev-os-only",
193 "build": "run-p build.js build.native",
194 "build.debug": "run-s build.js build.native.debug",
195 "test": "run-s test.unit",
196 "test.unit": "run-s clean.temp build && mocha ./test/unit/*-test.ts",
197 "test.unit.compat": "run-s clean.temp build && cross-env INCLUDE_COMPAT_TESTS=true mocha ./test/unit/compat/*-test.ts",
198 "test.unit.nogc": "run-s clean.temp build && cross-env SKIP_GC_TESTS=true mocha",
199 "test.electron.main": "run-s clean.temp build && electron-mocha ./test/unit/*-test.ts",
200 "test.electron.renderer": "run-s build && electron-mocha --renderer ./test/unit/*-test.ts",
201 "test.smoke": "bash ./script/smoke-test.bash",
202 "format": "run-s format.prettier format.clang-format",
203 "format.prettier": "prettier -l --cache --cache-location ./.cache/prettier --write .",
204 "format.clang-format": "clang-format -i -style=file ./src/*.cc ./src/*.h ./src/util/*.h",
205 "lint-test.eslint": "eslint ./**/*.{ts,tsx,js,jsx,cjs,mjs,json,yaml} --no-error-on-unmatched-pattern --cache --cache-location ./.cache/eslint/",
206 "lint.eslint": "pnpm run lint-test.eslint --fix",
207 "lint.tsc": "tsc --noEmit -p ./src/tsconfig.json",
208 "lint.tsc-test": "tsc --noEmit -p ./test/tsconfig.json",
209 "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",
210 "lint": "run-p lint.tsc-test lint.tsc lint.eslint format",
211 "lint-test": "run-s lint-test.eslint",
212 "bench": "node --expose-gc test/bench",
213 "bump": "pnpx npm-check-updates -u -x typescript,eslint,chai && pnpx typesync && pnpm update"
214 }
215}
\No newline at end of file