mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-23 19:51:59 +00:00
93cf9c2c56
NestJS does not support content-types other than application/json. Therefore we need to directly access the request object to get the raw body content. Signed-off-by: David Mehren <git@herrmehren.de>
78 lines
2.3 KiB
JSON
78 lines
2.3 KiB
JSON
{
|
|
"name": "hedgedoc",
|
|
"version": "2.0.0",
|
|
"description": "Realtime collaborative markdown notes on all platforms.",
|
|
"author": "",
|
|
"private": true,
|
|
"license": "AGPL-3.0",
|
|
"scripts": {
|
|
"prebuild": "rimraf dist",
|
|
"build": "nest build",
|
|
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
|
|
"start": "nest start",
|
|
"start:dev": "nest start --watch",
|
|
"start:debug": "nest start --debug --watch",
|
|
"start:prod": "node dist/main",
|
|
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\"",
|
|
"lint:fix": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
|
|
"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",
|
|
"test:e2e": "jest --config ./test/jest-e2e.json"
|
|
},
|
|
"dependencies": {
|
|
"@nestjs/common": "^7.0.0",
|
|
"@nestjs/core": "^7.0.0",
|
|
"@nestjs/platform-express": "^7.0.0",
|
|
"@nestjs/swagger": "^4.5.12",
|
|
"@nestjs/typeorm": "^7.1.0",
|
|
"class-transformer": "^0.2.3",
|
|
"class-validator": "^0.12.2",
|
|
"connect-typeorm": "^1.1.4",
|
|
"raw-body": "^2.4.1",
|
|
"reflect-metadata": "^0.1.13",
|
|
"rimraf": "^3.0.2",
|
|
"rxjs": "^6.5.4",
|
|
"shortid": "^2.2.15",
|
|
"sqlite3": "^5.0.0",
|
|
"swagger-ui-express": "^4.1.4",
|
|
"typeorm": "^0.2.25"
|
|
},
|
|
"devDependencies": {
|
|
"@nestjs/cli": "^7.0.0",
|
|
"@nestjs/schematics": "^7.0.0",
|
|
"@nestjs/testing": "^7.0.0",
|
|
"@types/express": "^4.17.3",
|
|
"@types/jest": "25.2.3",
|
|
"@types/node": "^13.9.1",
|
|
"@types/supertest": "^2.0.8",
|
|
"@typescript-eslint/eslint-plugin": "3.0.2",
|
|
"@typescript-eslint/parser": "3.0.2",
|
|
"eslint": "7.1.0",
|
|
"eslint-config-prettier": "^6.10.0",
|
|
"eslint-plugin-import": "^2.20.1",
|
|
"jest": "26.0.1",
|
|
"prettier": "^1.19.1",
|
|
"supertest": "^4.0.2",
|
|
"ts-jest": "26.1.0",
|
|
"ts-loader": "^6.2.1",
|
|
"ts-node": "^8.6.2",
|
|
"tsconfig-paths": "^3.9.0",
|
|
"typescript": "^3.7.4"
|
|
},
|
|
"jest": {
|
|
"moduleFileExtensions": [
|
|
"js",
|
|
"json",
|
|
"ts"
|
|
],
|
|
"rootDir": "src",
|
|
"testRegex": ".spec.ts$",
|
|
"transform": {
|
|
"^.+\\.(t|j)s$": "ts-jest"
|
|
},
|
|
"coverageDirectory": "../coverage",
|
|
"testEnvironment": "node"
|
|
}
|
|
}
|