84 lines
2.3 KiB
JSON
84 lines
2.3 KiB
JSON
{
|
|
"name": "@signalapp/mock-server",
|
|
"packageManager": "pnpm@10.18.1",
|
|
"version": "21.0.0",
|
|
"description": "Mock Signal Server for writing tests",
|
|
"main": "src/index.js",
|
|
"types": "src/index.d.ts",
|
|
"files": [
|
|
"src/**/*.js",
|
|
"src/**/*.d.ts",
|
|
"protos/compiled.js",
|
|
"protos/compiled.d.ts",
|
|
"certs"
|
|
],
|
|
"scripts": {
|
|
"watch": "npm run build:tsc -- -w",
|
|
"build:tsc": "tsc",
|
|
"build:protobuf": "protopiler --module cjs --output protos/compiled.js --typedefs protos/compiled.d.ts protos",
|
|
"build": "npm run build:protobuf && npm run build:tsc",
|
|
"format": "pprettier --write '**/*.ts'",
|
|
"mocha": "mocha test/**/*-test.js",
|
|
"lint:eslint": "eslint .",
|
|
"lint:prettier": "pprettier --check '**/*.ts'",
|
|
"lint": "npm run lint:eslint && npm run lint:prettier",
|
|
"test": "npm run mocha && npm run lint",
|
|
"prepare": "npm run build"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+ssh://git@github.com/signalapp/Mock-Signal-Server.git"
|
|
},
|
|
"keywords": [
|
|
"mock",
|
|
"signal",
|
|
"server"
|
|
],
|
|
"author": {
|
|
"name": "Open Whisper Systems",
|
|
"email": "support@signal.org"
|
|
},
|
|
"license": "AGPL-3.0-only",
|
|
"bugs": {
|
|
"url": "https://github.com/signalapp/Mock-Signal-Server/issues"
|
|
},
|
|
"homepage": "https://github.com/signalapp/Mock-Signal-Server#readme",
|
|
"dependencies": {
|
|
"@indutny/parallel-prettier": "^3.0.0",
|
|
"@indutny/protopiler": "4.0.0",
|
|
"@signalapp/libsignal-client": "^0.89.0",
|
|
"@tus/file-store": "^1.4.0",
|
|
"@tus/server": "^1.7.0",
|
|
"debug": "^4.3.2",
|
|
"is-plain-obj": "3.0.0",
|
|
"micro": "^9.3.4",
|
|
"microrouter": "^3.1.3",
|
|
"prettier": "^3.3.3",
|
|
"type-fest": "^4.26.1",
|
|
"url-pattern": "^1.0.3",
|
|
"uuid": "^8.3.2",
|
|
"ws": "^8.4.2",
|
|
"zod": "^3.20.2"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.36.0",
|
|
"@types/debug": "^4.1.7",
|
|
"@types/long": "^4.0.1",
|
|
"@types/micro": "^7.3.6",
|
|
"@types/microrouter": "^3.1.1",
|
|
"@types/mocha": "^9.1.0",
|
|
"@types/node": "^24.12.0",
|
|
"@types/uuid": "^8.3.0",
|
|
"@types/ws": "^8.2.2",
|
|
"eslint": "^9.36.0",
|
|
"mocha": "^9.2.0",
|
|
"typescript": "^5.9.3",
|
|
"typescript-eslint": "^8.44.1"
|
|
},
|
|
"pnpm": {
|
|
"patchedDependencies": {
|
|
"@types/ws": "patches/@types__ws.patch"
|
|
}
|
|
}
|
|
}
|