{ "name": "@hedgedoc/backend", "version": "2.0.0-alpha.3", "description": "Realtime collaborative markdown notes on all platforms.", "author": "", "private": true, "license": "AGPL-3.0", "scripts": { "build": "./build.sh", "format": "../node_modules/.bin/oxfmt --check src test", "format:fix": "../node_modules/.bin/oxfmt src test", "start": "node dist/src/main", "start:dev": "nest start --watch", "lint": "../node_modules/.bin/oxlint src test", "lint:fix": "../node_modules/.bin/oxlint src test --fix", "test": "jest", "test:watch": "jest --watch", "test:ci": "jest --coverage --runInBand", "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand", "test:e2e": "jest --config jest-e2e.json", "test:e2e:ci": "jest --config jest-e2e.json --coverage", "knex": "tsx ../node_modules/.bin/knex --migrations-directory src/database/migrations --knexfile ./knexfile.ts" }, "dependencies": { "@azure/storage-blob": "12.31.0", "@fastify/cookie": "11.0.2", "@fastify/csrf-protection": "7.1.0", "@fastify/multipart": "9.4.0", "@fastify/rate-limit": "10.3.0", "@fastify/secure-session": "8.3.0", "@fastify/session": "11.1.1", "@fastify/static": "9.0.0", "@hedgedoc/commons": "workspace:commons", "@hedgedoc/database": "workspace:database", "@mrdrogdrog/optional": "1.2.1", "@nestjs/common": "10.4.22", "@nestjs/config": "3.3.0", "@nestjs/core": "10.4.22", "@nestjs/event-emitter": "2.1.1", "@nestjs/platform-fastify": "11.1.16", "@nestjs/platform-ws": "10.4.22", "@nestjs/schedule": "4.1.2", "@nestjs/swagger": "8.1.1", "@nestjs/websockets": "10.4.22", "@node-rs/argon2": "2.0.2", "@zxcvbn-ts/core": "3.0.4", "@zxcvbn-ts/language-common": "3.0.4", "@zxcvbn-ts/language-en": "3.0.2", "base32-encode": "1.2.0", "better-sqlite3": "12.6.2", "class-transformer": "0.5.1", "class-validator": "0.14.3", "cli-color": "2.0.4", "diff": "8.0.3", "file-type": "16.5.4", "htmlparser2": "9.1.0", "jose": "5.10.0", "keyv": "5.6.0", "knex": "3.1.0", "ldapauth-fork": "6.1.0", "luxon": "3.7.2", "markdown-it": "13.0.2", "minio": "8.0.7", "mysql2": "3.18.2", "nest-knexjs": "0.0.34", "nestjs-zod": "4.3.1", "node-fetch": "2.7.0", "openid-client": "5.7.1", "pg": "8.19.0", "raw-body": "3.0.2", "reflect-metadata": "0.2.2", "rxjs": "7.8.2", "uuid": "11.1.0", "ws": "8.19.0", "yjs": "13.6.29", "zod": "3.25.76" }, "devDependencies": { "@jest/types": "30.3.0", "@nestjs/cli": "10.4.9", "@nestjs/schematics": "10.2.3", "@nestjs/testing": "10.4.22", "@tsconfig/node24": "24.0.4", "@types/better-sqlite3": "7.6.13", "@types/cli-color": "2.0.6", "@types/cookie": "1.0.0", "@types/cookie-signature": "1.1.2", "@types/luxon": "3.7.1", "@types/markdown-it": "13.0.8", "@types/node": "24.10.7", "@types/node-fetch": "2.6.13", "@types/pg": "8.15.6", "@types/source-map-support": "0.5.10", "@types/supertest": "2.0.16", "@types/ws": "8.18.1", "jest": "29.7.0", "knex-mock-client": "3.0.2", "mocked-env": "1.3.5", "source-map-support": "0.5.21", "supertest": "6.3.4", "ts-jest": "29.4.6", "ts-mockery": "1.2.0", "tsconfig-paths": "4.2.0", "tsx": "4.21.0", "typescript": "5.9.3" }, "jest": { "moduleFileExtensions": [ "js", "json", "ts" ], "rootDir": "src", "testRegex": ".spec.ts$", "transform": { "^.+\\.(t|j)s$": [ "ts-jest", { "tsconfig": "jest.tsconfig.json", "diagnostics": { "ignoreCodes": [ 151002 ] } } ] }, "transformIgnorePatterns": [ "/node_modules/", "/../commons/dist/cjs/" ], "coverageDirectory": "../coverage", "testEnvironment": "node", "reporters": [ "default", "github-actions" ] }, "packageManager": "yarn@4.12.0" }