mirror of
https://github.com/docmost/docmost
synced 2025-03-28 21:13:28 +00:00
109 lines
3.4 KiB
JSON
109 lines
3.4 KiB
JSON
{
|
|
"name": "server",
|
|
"version": "0.0.1",
|
|
"description": "",
|
|
"author": "",
|
|
"private": true,
|
|
"license": "",
|
|
"scripts": {
|
|
"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\" --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",
|
|
"typeorm": "typeorm-ts-node-commonjs -d ./src/database/typeorm.config.ts",
|
|
"migration:generate": "npm run typeorm migration:generate ./src/database/migrations/$npm_config_name",
|
|
"migration:create": "typeorm-ts-node-commonjs migration:create ./src/database/migrations/$npm_config_name",
|
|
"migration:run": "npm run typeorm migration:run",
|
|
"migration:revert": "npm run typeorm migration:revert",
|
|
"migration:revert:all": "while npm run migration:revert; do :; done",
|
|
"migration:show": "npm run typeorm migration:show"
|
|
},
|
|
"dependencies": {
|
|
"@aws-sdk/client-s3": "^3.456.0",
|
|
"@aws-sdk/s3-request-presigner": "^3.456.0",
|
|
"@fastify/multipart": "^8.0.0",
|
|
"@hocuspocus/server": "^2.8.1",
|
|
"@hocuspocus/transformer": "^2.8.1",
|
|
"@nestjs/common": "^10.2.10",
|
|
"@nestjs/config": "^3.1.1",
|
|
"@nestjs/core": "^10.2.10",
|
|
"@nestjs/jwt": "^10.2.0",
|
|
"@nestjs/mapped-types": "^2.0.4",
|
|
"@nestjs/platform-fastify": "^10.2.10",
|
|
"@nestjs/platform-socket.io": "^10.2.10",
|
|
"@nestjs/serve-static": "^4.0.0",
|
|
"@nestjs/typeorm": "^10.0.1",
|
|
"@nestjs/websockets": "^10.2.10",
|
|
"bcrypt": "^5.1.1",
|
|
"bytes": "^3.1.2",
|
|
"class-transformer": "^0.5.1",
|
|
"class-validator": "^0.14.0",
|
|
"fastify": "^4.24.3",
|
|
"fs-extra": "^11.1.1",
|
|
"mime-types": "^2.1.35",
|
|
"pg": "^8.11.3",
|
|
"reflect-metadata": "^0.1.13",
|
|
"rxjs": "^7.8.1",
|
|
"sanitize-filename-ts": "^1.0.2",
|
|
"slugify": "^1.6.6",
|
|
"socket.io": "^4.7.2",
|
|
"typeorm": "^0.3.17",
|
|
"uuid": "^9.0.1",
|
|
"ws": "^8.14.2"
|
|
},
|
|
"devDependencies": {
|
|
"@nestjs/cli": "^10.2.1",
|
|
"@nestjs/schematics": "^10.0.3",
|
|
"@nestjs/testing": "^10.2.10",
|
|
"@types/bcrypt": "^5.0.2",
|
|
"@types/bytes": "^3.1.4",
|
|
"@types/debounce": "^1.2.4",
|
|
"@types/fs-extra": "^11.0.4",
|
|
"@types/jest": "^29.5.10",
|
|
"@types/mime-types": "^2.1.4",
|
|
"@types/node": "^20.10.0",
|
|
"@types/supertest": "^2.0.16",
|
|
"@types/uuid": "^9.0.7",
|
|
"@types/ws": "^8.5.10",
|
|
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
"@typescript-eslint/parser": "^5.62.0",
|
|
"eslint": "^8.54.0",
|
|
"eslint-config-prettier": "^8.10.0",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"jest": "^29.7.0",
|
|
"prettier": "^2.8.8",
|
|
"source-map-support": "^0.5.21",
|
|
"supertest": "^6.3.3",
|
|
"ts-jest": "^29.1.1",
|
|
"ts-loader": "^9.5.1",
|
|
"ts-node": "^10.9.1",
|
|
"tsconfig-paths": "^4.2.0",
|
|
"typescript": "^5.3.2"
|
|
},
|
|
"jest": {
|
|
"moduleFileExtensions": [
|
|
"js",
|
|
"json",
|
|
"ts"
|
|
],
|
|
"rootDir": "src",
|
|
"testRegex": ".*\\.spec\\.ts$",
|
|
"transform": {
|
|
"^.+\\.(t|j)s$": "ts-jest"
|
|
},
|
|
"collectCoverageFrom": [
|
|
"**/*.(t|j)s"
|
|
],
|
|
"coverageDirectory": "../coverage",
|
|
"testEnvironment": "node"
|
|
}
|
|
}
|