{ "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.13.0", "@hedgedoc/commons": "workspace:commons", "@mrdrogdrog/optional": "1.1.0", "@nestjs/common": "9.4.0", "@nestjs/config": "2.3.1", "@nestjs/core": "9.4.0", "@nestjs/event-emitter": "1.4.1", "@nestjs/passport": "9.0.3", "@nestjs/platform-express": "9.4.0", "@nestjs/platform-ws": "9.4.0", "@nestjs/schedule": "2.2.1", "@nestjs/swagger": "6.3.0", "@nestjs/typeorm": "9.0.1", "@nestjs/websockets": "9.4.0", "@types/bcrypt": "5.0.0", "@types/cron": "2.0.1", "@types/minio": "7.0.18", "@types/node-fetch": "2.6.3", "@types/passport-http-bearer": "1.0.37", "@zxcvbn-ts/core": "2.2.1", "@zxcvbn-ts/language-common": "2.0.1", "@zxcvbn-ts/language-en": "2.1.0", "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", "joi": "17.9.1", "ldapauth-fork": "5.0.5", "minio": "7.0.33", "mysql": "2.18.1", "nest-router": "1.0.9", "node-fetch": "2.6.9", "passport": "0.6.0", "passport-custom": "1.1.1", "passport-http-bearer": "1.0.1", "passport-local": "1.0.0", "pg": "8.10.0", "raw-body": "2.5.2", "reflect-metadata": "0.1.13", "rimraf": "5.0.0", "rxjs": "7.8.0", "sqlite3": "5.1.6", "typeorm": "0.3.14", "ws": "8.13.0", "yjs": "13.5.52" }, "devDependencies": { "@nestjs/cli": "9.4.0", "@nestjs/schematics": "9.1.0", "@nestjs/testing": "9.4.0", "@trivago/prettier-plugin-sort-imports": "4.1.1", "@tsconfig/node18": "1.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.0", "@types/mysql": "2.15.21", "@types/node": "18.15.11", "@types/passport-local": "1.0.35", "@types/pg": "8.6.6", "@types/source-map-support": "0.5.6", "@types/supertest": "2.0.12", "@types/ws": "8.5.4", "@typescript-eslint/eslint-plugin": "5.58.0", "@typescript-eslint/parser": "5.58.0", "eslint": "8.38.0", "eslint-config-prettier": "8.8.0", "eslint-plugin-import": "2.27.5", "eslint-plugin-jest": "27.2.1", "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.7", "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.0.4" }, "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.5.0" }