hedgedoc/backend/package.json

147 lines
4.5 KiB
JSON
Raw Normal View History

{
"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.15.0",
"@hedgedoc/commons": "workspace:commons",
"@mrdrogdrog/optional": "1.2.1",
"@nestjs/common": "10.1.3",
"@nestjs/config": "3.0.0",
"@nestjs/core": "10.1.3",
"@nestjs/event-emitter": "2.0.2",
"@nestjs/passport": "10.0.1",
"@nestjs/platform-express": "10.1.3",
"@nestjs/platform-ws": "10.1.3",
"@nestjs/schedule": "3.0.3",
"@nestjs/swagger": "7.1.8",
"@nestjs/typeorm": "10.0.0",
"@nestjs/websockets": "10.1.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.3",
"@zxcvbn-ts/language-common": "3.0.3",
"@zxcvbn-ts/language-en": "3.0.1",
"base32-encode": "1.2.0",
"bcrypt": "5.1.1",
"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.13",
"passport": "0.6.0",
"passport-custom": "1.1.1",
"passport-http-bearer": "1.0.1",
"passport-local": "1.0.0",
"pg": "8.11.3",
"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.7"
},
"devDependencies": {
"@darraghor/eslint-plugin-nestjs-typed": "4.0.12",
"@nestjs/cli": "10.1.13",
"@nestjs/schematics": "10.0.2",
"@nestjs/testing": "10.1.3",
"@trivago/prettier-plugin-sort-imports": "4.2.0",
"@tsconfig/node18": "18.2.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.4",
"@types/markdown-it": "13.0.0",
"@types/mysql": "2.15.21",
"@types/node": "20.5.3",
"@types/passport-local": "1.0.35",
"@types/pg": "8.10.2",
"@types/source-map-support": "0.5.7",
"@types/supertest": "2.0.12",
"@types/ws": "8.5.5",
"@typescript-eslint/eslint-plugin": "6.4.1",
"@typescript-eslint/parser": "6.4.1",
"eslint": "8.47.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-import": "2.28.1",
"eslint-plugin-jest": "27.2.3",
"eslint-plugin-local-rules": "1.3.2",
"eslint-plugin-prettier": "5.0.0",
"http-proxy-middleware": "2.0.6",
"jest": "29.6.3",
"mocked-env": "1.3.5",
"prettier": "3.0.2",
"source-map-support": "0.5.21",
"supertest": "6.3.3",
"ts-jest": "29.1.1",
"ts-mockery": "1.2.0",
"ts-node": "10.9.1",
"tsconfig-paths": "4.2.0",
"typescript": "5.1.6"
},
"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.2"
}