mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-14 19:28:12 +00:00
nodejs: download prebuilt add-on at runtime
This commit is contained in:
@@ -8,15 +8,12 @@
|
||||
},
|
||||
"files": [
|
||||
"src",
|
||||
"cpp",
|
||||
"dist",
|
||||
"binding.gyp",
|
||||
"tsconfig.json",
|
||||
"docs",
|
||||
"examples"
|
||||
],
|
||||
"scripts": {
|
||||
"install": "node-gyp configure; node-gyp rebuild --release",
|
||||
"install-tools": "npm install -g node-gyp",
|
||||
"configure": "node-gyp configure",
|
||||
"build": "node-gyp rebuild && tsc && cp ./src/simplex.* ./dist",
|
||||
@@ -28,13 +25,13 @@
|
||||
"dependencies": {
|
||||
"@simplex-chat/types": "^0.11.4",
|
||||
"extract-zip": "^2.0.1",
|
||||
"fast-deep-equal": "^3.1.3",
|
||||
"node-addon-api": "^8.5.0"
|
||||
"fast-deep-equal": "^3.1.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/jest": "^30.0.0",
|
||||
"@types/node": "^25.0.5",
|
||||
"jest": "^30.2.0",
|
||||
"node-addon-api": "^8.5.0",
|
||||
"ts-jest": "^29.4.6",
|
||||
"typedoc": "^0.28.15",
|
||||
"typedoc-plugin-markdown": "^4.9.0",
|
||||
|
||||
Reference in New Issue
Block a user