2022-01-23 21:02:58 +00:00
|
|
|
{
|
2022-11-02 15:24:45 +00:00
|
|
|
"name": "@hedgedoc/backend",
|
|
|
|
"version": "2.0.0-dev",
|
2022-01-23 21:02:58 +00:00
|
|
|
"description": "Realtime collaborative markdown notes on all platforms.",
|
2020-07-21 19:24:56 +00:00
|
|
|
"author": "",
|
|
|
|
"private": true,
|
2022-01-23 21:02:58 +00:00
|
|
|
"license": "AGPL-3.0",
|
|
|
|
"scripts": {
|
2021-09-06 16:04:14 +00:00
|
|
|
"build": "rimraf dist && nest build",
|
2021-02-16 09:28:55 +00:00
|
|
|
"format": "prettier --check \"src/**/*.ts\" \"test/**/*.ts\"",
|
|
|
|
"format:fix": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
|
2021-09-23 21:03:22 +00:00
|
|
|
"start": "rimraf dist && nest start",
|
|
|
|
"start:dev": "rimraf dist && nest start --watch",
|
|
|
|
"start:debug": "rimraf dist && nest start --debug --watch",
|
2020-07-21 19:24:56 +00:00
|
|
|
"start:prod": "node dist/main",
|
2022-01-23 21:51:21 +00:00
|
|
|
"lint": "eslint --max-warnings 0 \"{src,apps,libs,test}/**/*.ts\"",
|
2020-08-21 19:45:53 +00:00
|
|
|
"lint:fix": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
|
2020-07-21 19:24:56 +00:00
|
|
|
"test": "jest",
|
|
|
|
"test:watch": "jest --watch",
|
|
|
|
"test:cov": "jest --coverage",
|
|
|
|
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
|
2021-12-07 15:19:44 +00:00
|
|
|
"test:e2e": "jest --config jest-e2e.json && rimraf test_uploads*",
|
|
|
|
"test:e2e:cov": "jest --config jest-e2e.json --coverage && rimraf test_uploads*",
|
2021-04-29 09:53:59 +00:00
|
|
|
"seed": "ts-node src/seed.ts"
|
2022-01-23 21:02:58 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2022-10-22 08:30:39 +00:00
|
|
|
"@azure/storage-blob": "12.12.0",
|
2022-09-05 04:14:56 +00:00
|
|
|
"@hedgedoc/realtime": "0.3.0",
|
2022-10-30 16:11:24 +00:00
|
|
|
"@mrdrogdrog/optional": "1.0.0",
|
2022-12-04 00:11:30 +00:00
|
|
|
"@nestjs/common": "9.2.1",
|
2022-07-10 18:01:24 +00:00
|
|
|
"@nestjs/config": "2.2.0",
|
2022-12-04 00:11:30 +00:00
|
|
|
"@nestjs/core": "9.2.1",
|
2022-09-22 20:02:22 +00:00
|
|
|
"@nestjs/event-emitter": "1.3.1",
|
2022-07-10 00:15:10 +00:00
|
|
|
"@nestjs/passport": "9.0.0",
|
2022-12-04 00:11:30 +00:00
|
|
|
"@nestjs/platform-express": "9.2.1",
|
|
|
|
"@nestjs/platform-ws": "9.2.1",
|
2022-07-10 18:01:24 +00:00
|
|
|
"@nestjs/schedule": "2.1.0",
|
2022-12-10 10:09:48 +00:00
|
|
|
"@nestjs/swagger": "6.1.4",
|
2022-08-13 06:20:39 +00:00
|
|
|
"@nestjs/typeorm": "9.0.1",
|
2022-12-04 00:11:30 +00:00
|
|
|
"@nestjs/websockets": "9.2.1",
|
2021-05-09 19:42:04 +00:00
|
|
|
"@types/bcrypt": "5.0.0",
|
2022-07-10 18:01:24 +00:00
|
|
|
"@types/cron": "2.0.0",
|
2022-11-26 00:45:55 +00:00
|
|
|
"@types/minio": "7.0.15",
|
2022-06-18 04:53:22 +00:00
|
|
|
"@types/node-fetch": "2.6.2",
|
2021-07-15 18:37:28 +00:00
|
|
|
"@types/passport-http-bearer": "1.0.37",
|
2022-10-22 10:20:43 +00:00
|
|
|
"@zxcvbn-ts/core": "2.1.0",
|
2022-09-24 21:40:13 +00:00
|
|
|
"@zxcvbn-ts/language-common": "2.0.1",
|
|
|
|
"@zxcvbn-ts/language-en": "2.1.0",
|
2021-05-17 05:59:51 +00:00
|
|
|
"base32-encode": "1.2.0",
|
2022-10-09 18:40:17 +00:00
|
|
|
"bcrypt": "5.1.0",
|
2021-11-22 19:53:40 +00:00
|
|
|
"class-transformer": "0.5.1",
|
2021-11-20 15:05:49 +00:00
|
|
|
"class-validator": "0.13.2",
|
2022-07-09 12:59:04 +00:00
|
|
|
"cli-color": "2.0.3",
|
2022-07-31 17:46:13 +00:00
|
|
|
"connect-typeorm": "2.0.0",
|
2022-04-02 21:45:46 +00:00
|
|
|
"cookie": "0.5.0",
|
2022-07-22 21:05:38 +00:00
|
|
|
"diff": "5.1.0",
|
2022-05-14 05:28:30 +00:00
|
|
|
"express-session": "1.17.3",
|
2022-07-23 05:40:23 +00:00
|
|
|
"file-type": "16.5.4",
|
2022-11-14 05:28:10 +00:00
|
|
|
"joi": "17.7.0",
|
2022-06-25 11:33:50 +00:00
|
|
|
"ldapauth-fork": "5.0.5",
|
2022-12-10 10:34:58 +00:00
|
|
|
"lib0": "0.2.58",
|
2022-08-27 14:53:46 +00:00
|
|
|
"minio": "7.0.32",
|
2022-03-06 21:36:30 +00:00
|
|
|
"mysql": "2.18.1",
|
2021-02-16 21:07:58 +00:00
|
|
|
"nest-router": "1.0.9",
|
2022-01-16 15:09:07 +00:00
|
|
|
"node-fetch": "2.6.7",
|
2022-06-05 20:18:13 +00:00
|
|
|
"passport": "0.6.0",
|
2022-06-25 14:18:32 +00:00
|
|
|
"passport-custom": "1.1.1",
|
2021-01-25 21:52:35 +00:00
|
|
|
"passport-http-bearer": "1.0.1",
|
2021-08-08 19:44:54 +00:00
|
|
|
"passport-local": "1.0.0",
|
2022-08-28 11:25:13 +00:00
|
|
|
"pg": "8.8.0",
|
2022-03-05 05:02:26 +00:00
|
|
|
"raw-body": "2.5.1",
|
2021-01-05 22:12:43 +00:00
|
|
|
"reflect-metadata": "0.1.13",
|
|
|
|
"rimraf": "3.0.2",
|
2022-12-04 21:22:55 +00:00
|
|
|
"rxjs": "7.6.0",
|
2022-10-08 11:12:08 +00:00
|
|
|
"sqlite3": "5.1.2",
|
2022-04-02 21:45:46 +00:00
|
|
|
"typeorm": "0.3.7",
|
2022-11-21 16:07:09 +00:00
|
|
|
"ws": "8.11.0",
|
2022-04-02 21:45:46 +00:00
|
|
|
"y-protocols": "1.0.5",
|
2022-12-03 14:05:37 +00:00
|
|
|
"yjs": "13.5.43"
|
2022-01-23 21:02:58 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-10-29 03:09:16 +00:00
|
|
|
"@nestjs/cli": "9.1.5",
|
2022-09-10 20:11:49 +00:00
|
|
|
"@nestjs/schematics": "9.0.3",
|
2022-12-04 00:11:30 +00:00
|
|
|
"@nestjs/testing": "9.2.1",
|
2022-12-04 23:06:44 +00:00
|
|
|
"@trivago/prettier-plugin-sort-imports": "4.0.0",
|
2022-06-18 10:54:37 +00:00
|
|
|
"@tsconfig/node12": "1.0.11",
|
2021-12-25 02:49:05 +00:00
|
|
|
"@types/cli-color": "2.0.2",
|
2022-07-10 18:23:30 +00:00
|
|
|
"@types/cookie": "0.5.1",
|
2022-04-02 21:45:46 +00:00
|
|
|
"@types/cookie-signature": "1.0.4",
|
2022-07-22 21:05:38 +00:00
|
|
|
"@types/diff": "5.0.2",
|
2022-09-17 05:42:28 +00:00
|
|
|
"@types/express": "4.17.14",
|
2022-07-10 18:23:30 +00:00
|
|
|
"@types/express-session": "1.17.5",
|
2022-12-10 09:20:44 +00:00
|
|
|
"@types/jest": "29.2.4",
|
2022-03-07 13:06:55 +00:00
|
|
|
"@types/mysql": "2.15.21",
|
2022-12-10 09:18:09 +00:00
|
|
|
"@types/node": "18.11.12",
|
2021-09-17 00:45:34 +00:00
|
|
|
"@types/passport-local": "1.0.34",
|
2022-03-07 13:21:51 +00:00
|
|
|
"@types/pg": "8.6.5",
|
2022-08-27 11:49:39 +00:00
|
|
|
"@types/source-map-support": "0.5.6",
|
2022-03-26 20:24:41 +00:00
|
|
|
"@types/supertest": "2.0.12",
|
2022-04-02 21:45:46 +00:00
|
|
|
"@types/ws": "8.5.3",
|
2022-12-10 11:23:04 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "5.46.0",
|
|
|
|
"@typescript-eslint/parser": "5.46.0",
|
2022-12-04 20:48:19 +00:00
|
|
|
"eslint": "8.29.0",
|
2022-03-05 09:43:01 +00:00
|
|
|
"eslint-config-prettier": "8.5.0",
|
2022-04-10 00:02:19 +00:00
|
|
|
"eslint-plugin-import": "2.26.0",
|
2022-11-29 18:25:33 +00:00
|
|
|
"eslint-plugin-jest": "27.1.6",
|
2022-09-03 06:21:29 +00:00
|
|
|
"eslint-plugin-local-rules": "1.3.2",
|
2022-07-09 15:21:10 +00:00
|
|
|
"eslint-plugin-prettier": "4.2.1",
|
2022-04-23 02:28:15 +00:00
|
|
|
"http-proxy-middleware": "2.0.6",
|
2022-11-21 15:38:26 +00:00
|
|
|
"jest": "29.3.1",
|
2022-03-04 22:47:06 +00:00
|
|
|
"mocked-env": "1.3.5",
|
2022-11-27 22:59:28 +00:00
|
|
|
"prettier": "2.8.0",
|
2021-11-20 08:38:19 +00:00
|
|
|
"source-map-support": "0.5.21",
|
2022-12-10 09:20:44 +00:00
|
|
|
"supertest": "6.3.3",
|
2022-10-01 12:24:37 +00:00
|
|
|
"ts-jest": "29.0.3",
|
2022-06-21 14:16:40 +00:00
|
|
|
"ts-mockery": "1.2.0",
|
2022-07-30 21:52:44 +00:00
|
|
|
"ts-node": "10.9.1",
|
2022-12-03 11:36:26 +00:00
|
|
|
"tsconfig-paths": "4.1.1",
|
2022-12-10 09:20:11 +00:00
|
|
|
"typescript": "4.9.4"
|
2022-01-23 21:02:58 +00:00
|
|
|
},
|
2020-07-21 19:24:56 +00:00
|
|
|
"jest": {
|
|
|
|
"moduleFileExtensions": [
|
|
|
|
"js",
|
|
|
|
"json",
|
|
|
|
"ts"
|
|
|
|
],
|
|
|
|
"rootDir": "src",
|
|
|
|
"testRegex": ".spec.ts$",
|
|
|
|
"transform": {
|
2022-09-11 14:40:23 +00:00
|
|
|
"^.+\\.(t|j)s$": [
|
|
|
|
"ts-jest",
|
|
|
|
{
|
|
|
|
"tsconfig": "test/tsconfig.json"
|
|
|
|
}
|
|
|
|
]
|
2020-07-21 19:24:56 +00:00
|
|
|
},
|
|
|
|
"coverageDirectory": "../coverage",
|
2021-04-29 17:09:15 +00:00
|
|
|
"testEnvironment": "node",
|
2022-05-01 17:13:53 +00:00
|
|
|
"reporters": [
|
|
|
|
"default",
|
|
|
|
"github-actions"
|
|
|
|
]
|
2021-11-11 18:53:30 +00:00
|
|
|
},
|
2022-11-02 15:24:45 +00:00
|
|
|
"packageManager": "yarn@3.3.0"
|
2022-01-23 21:02:58 +00:00
|
|
|
}
|