2020-10-23 20:44:41 +02:00
|
|
|
{
|
2022-03-22 23:23:37 +01:00
|
|
|
"name": "@signalapp/libsignal-client",
|
2024-06-14 01:42:29 +02:00
|
|
|
"version": "0.51.0",
|
2020-11-11 19:49:56 +01:00
|
|
|
"license": "AGPL-3.0-only",
|
2021-11-09 00:38:12 +01:00
|
|
|
"main": "dist/index.js",
|
|
|
|
"types": "dist/index.d.ts",
|
2020-12-21 23:55:34 +01:00
|
|
|
"files": [
|
2023-04-01 02:08:12 +02:00
|
|
|
"dist/acknowledgments.md",
|
2021-11-09 00:38:12 +01:00
|
|
|
"dist/*.js",
|
|
|
|
"dist/*.d.ts",
|
|
|
|
"dist/zkgroup/**/*.js",
|
|
|
|
"dist/zkgroup/**/*.d.ts",
|
2021-11-09 01:17:00 +01:00
|
|
|
"Native.js",
|
|
|
|
"Native.d.ts",
|
2021-11-09 00:38:12 +01:00
|
|
|
"zkgroup.js",
|
|
|
|
"zkgroup.d.ts",
|
2021-04-15 21:05:02 +02:00
|
|
|
"prebuilds/*/*.node"
|
2020-12-21 23:55:34 +01:00
|
|
|
],
|
2020-10-23 20:44:41 +02:00
|
|
|
"scripts": {
|
2021-04-15 21:05:02 +02:00
|
|
|
"install": "node-gyp-build",
|
2020-12-21 23:56:26 +01:00
|
|
|
"build": "node-gyp build",
|
2024-06-12 21:24:27 +02:00
|
|
|
"build-with-debug-level-logs": "npx --libsignal-debug-level-logs node-gyp build",
|
2021-11-09 01:17:00 +01:00
|
|
|
"tsc": "tsc -b",
|
2021-11-09 00:38:12 +01:00
|
|
|
"clean": "rimraf dist build prebuilds",
|
2022-04-12 21:09:49 +02:00
|
|
|
"test": "mocha --recursive dist/test --require source-map-support/register",
|
2021-11-09 00:38:12 +01:00
|
|
|
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
|
2024-01-12 03:03:40 +01:00
|
|
|
"format": "p() { prettier ${@:- --write} '**/*.{css,js,json,md,scss,ts,tsx}' ../rust/bridge/node/bin/Native.d.ts.in; }; p",
|
2023-04-01 02:08:12 +02:00
|
|
|
"prepack": "cp ../acknowledgments/acknowledgments.md dist"
|
2020-10-23 20:44:41 +02:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2021-04-15 21:05:02 +02:00
|
|
|
"node-gyp-build": "^4.2.3",
|
2023-11-03 18:37:14 +01:00
|
|
|
"type-fest": "^3.5.0",
|
2021-03-12 20:36:24 +01:00
|
|
|
"uuid": "^8.3.0"
|
2020-10-23 20:44:41 +02:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-03-12 00:24:29 +01:00
|
|
|
"@indutny/bencher": "^1.2.0",
|
2020-10-27 02:16:17 +01:00
|
|
|
"@types/bindings": "^1.3.0",
|
2022-06-22 00:11:57 +02:00
|
|
|
"@types/chai": "^4.3.1",
|
2021-02-18 19:41:17 +01:00
|
|
|
"@types/chai-as-promised": "^7.1.3",
|
2023-06-02 19:42:39 +02:00
|
|
|
"@types/chance": "^1.1.3",
|
2021-09-03 19:44:18 +02:00
|
|
|
"@types/mocha": "^5.2.7",
|
2023-11-03 00:02:11 +01:00
|
|
|
"@types/node": "~18.15.0",
|
2024-06-13 20:20:08 +02:00
|
|
|
"@types/sinon": "^17.0.3",
|
|
|
|
"@types/sinon-chai": "^3.2.12",
|
2021-03-12 20:36:24 +01:00
|
|
|
"@types/uuid": "^8.3.0",
|
2023-02-02 00:46:45 +01:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.47.0",
|
|
|
|
"@typescript-eslint/parser": "^5.47.0",
|
2021-09-03 19:44:18 +02:00
|
|
|
"chai": "^4.2.0",
|
2021-02-18 19:41:17 +01:00
|
|
|
"chai-as-promised": "^7.1.1",
|
2023-06-02 19:42:39 +02:00
|
|
|
"chance": "^1.1.11",
|
2023-02-02 00:46:45 +01:00
|
|
|
"eslint": "^8.30.0",
|
|
|
|
"eslint-config-prettier": "^8.5.0",
|
2020-11-03 20:25:30 +01:00
|
|
|
"eslint-plugin-header": "^3.1.0",
|
2023-02-02 00:46:45 +01:00
|
|
|
"eslint-plugin-import": "^2.26.0",
|
2024-03-01 18:59:30 +01:00
|
|
|
"eslint-plugin-jsdoc": "^48.2.0",
|
2023-02-02 00:46:45 +01:00
|
|
|
"eslint-plugin-mocha": "^10.1.0",
|
2020-11-03 19:55:50 +01:00
|
|
|
"eslint-plugin-more": "^1.0.0",
|
2022-04-12 21:09:49 +02:00
|
|
|
"mocha": "^9",
|
2023-11-03 00:02:11 +01:00
|
|
|
"node-gyp": "^10.0.0",
|
2024-06-18 01:51:49 +02:00
|
|
|
"prebuildify": "^6.0.0",
|
2024-01-12 20:52:28 +01:00
|
|
|
"prettier": "^2.7.1",
|
2021-09-03 19:44:18 +02:00
|
|
|
"rimraf": "^3.0.1",
|
2024-06-13 20:20:08 +02:00
|
|
|
"sinon": "^18.0.0",
|
|
|
|
"sinon-chai": "^3.7.0",
|
2021-02-17 03:07:04 +01:00
|
|
|
"source-map-support": "^0.5.19",
|
2023-02-02 00:46:45 +01:00
|
|
|
"typescript": "4.9.3"
|
2020-10-23 20:44:41 +02:00
|
|
|
}
|
|
|
|
}
|