{ "name": "draupnir", "version": "3.1.0", "description": "A moderation tool for Matrix", "main": "lib/index.js", "repository": "https://github.com/the-draupnir-project/Draupnir.git", "author": "Gnuxie", "license": "Apache-2.0", "private": true, "scripts": { "build": "tsc --project test/tsconfig.json && npm run build:assets", "build:assets": "npm run describe-version && npm run describe-branch", "describe-version": "(git describe > version.txt.tmp && mv version.txt.tmp version.txt) || true && rm -f version.txt.tmp", "describe-branch": "(git rev-parse --abbrev-ref HEAD > branch.txt.tmp && mv branch.txt.tmp branch.txt) || true && rm -f branch.txt.tmp", "harness-registration": "node dist/appservice/cli.js -r -u \"http://host.docker.internal:9000\" --enable-source-maps", "test:unit": "mocha --require './test/tsnode.cjs' --forbid-only 'test/unit/**/*.{ts,tsx}'", "test:unit:single": "mocha --require test/tsnode.cjs", "test:integration": "NODE_ENV=harness mocha --require test/tsnode.cjs --async-stack-traces --forbid-only --require test/integration/fixtures.ts --timeout 300000 --project ./tsconfig.json \"test/integration/**/*Test.ts\" -- --draupnir-config ../../config/harness.yaml", "test:integration:single": "NODE_ENV=harness mocha --require test/tsnode.cjs --require test/integration/fixtures.ts --timeout 300000 --project ./tsconfig.json -- --draupnir-config ../../config/harness.yaml", "test:appservice:integration": "NODE_ENV=harness mocha --require test/tsnode.cjs --async-stack-traces --forbid-only --timeout 300000 --project ./tsconfig.json \"test/appservice/integration/**/*Test.ts\" -- --draupnir-config ../../config/harness.yaml", "test:appservice:integration:single": "NODE_ENV=harness mocha --require test/tsnode.cjs --timeout 300000 --project ./tsconfig.json -- --draupnir-config ../../config/harness.yaml", "test:manual": "NODE_ENV=harness ts-node test/integration/manualLaunchScript.ts -- --draupnir-config ../../config/harness.yaml" }, "devDependencies": { "@types/better-sqlite3": "^7.6.9", "@types/config": "^3.3.1", "@types/crypto-js": "^4.2.2", "@types/express": "^4.17.21", "@types/html-to-text": "^8.0.1", "@types/js-yaml": "^4.0.9", "@types/jsdom": "21.1.7", "@types/mocha": "^10.0.7", "@types/nedb": "^1.8.16", "@types/node": "^24.12.0", "@types/pg": "^8.6.5", "@types/request": "^2.48.12", "crypto-js": "^4.2.0", "expect": "^30.0.0", "mocha": "^11.0.0", "ts-auto-mock": "^3.7.4", "ts-node": "^10.9.2" }, "dependencies": { "@gnuxie/typescript-result": "^1.0.0", "@sentry/node": "^7.17.2", "@sinclair/typebox": "0.34.13", "@the-draupnir-project/interface-manager": "4.2.6", "@the-draupnir-project/matrix-basic-types": "1.5.1", "@the-draupnir-project/mps-interface-adaptor": "0.6.0", "@vector-im/matrix-bot-sdk": "^0.8.0-element.3", "better-sqlite3": "^12.8.0", "body-parser": "^1.20.2", "config": "^3.3.9", "express": "^4.19", "html-to-text": "^8.0.0", "js-yaml": "^4.1.0", "jsdom": "^24.0.0", "matrix-appservice-bridge": "^11.2.0", "matrix-protection-suite": "npm:@the-draupnir-project/matrix-protection-suite@7.1.0", "matrix-protection-suite-for-matrix-bot-sdk": "npm:@the-draupnir-project/matrix-protection-suite@5.0.1", "pg": "^8.8.0", "yaml": "^2.3.2" }, "overrides": { "@the-draupnir-project/matrix-basic-types": "$the-draupnir-project/matrix-basic-types", "@the-draupnir-project/interface-manager": "$the-draupnir-project/interface-manager", "matrix-protection-suite": "$matrix-protection-suite" }, "engines": { "node": ">=24.0.0" } }