Files
libsignal/node/package.json

78 lines
2.5 KiB
JSON

{
"name": "@signalapp/libsignal-client",
"version": "0.88.0",
"repository": "github:signalapp/libsignal",
"license": "AGPL-3.0-only",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist/acknowledgments.md",
"dist/*.js",
"dist/*.d.ts",
"dist/net/**/*.js",
"dist/net/**/*.d.ts",
"dist/zkgroup/**/*.js",
"dist/zkgroup/**/*.d.ts",
"Native.js",
"Native.d.ts",
"zkgroup.js",
"zkgroup.d.ts",
"prebuilds/*/*.node"
],
"scripts": {
"build": "python3 build_node_bridge.py",
"build-with-debug-level-logs": "python3 build_node_bridge.py --debug-level-logs",
"clean": "rimraf dist build prebuilds",
"format": "p() { prettier ${@:- --write} '**/*.{css,js,json,md,scss,ts,tsx}' ../rust/bridge/node/bin/Native.ts.in; }; p",
"format-check": "p() { prettier ${@:- --check} '**/*.{css,js,json,md,scss,ts,tsx}' ../rust/bridge/node/bin/Native.ts.in; }; p",
"install": "echo Use \\`npm run build\\` to build the native library if needed",
"lint": "eslint .",
"prepack": "cp ../acknowledgments/acknowledgments-desktop.md dist/acknowledgments.md",
"test": "mocha --recursive dist/test --require source-map-support/register",
"tsc": "tsc -b"
},
"dependencies": {
"node-gyp-build": "^4.8.0",
"type-fest": "^4.26.0",
"uuid": "^11"
},
"devDependencies": {
"@eslint/js": "^9.35.0",
"@indutny/bencher": "^1.2.0",
"@signalapp/mock-server": "^11.1.0",
"@types/bindings": "^1.3.0",
"@types/chai": "^5.2.3",
"@types/chai-as-promised": "^8.0.2",
"@types/chance": "^1.1.3",
"@types/mocha": "^10.0.10",
"@types/node": "~20.11.0",
"@types/sinon": "^17.0.3",
"@types/sinon-chai": "^4.0.0",
"@typescript-eslint/parser": "^8.44.0",
"chai": "^6.0.1",
"chai-as-promised": "^8.0.2",
"chance": "^1.1.11",
"eslint": "^9.35.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^2.0.0",
"eslint-plugin-chai-expect": "^3.1.0",
"eslint-plugin-header": "^3.1.0",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jsdoc": "^48.2.0",
"eslint-plugin-mocha": "^10.1.0",
"eslint-plugin-node-import": "1.0.5",
"eslint-plugin-promise": "^7.2.1",
"mocha": "^11",
"prettier": "^2.7.1",
"prettier-plugin-packagejson": "^2.5.19",
"protobufjs": "^7.5.3",
"rimraf": "^6.0.1",
"sinon": "^21.0.0",
"sinon-chai": "^4.0.1",
"source-map-support": "^0.5.19",
"typescript": "5.3.3",
"typescript-eslint": "^8.44.0"
}
}