2022-01-23 16:02:58 -05:00
|
|
|
{
|
2022-11-02 11:24:45 -04:00
|
|
|
"name": "@hedgedoc/backend",
|
|
|
|
"version": "2.0.0-dev",
|
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*",
|
2021-04-29 05:53:59 -04:00
|
|
|
"seed": "ts-node src/seed.ts"
|
2022-01-23 16:02:58 -05:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-04-14 02:11:02 -04:00
|
|
|
"@azure/storage-blob": "12.14.0",
|
2022-12-04 16:43:12 -05:00
|
|
|
"@hedgedoc/commons": "workspace:commons",
|
2023-02-05 08:57:11 -05:00
|
|
|
"@mrdrogdrog/optional": "1.1.0",
|
2023-07-03 04:39:42 -04:00
|
|
|
"@nestjs/common": "10.0.5",
|
2023-06-16 11:16:17 -04:00
|
|
|
"@nestjs/config": "3.0.0",
|
2023-07-03 04:39:42 -04:00
|
|
|
"@nestjs/core": "10.0.5",
|
2023-06-16 11:16:17 -04:00
|
|
|
"@nestjs/event-emitter": "2.0.0",
|
|
|
|
"@nestjs/passport": "10.0.0",
|
2023-07-03 04:39:42 -04:00
|
|
|
"@nestjs/platform-express": "10.0.5",
|
|
|
|
"@nestjs/platform-ws": "10.0.5",
|
2023-06-17 08:37:55 -04:00
|
|
|
"@nestjs/schedule": "3.0.1",
|
2023-07-04 10:15:48 -04:00
|
|
|
"@nestjs/swagger": "7.1.1",
|
2023-06-16 11:16:17 -04:00
|
|
|
"@nestjs/typeorm": "10.0.0",
|
2023-07-03 04:39:42 -04:00
|
|
|
"@nestjs/websockets": "10.0.5",
|
2021-05-09 15:42:04 -04:00
|
|
|
"@types/bcrypt": "5.0.0",
|
2023-03-20 20:45:04 -04:00
|
|
|
"@types/cron": "2.0.1",
|
2023-05-24 15:11:35 -04:00
|
|
|
"@types/minio": "7.1.0",
|
2023-05-16 06:08:48 -04:00
|
|
|
"@types/node-fetch": "2.6.4",
|
2021-07-15 14:37:28 -04:00
|
|
|
"@types/passport-http-bearer": "1.0.37",
|
2023-06-06 09:56:29 -04:00
|
|
|
"@zxcvbn-ts/core": "3.0.2",
|
|
|
|
"@zxcvbn-ts/language-common": "3.0.3",
|
2023-05-11 03:51:52 -04:00
|
|
|
"@zxcvbn-ts/language-en": "3.0.1",
|
2021-05-17 01:59:51 -04:00
|
|
|
"base32-encode": "1.2.0",
|
2022-10-09 14:40:17 -04:00
|
|
|
"bcrypt": "5.1.0",
|
2021-11-22 14:53:40 -05:00
|
|
|
"class-transformer": "0.5.1",
|
2022-12-10 14:51:59 -05:00
|
|
|
"class-validator": "0.14.0",
|
2022-07-09 08:59:04 -04:00
|
|
|
"cli-color": "2.0.3",
|
2022-07-31 13:46:13 -04:00
|
|
|
"connect-typeorm": "2.0.0",
|
2022-04-02 17:45:46 -04:00
|
|
|
"cookie": "0.5.0",
|
2022-07-22 17:05:38 -04:00
|
|
|
"diff": "5.1.0",
|
2022-05-14 01:28:30 -04:00
|
|
|
"express-session": "1.17.3",
|
2022-07-23 01:40:23 -04:00
|
|
|
"file-type": "16.5.4",
|
2023-06-11 06:56:27 -04:00
|
|
|
"htmlparser2": "9.0.0",
|
2023-04-24 23:27:25 -04:00
|
|
|
"joi": "17.9.2",
|
2022-06-25 07:33:50 -04:00
|
|
|
"ldapauth-fork": "5.0.5",
|
2023-06-11 06:56:27 -04:00
|
|
|
"markdown-it": "13.0.1",
|
2023-05-24 12:40:21 -04:00
|
|
|
"minio": "7.1.1",
|
2022-03-06 16:36:30 -05:00
|
|
|
"mysql": "2.18.1",
|
2023-06-29 15:57:28 -04:00
|
|
|
"node-fetch": "2.6.12",
|
2022-06-05 16:18:13 -04:00
|
|
|
"passport": "0.6.0",
|
2022-06-25 10:18:32 -04:00
|
|
|
"passport-custom": "1.1.1",
|
2021-01-25 16:52:35 -05:00
|
|
|
"passport-http-bearer": "1.0.1",
|
2021-08-08 15:44:54 -04:00
|
|
|
"passport-local": "1.0.0",
|
2023-06-26 13:22:13 -04:00
|
|
|
"pg": "8.11.1",
|
2023-02-25 07:53:36 -05:00
|
|
|
"raw-body": "2.5.2",
|
2021-01-05 17:12:43 -05:00
|
|
|
"reflect-metadata": "0.1.13",
|
2023-05-17 19:28:10 -04:00
|
|
|
"rimraf": "5.0.1",
|
2023-04-26 22:31:41 -04:00
|
|
|
"rxjs": "7.8.1",
|
2023-03-14 11:58:25 -04:00
|
|
|
"sqlite3": "5.1.6",
|
2023-06-20 17:34:56 -04:00
|
|
|
"typeorm": "0.3.17",
|
2023-03-11 14:57:47 -05:00
|
|
|
"ws": "8.13.0",
|
2023-06-25 15:49:46 -04:00
|
|
|
"yjs": "13.6.6"
|
2022-01-23 16:02:58 -05:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-07-04 10:15:16 -04:00
|
|
|
"@nestjs/cli": "10.1.4",
|
2023-06-16 11:16:17 -04:00
|
|
|
"@nestjs/schematics": "10.0.1",
|
2023-07-03 04:39:42 -04:00
|
|
|
"@nestjs/testing": "10.0.5",
|
2023-02-25 08:04:54 -05:00
|
|
|
"@trivago/prettier-plugin-sort-imports": "4.1.1",
|
2023-05-12 02:06:40 -04:00
|
|
|
"@tsconfig/node18": "2.0.1",
|
2021-12-24 21:49:05 -05:00
|
|
|
"@types/cli-color": "2.0.2",
|
2022-07-10 14:23:30 -04:00
|
|
|
"@types/cookie": "0.5.1",
|
2022-12-11 22:38:47 -05:00
|
|
|
"@types/cookie-signature": "1.1.0",
|
2023-03-23 13:05:36 -04:00
|
|
|
"@types/diff": "5.0.3",
|
2023-02-04 08:01:28 -05:00
|
|
|
"@types/express": "4.17.17",
|
2023-03-20 05:24:19 -04:00
|
|
|
"@types/express-session": "1.17.7",
|
2023-05-31 13:18:20 -04:00
|
|
|
"@types/jest": "29.5.2",
|
2023-06-20 17:37:59 -04:00
|
|
|
"@types/markdown-it": "12.2.3",
|
2022-03-07 08:06:55 -05:00
|
|
|
"@types/mysql": "2.15.21",
|
2023-07-01 00:51:05 -04:00
|
|
|
"@types/node": "20.3.3",
|
2023-01-07 10:54:19 -05:00
|
|
|
"@types/passport-local": "1.0.35",
|
2023-06-06 04:25:29 -04:00
|
|
|
"@types/pg": "8.10.2",
|
2022-08-27 07:49:39 -04:00
|
|
|
"@types/source-map-support": "0.5.6",
|
2022-03-26 16:24:41 -04:00
|
|
|
"@types/supertest": "2.0.12",
|
2023-06-08 17:22:46 -04:00
|
|
|
"@types/ws": "8.5.5",
|
2023-07-03 14:58:59 -04:00
|
|
|
"@typescript-eslint/eslint-plugin": "5.61.0",
|
|
|
|
"@typescript-eslint/parser": "5.61.0",
|
2023-07-01 00:51:30 -04:00
|
|
|
"eslint": "8.44.0",
|
2023-03-20 16:57:55 -04:00
|
|
|
"eslint-config-prettier": "8.8.0",
|
2023-01-22 07:32:04 -05:00
|
|
|
"eslint-plugin-import": "2.27.5",
|
2023-06-19 08:15:42 -04:00
|
|
|
"eslint-plugin-jest": "27.2.2",
|
2022-09-03 02:21:29 -04:00
|
|
|
"eslint-plugin-local-rules": "1.3.2",
|
2022-07-09 11:21:10 -04:00
|
|
|
"eslint-plugin-prettier": "4.2.1",
|
2022-04-22 22:28:15 -04:00
|
|
|
"http-proxy-middleware": "2.0.6",
|
2023-03-11 08:26:53 -05:00
|
|
|
"jest": "29.5.0",
|
2022-03-04 17:47:06 -05:00
|
|
|
"mocked-env": "1.3.5",
|
2023-04-23 06:27:20 -04:00
|
|
|
"prettier": "2.8.8",
|
2021-11-20 03:38:19 -05:00
|
|
|
"source-map-support": "0.5.21",
|
2022-12-10 04:20:44 -05:00
|
|
|
"supertest": "6.3.3",
|
2023-06-30 05:50:13 -04:00
|
|
|
"ts-jest": "29.1.1",
|
2022-06-21 10:16:40 -04:00
|
|
|
"ts-mockery": "1.2.0",
|
2022-07-30 17:52:44 -04:00
|
|
|
"ts-node": "10.9.1",
|
2023-03-29 20:59:16 -04:00
|
|
|
"tsconfig-paths": "4.2.0",
|
2023-06-28 19:29:50 -04:00
|
|
|
"typescript": "5.1.6"
|
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
|
|
|
},
|
2023-07-01 06:15:53 -04:00
|
|
|
"packageManager": "yarn@3.6.1"
|
2022-01-23 16:02:58 -05:00
|
|
|
}
|