4 "description": "A moderation tool for Matrix",
5 "main": "lib/index.js",
6 "repository": "git@github.com:matrix-org/mjolnir.git",
7 "author": "The Matrix.org Foundation C.I.C.",
8 "license": "Apache-2.0",
12 "postbuild": "rm -rf lib/test/ && cp -r lib/src/* lib/ && rm -rf lib/src/",
13 "lint": "tslint --project ./tsconfig.json -t stylish",
14 "start:dev": "yarn build && node --async-stack-traces lib/index.js",
15 "test": "ts-mocha --project ./tsconfig.json test/commands/**/*.ts",
16 "test:integration": "NODE_ENV=harness ts-mocha --async-stack-traces --require test/integration/fixtures.ts --timeout 300000 --project ./tsconfig.json \"test/integration/**/*Test.ts\"",
17 "test:integration:single": "NODE_ENV=harness npx ts-mocha --require test/integration/fixtures.ts --timeout 300000 --project ./tsconfig.json",
18 "test:appservice:integration": "NODE_ENV=harness ts-mocha --async-stack-traces --timeout 300000 --project ./tsconfig.json \"test/appservice/integration/**/*Test.ts\"",
19 "test:appservice:integration:single": "NODE_ENV=harness npx ts-mocha --timeout 300000 --project ./tsconfig.json",
20 "test:manual": "NODE_ENV=harness ts-node test/integration/manualLaunchScript.ts",
21 "version": "sed -i '/# version automated/s/[0-9][0-9]*\\.[0-9][0-9]*\\.[0-9][0-9]*/'$npm_package_version'/' synapse_antispam/setup.py && git add synapse_antispam/setup.py && cat synapse_antispam/setup.py"
24 "@types/config": "^3.3.0",
25 "@types/crypto-js": "^4.0.2",
26 "@types/express": "^4.17.13",
27 "@types/html-to-text": "^8.0.1",
28 "@types/humanize-duration": "^3.27.1",
29 "@types/js-yaml": "^4.0.5",
30 "@types/jsdom": "^16.2.11",
31 "@types/mocha": "^9.0.0",
32 "@types/nedb": "^1.8.12",
33 "@types/node": "^18.0.0",
34 "@types/pg": "^8.6.5",
35 "@types/request": "^2.48.8",
36 "@types/shell-quote": "1.7.1",
37 "crypto-js": "^4.1.1",
43 "typescript": "^4.8.4",
44 "typescript-formatter": "^7.2"
47 "@sentry/node": "^7.17.2",
48 "@sentry/tracing": "^7.17.2",
49 "await-lock": "^2.2.2",
50 "body-parser": "^1.20.1",
53 "html-to-text": "^8.0.0",
54 "humanize-duration": "^3.27.1",
55 "humanize-duration-ts": "^2.1.1",
58 "matrix-appservice-bridge": "8.1.2",
59 "parse-duration": "^1.0.2",
61 "prom-client": "^14.1.0",
62 "shell-quote": "^1.7.3",