-
-
Notifications
You must be signed in to change notification settings - Fork 219
/
Copy pathpackage.json
166 lines (166 loc) · 5.68 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
{
"name": "zeromq",
"version": "6.4.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": {
"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"
},
"packageManager": "pnpm@10.8.0",
"overrides": {
"typescript": "~4.9.5",
"node-gyp": "10.0.1"
},
"pnpm": {
"overrides": {
"typescript": "~4.9.5",
"node-gyp": "10.0.1"
},
"onlyBuiltDependencies": [
"core-js",
"electron",
"esbuild"
]
},
"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"
],
"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",
"prepare": "run-s build.js",
"bump": "npx npm-check-updates -u -x typescript,eslint,chai,@types/chai && npx typesync"
},
"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>"
}