{ "name": "@hedgedoc/backend", "version": "2.0.0-dev", "description": "Realtime collaborative markdown notes on all platforms.", "author": "", "private": true, "license": "AGPL-3.0", "scripts": { "build": "rimraf dist && nest build", "format": "prettier --check \"src/**/*.ts\" \"test/**/*.ts\"", "format:fix": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", "start": "rimraf dist && nest start", "start:dev": "rimraf dist && nest start --watch", "start:debug": "rimraf dist && nest start --debug --watch", "start:prod": "node dist/main", "lint": "eslint --max-warnings 0 \"{src,apps,libs,test}/**/*.ts\"", "lint:fix": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", "test": "jest", "test:watch": "jest --watch", "test:ci": "jest --coverage", "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 && rimraf test_uploads*", "test:e2e:ci": "jest --config jest-e2e.json --coverage && rimraf test_uploads*", "seed": "ts-node src/seed.ts" }, "dependencies": { "@azure/storage-blob": "12.14.0", "@hedgedoc/commons": "workspace:commons", "@mrdrogdrog/optional": "1.1.0", "@nestjs/common": "10.0.3", "@nestjs/config": "3.0.0", "@nestjs/core": "10.0.3", "@nestjs/event-emitter": "2.0.0", "@nestjs/passport": "10.0.0", "@nestjs/platform-express": "10.0.3", "@nestjs/platform-ws": "10.0.3", "@nestjs/schedule": "3.0.1", "@nestjs/swagger": "7.0.10", "@nestjs/typeorm": "10.0.0", "@nestjs/websockets": "10.0.3", "@types/bcrypt": "5.0.0", "@types/cron": "2.0.1", "@types/minio": "7.1.0", "@types/node-fetch": "2.6.4", "@types/passport-http-bearer": "1.0.37", "@zxcvbn-ts/core": "3.0.2", "@zxcvbn-ts/language-common": "3.0.3", "@zxcvbn-ts/language-en": "3.0.1", "base32-encode": "1.2.0", "bcrypt": "5.1.0", "class-transformer": "0.5.1", "class-validator": "0.14.0", "cli-color": "2.0.3", "connect-typeorm": "2.0.0", "cookie": "0.5.0", "diff": "5.1.0", "express-session": "1.17.3", "file-type": "16.5.4", "htmlparser2": "9.0.0", "joi": "17.9.2", "ldapauth-fork": "5.0.5", "markdown-it": "13.0.1", "minio": "7.1.1", "mysql": "2.18.1", "node-fetch": "2.6.11", "passport": "0.6.0", "passport-custom": "1.1.1", "passport-http-bearer": "1.0.1", "passport-local": "1.0.0", "pg": "8.11.1", "raw-body": "2.5.2", "reflect-metadata": "0.1.13", "rimraf": "5.0.1", "rxjs": "7.8.1", "sqlite3": "5.1.6", "typeorm": "0.3.17", "ws": "8.13.0", "yjs": "13.6.6" }, "devDependencies": { "@nestjs/cli": "10.0.5", "@nestjs/schematics": "10.0.1", "@nestjs/testing": "10.0.3", "@trivago/prettier-plugin-sort-imports": "4.1.1", "@tsconfig/node18": "2.0.1", "@types/cli-color": "2.0.2", "@types/cookie": "0.5.1", "@types/cookie-signature": "1.1.0", "@types/diff": "5.0.3", "@types/express": "4.17.17", "@types/express-session": "1.17.7", "@types/jest": "29.5.2", "@types/markdown-it": "12.2.3", "@types/mysql": "2.15.21", "@types/node": "20.3.2", "@types/passport-local": "1.0.35", "@types/pg": "8.10.2", "@types/source-map-support": "0.5.6", "@types/supertest": "2.0.12", "@types/ws": "8.5.5", "@typescript-eslint/eslint-plugin": "5.60.1", "@typescript-eslint/parser": "5.60.1", "eslint": "8.43.0", "eslint-config-prettier": "8.8.0", "eslint-plugin-import": "2.27.5", "eslint-plugin-jest": "27.2.2", "eslint-plugin-local-rules": "1.3.2", "eslint-plugin-prettier": "4.2.1", "http-proxy-middleware": "2.0.6", "jest": "29.5.0", "mocked-env": "1.3.5", "prettier": "2.8.8", "source-map-support": "0.5.21", "supertest": "6.3.3", "ts-jest": "29.1.0", "ts-mockery": "1.2.0", "ts-node": "10.9.1", "tsconfig-paths": "4.2.0", "typescript": "5.1.5" }, "jest": { "moduleFileExtensions": [ "js", "json", "ts" ], "rootDir": "src", "testRegex": ".spec.ts$", "transform": { "^.+\\.(t|j)s$": [ "ts-jest", { "tsconfig": "test/tsconfig.json" } ] }, "coverageDirectory": "../coverage", "testEnvironment": "node", "reporters": [ "default", "github-actions" ] }, "packageManager": "yarn@3.6.0" }