2022-01-23 16:02:58 -05:00
|
|
|
{
|
2022-11-02 11:24:45 -04:00
|
|
|
"name": "@hedgedoc/backend",
|
2024-09-18 14:16:01 -04:00
|
|
|
"version": "2.0.0-alpha.3",
|
2022-01-23 16:02:58 -05:00
|
|
|
"description": "Realtime collaborative markdown notes on all platforms.",
|
2020-07-21 15:24:56 -04:00
|
|
|
"author": "",
|
|
|
|
"private": true,
|
2022-01-23 16:02:58 -05:00
|
|
|
"license": "AGPL-3.0",
|
|
|
|
"scripts": {
|
2021-09-06 12:04:14 -04:00
|
|
|
"build": "rimraf dist && nest build",
|
2021-02-16 04:28:55 -05:00
|
|
|
"format": "prettier --check \"src/**/*.ts\" \"test/**/*.ts\"",
|
|
|
|
"format:fix": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
|
2021-09-23 17:03:22 -04:00
|
|
|
"start": "rimraf dist && nest start",
|
|
|
|
"start:dev": "rimraf dist && nest start --watch",
|
|
|
|
"start:debug": "rimraf dist && nest start --debug --watch",
|
2020-07-21 15:24:56 -04:00
|
|
|
"start:prod": "node dist/main",
|
2022-01-23 16:51:21 -05:00
|
|
|
"lint": "eslint --max-warnings 0 \"{src,apps,libs,test}/**/*.ts\"",
|
2020-08-21 15:45:53 -04:00
|
|
|
"lint:fix": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
|
2020-07-21 15:24:56 -04:00
|
|
|
"test": "jest",
|
|
|
|
"test:watch": "jest --watch",
|
2022-12-11 18:46:30 -05:00
|
|
|
"test:ci": "jest --coverage",
|
2020-07-21 15:24:56 -04:00
|
|
|
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
|
2021-12-07 10:19:44 -05:00
|
|
|
"test:e2e": "jest --config jest-e2e.json && rimraf test_uploads*",
|
2022-12-11 18:46:30 -05:00
|
|
|
"test:e2e:ci": "jest --config jest-e2e.json --coverage && rimraf test_uploads*",
|
2023-10-08 09:08:57 -04:00
|
|
|
"seed": "ts-node src/seed.ts",
|
|
|
|
"typeorm": "typeorm-ts-node-commonjs -d src/ormconfig.ts"
|
2022-01-23 16:02:58 -05:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2024-10-22 18:47:48 -04:00
|
|
|
"@azure/storage-blob": "12.25.0",
|
2022-12-04 16:43:12 -05:00
|
|
|
"@hedgedoc/commons": "workspace:commons",
|
2023-07-30 05:40:51 -04:00
|
|
|
"@mrdrogdrog/optional": "1.2.1",
|
2024-10-22 18:47:48 -04:00
|
|
|
"@nestjs/common": "10.4.5",
|
|
|
|
"@nestjs/config": "3.3.0",
|
|
|
|
"@nestjs/core": "10.4.5",
|
|
|
|
"@nestjs/event-emitter": "2.1.1",
|
|
|
|
"@nestjs/platform-express": "10.4.5",
|
|
|
|
"@nestjs/platform-ws": "10.4.5",
|
|
|
|
"@nestjs/schedule": "4.1.1",
|
|
|
|
"@nestjs/swagger": "7.4.2",
|
2024-02-10 10:33:10 -05:00
|
|
|
"@nestjs/typeorm": "10.0.2",
|
2024-10-22 18:47:48 -04:00
|
|
|
"@nestjs/websockets": "10.4.5",
|
|
|
|
"@node-rs/argon2": "2.0.0",
|
2023-09-17 15:52:49 -04:00
|
|
|
"@zxcvbn-ts/core": "3.0.4",
|
|
|
|
"@zxcvbn-ts/language-common": "3.0.4",
|
|
|
|
"@zxcvbn-ts/language-en": "3.0.2",
|
2021-05-17 01:59:51 -04:00
|
|
|
"base32-encode": "1.2.0",
|
2021-11-22 14:53:40 -05:00
|
|
|
"class-transformer": "0.5.1",
|
2024-01-24 23:01:57 -05:00
|
|
|
"class-validator": "0.14.1",
|
2024-08-29 04:53:31 -04:00
|
|
|
"cli-color": "2.0.4",
|
2022-07-31 13:46:13 -04:00
|
|
|
"connect-typeorm": "2.0.0",
|
2024-10-22 18:47:48 -04:00
|
|
|
"cookie": "0.7.2",
|
2024-08-29 06:19:58 -04:00
|
|
|
"diff": "5.2.0",
|
2024-10-22 18:47:48 -04:00
|
|
|
"express-session": "1.18.1",
|
2022-07-23 01:40:23 -04:00
|
|
|
"file-type": "16.5.4",
|
2024-02-10 10:28:26 -05:00
|
|
|
"htmlparser2": "9.1.0",
|
2024-08-29 06:20:56 -04:00
|
|
|
"joi": "17.13.3",
|
2024-09-02 04:58:46 -04:00
|
|
|
"ldapauth-fork": "6.1.0",
|
2023-09-26 15:53:56 -04:00
|
|
|
"markdown-it": "13.0.2",
|
2024-09-02 04:48:57 -04:00
|
|
|
"minio": "8.0.1",
|
2022-03-06 16:36:30 -05:00
|
|
|
"mysql": "2.18.1",
|
2023-08-26 05:03:50 -04:00
|
|
|
"node-fetch": "2.7.0",
|
2024-03-22 21:10:25 -04:00
|
|
|
"openid-client": "5.6.5",
|
2024-10-22 18:47:48 -04:00
|
|
|
"pg": "8.13.0",
|
2024-09-01 12:10:06 -04:00
|
|
|
"raw-body": "3.0.0",
|
2024-08-29 05:01:58 -04:00
|
|
|
"reflect-metadata": "0.2.2",
|
2024-09-01 12:10:17 -04:00
|
|
|
"rimraf": "6.0.1",
|
2023-04-26 22:31:41 -04:00
|
|
|
"rxjs": "7.8.1",
|
2024-01-28 11:45:56 -05:00
|
|
|
"sqlite3": "5.1.7",
|
2024-02-10 10:32:55 -05:00
|
|
|
"typeorm": "0.3.20",
|
2024-11-11 10:14:08 -05:00
|
|
|
"uuid": "11.0.3",
|
2024-09-25 09:47:10 -04:00
|
|
|
"ws": "8.18.0",
|
2024-10-22 18:47:48 -04:00
|
|
|
"yjs": "13.6.20"
|
2022-01-23 16:02:58 -05:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-10-22 18:47:48 -04:00
|
|
|
"@darraghor/eslint-plugin-nestjs-typed": "5.0.27",
|
2024-08-30 04:21:17 -04:00
|
|
|
"@nestjs/cli": "10.4.5",
|
2024-10-22 18:47:48 -04:00
|
|
|
"@nestjs/schematics": "10.2.2",
|
|
|
|
"@nestjs/testing": "10.4.5",
|
2023-12-07 13:56:58 -05:00
|
|
|
"@trivago/prettier-plugin-sort-imports": "4.3.0",
|
2024-08-28 22:12:38 -04:00
|
|
|
"@tsconfig/node18": "18.2.4",
|
2023-12-07 12:49:37 -05:00
|
|
|
"@types/cli-color": "2.0.6",
|
2023-12-07 02:49:19 -05:00
|
|
|
"@types/cookie": "0.6.0",
|
2023-12-07 12:49:37 -05:00
|
|
|
"@types/cookie-signature": "1.1.2",
|
2024-10-22 18:47:48 -04:00
|
|
|
"@types/diff": "5.2.3",
|
|
|
|
"@types/express": "5.0.0",
|
2024-08-30 06:40:46 -04:00
|
|
|
"@types/express-session": "1.18.0",
|
2024-10-22 18:47:48 -04:00
|
|
|
"@types/jest": "29.5.13",
|
2023-12-07 12:49:37 -05:00
|
|
|
"@types/markdown-it": "13.0.7",
|
2024-10-22 18:47:48 -04:00
|
|
|
"@types/mysql": "2.15.26",
|
2024-08-30 06:40:46 -04:00
|
|
|
"@types/node": "20.16.2",
|
2024-09-13 07:44:54 -04:00
|
|
|
"@types/node-fetch": "2.6.11",
|
2024-10-22 18:47:48 -04:00
|
|
|
"@types/pg": "8.11.10",
|
2023-12-07 12:49:37 -05:00
|
|
|
"@types/source-map-support": "0.5.10",
|
2023-11-12 16:10:45 -05:00
|
|
|
"@types/supertest": "2.0.16",
|
2024-10-22 18:47:48 -04:00
|
|
|
"@types/ws": "8.5.12",
|
2024-11-01 11:54:15 -04:00
|
|
|
"@typescript-eslint/eslint-plugin": "7.18.0",
|
|
|
|
"@typescript-eslint/parser": "7.18.0",
|
2024-10-22 18:47:48 -04:00
|
|
|
"eslint": "8.57.1",
|
2023-12-07 14:56:11 -05:00
|
|
|
"eslint-config-prettier": "9.1.0",
|
2024-10-22 18:47:48 -04:00
|
|
|
"eslint-plugin-import": "2.31.0",
|
|
|
|
"eslint-plugin-jest": "28.8.3",
|
|
|
|
"eslint-plugin-local-rules": "3.0.2",
|
2024-08-29 09:05:09 -04:00
|
|
|
"eslint-plugin-prettier": "5.2.1",
|
2023-09-12 02:58:08 -04:00
|
|
|
"jest": "29.7.0",
|
2022-03-04 17:47:06 -05:00
|
|
|
"mocked-env": "1.3.5",
|
2024-08-29 09:05:09 -04:00
|
|
|
"prettier": "3.3.3",
|
2021-11-20 03:38:19 -05:00
|
|
|
"source-map-support": "0.5.21",
|
2024-01-24 23:01:00 -05:00
|
|
|
"supertest": "6.3.4",
|
2024-08-29 06:16:23 -04:00
|
|
|
"ts-jest": "29.2.5",
|
2022-06-21 10:16:40 -04:00
|
|
|
"ts-mockery": "1.2.0",
|
2023-10-29 14:38:44 -04:00
|
|
|
"ts-node": "11.0.0-beta.1",
|
2023-03-29 20:59:16 -04:00
|
|
|
"tsconfig-paths": "4.2.0",
|
2024-10-22 18:47:48 -04:00
|
|
|
"typescript": "5.6.3"
|
2022-01-23 16:02:58 -05:00
|
|
|
},
|
2020-07-21 15:24:56 -04:00
|
|
|
"jest": {
|
|
|
|
"moduleFileExtensions": [
|
|
|
|
"js",
|
|
|
|
"json",
|
|
|
|
"ts"
|
|
|
|
],
|
|
|
|
"rootDir": "src",
|
|
|
|
"testRegex": ".spec.ts$",
|
|
|
|
"transform": {
|
2022-09-11 10:40:23 -04:00
|
|
|
"^.+\\.(t|j)s$": [
|
|
|
|
"ts-jest",
|
|
|
|
{
|
|
|
|
"tsconfig": "test/tsconfig.json"
|
|
|
|
}
|
|
|
|
]
|
2020-07-21 15:24:56 -04:00
|
|
|
},
|
|
|
|
"coverageDirectory": "../coverage",
|
2021-04-29 13:09:15 -04:00
|
|
|
"testEnvironment": "node",
|
2022-05-01 13:13:53 -04:00
|
|
|
"reporters": [
|
|
|
|
"default",
|
|
|
|
"github-actions"
|
|
|
|
]
|
2021-11-11 13:53:30 -05:00
|
|
|
},
|
2024-09-02 09:42:19 -04:00
|
|
|
"packageManager": "yarn@4.4.1"
|
2022-01-23 16:02:58 -05:00
|
|
|
}
|