simplex-chat-nodejs: install libs, adjust package and installation

This commit is contained in:
shum
2025-12-29 10:11:26 +00:00
parent f477ea3824
commit e79213ad51
2 changed files with 219 additions and 1 deletions
+6 -1
View File
@@ -1,8 +1,10 @@
{
"name": "simplexjs",
"version": "1.0.0",
"version": "6.5.3",
"main": "src/index.js",
"scripts": {
"preinstall": "node src/download-libs.js",
"install": "node-gyp configure; node-gyp rebuild --release",
"install-tools": "npm install -g node-gyp",
"configure": "node-gyp configure; mkdir libs 2> /dev/null | true",
"rebuild": "node-gyp rebuild",
@@ -11,6 +13,9 @@
"build-run": "node-gyp build && node src/index.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"extract-zip": "^2.0.1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/simplex-chat/simplex-chat.git"