nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 "name": "draupnir",
3 "version": "2.5.0",
4 "description": "A moderation tool for Matrix",
5 "main": "lib/index.js",
6 "repository": "https://github.com/the-draupnir-project/Draupnir.git",
7 "author": "Gnuxie",
8 "license": "AFL-3.0",
9 "private": true,
10 "scripts": {
11 "build": "tsc --project test/tsconfig.json && tsc > /dev/null 2>&1",
12 "postbuild": "corepack yarn describe-version",
13 "describe-version": "(git describe > version.txt.tmp && mv version.txt.tmp version.txt) || true && rm -f version.txt.tmp",
14 "remove-tests-from-lib": "rm -rf lib/test/ && cp -r lib/src/* lib/ && rm -rf lib/src/",
15 "lint": "corepack yarn eslint --cache src test && corepack yarn prettier --cache --ignore-unknown --check src test",
16 "start:dev": "corepack yarn build && node --async-stack-traces lib/index.js",
17 "test:unit": "mocha --require './test/tsnode.cjs' --forbid-only 'test/unit/**/*.{ts,tsx}'",
18 "test:unit:single": "mocha --require test/tsnode.cjs",
19 "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\"",
20 "test:integration:single": "NODE_ENV=harness corepack yarn mocha --require test/tsnode.cjs --require test/integration/fixtures.ts --timeout 300000 --project ./tsconfig.json",
21 "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\"",
22 "test:appservice:integration:single": "NODE_ENV=harness corepack yarn mocha --require test/tsnode.cjs --timeout 300000 --project ./tsconfig.json",
23 "test:manual": "NODE_ENV=harness ts-node test/integration/manualLaunchScript.ts"
24 },
25 "devDependencies": {
26 "@eslint/js": "^9.7.0",
27 "@types/better-sqlite3": "^7.6.9",
28 "@types/config": "^3.3.1",
29 "@types/crypto-js": "^4.2.2",
30 "@types/eslint__js": "^8.42.3",
31 "@types/express": "^4.17.21",
32 "@types/html-to-text": "^8.0.1",
33 "@types/js-yaml": "^4.0.9",
34 "@types/jsdom": "21.1.7",
35 "@types/mocha": "^10.0.7",
36 "@types/nedb": "^1.8.16",
37 "@types/node": "^20.14.11",
38 "@types/pg": "^8.6.5",
39 "@types/request": "^2.48.12",
40 "crypto-js": "^4.2.0",
41 "eslint": "^9.7.0",
42 "expect": "^29.7.0",
43 "mocha": "^10.7.0",
44 "prettier": "^3.3.3",
45 "ts-auto-mock": "^3.7.4",
46 "ts-node": "^10.9.2",
47 "typescript": "^5.5.3",
48 "typescript-eslint": "^7.16.1"
49 },
50 "dependencies": {
51 "@gnuxie/typescript-result": "^1.0.0",
52 "@sentry/node": "^7.17.2",
53 "@sinclair/typebox": "0.34.13",
54 "@the-draupnir-project/interface-manager": "4.1.0",
55 "@the-draupnir-project/matrix-basic-types": "1.3.0",
56 "@the-draupnir-project/mps-interface-adaptor": "^0.4.1",
57 "better-sqlite3": "^9.4.3",
58 "body-parser": "^1.20.2",
59 "config": "^3.3.9",
60 "express": "^4.19",
61 "html-to-text": "^8.0.0",
62 "js-yaml": "^4.1.0",
63 "jsdom": "^24.0.0",
64 "matrix-appservice-bridge": "^10.3.1",
65 "matrix-bot-sdk": "npm:@vector-im/matrix-bot-sdk@^0.7.1-element.6",
66 "matrix-protection-suite": "npm:@gnuxie/matrix-protection-suite@3.7.1",
67 "matrix-protection-suite-for-matrix-bot-sdk": "npm:@gnuxie/matrix-protection-suite-for-matrix-bot-sdk@3.6.6",
68 "pg": "^8.8.0",
69 "yaml": "^2.3.2"
70 },
71 "overrides": {
72 "matrix-bot-sdk": "$@vector-im/matrix-bot-sdk",
73 "@vector-im/matrix-bot-sdk": "npm:@vector-im/matrix-bot-sdk@^0.7.1-element.6",
74 "@the-draupnir-project/matrix-basic-types": "@the-draupnir-project/matrix-basic-types@1.2.0",
75 "matrix-protection-suite": "$matrix-protection-suite"
76 },
77 "engines": {
78 "node": ">=20.0.0"
79 },
80 "packageManager": "yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610"
81}