think/packages/server/package.json

108 lines
3.2 KiB
JSON
Raw Normal View History

2022-02-20 19:51:55 +08:00
{
"name": "@think/server",
"version": "0.0.1",
"private": true,
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"dev": "nest start --watch",
"debug": "nest start --debug --watch",
"start": "cross-env NODE_ENV=production node dist/main",
2022-04-01 22:16:34 +08:00
"pm2": "pm2 start npm --name @think/server -- start",
2022-02-20 19:51:55 +08:00
"lint": "tslint -p tsconfig.json -c tslint.json",
"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": {
"@hocuspocus/server": "^1.0.0-alpha.91",
"@hocuspocus/transformer": "^1.0.0-alpha.18",
"@nestjs/common": "^8.0.0",
"@nestjs/config": "^1.1.6",
"@nestjs/core": "^8.0.0",
"@nestjs/jwt": "^8.0.0",
"@nestjs/passport": "^8.1.0",
"@nestjs/platform-express": "^8.0.0",
2022-05-21 14:39:56 +08:00
"@nestjs/schedule": "^2.0.1",
2022-02-20 19:51:55 +08:00
"@nestjs/typeorm": "^8.0.3",
"@think/config": "workspace:^1.0.0",
2022-03-11 13:57:55 +08:00
"@think/constants": "workspace:^1.0.0",
"@think/domains": "workspace:^1.0.0",
2022-02-20 19:51:55 +08:00
"ali-oss": "^6.16.0",
"bcryptjs": "^2.4.3",
"class-transformer": "^0.5.1",
"class-validator": "^0.13.2",
2022-05-22 10:32:20 +08:00
"compression": "^1.7.4",
2022-05-22 23:40:22 +08:00
"cookie-parser": "^1.4.6",
2022-02-20 19:51:55 +08:00
"date-fns": "^2.28.0",
"express": "^4.17.2",
"express-rate-limit": "^6.2.0",
2022-05-21 14:39:56 +08:00
"fs-extra": "^10.0.0",
2022-02-20 19:51:55 +08:00
"helmet": "^5.0.2",
2022-03-29 22:23:41 +08:00
"ioredis": "^5.0.1",
2022-02-20 19:51:55 +08:00
"lodash": "^4.17.21",
"mysql2": "^2.3.3",
2022-05-21 14:39:56 +08:00
"nestjs-pino": "^2.5.2",
2022-02-20 19:51:55 +08:00
"nuid": "^1.1.6",
"passport": "^0.5.2",
"passport-jwt": "^4.0.0",
2022-05-21 14:39:56 +08:00
"pino": "^7.11.0",
"pino-http": "^7.0.0",
"pino-pretty": "^7.6.1",
2022-02-20 19:51:55 +08:00
"prosemirror-model": "^1.16.1",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"rxjs": "^7.2.0",
"typeorm": "^0.2.41",
"ua-parser-js": "^1.0.2",
"y-prosemirror": "^1.0.14",
"yjs": "^13.5.24"
},
"devDependencies": {
"@nestjs/cli": "^8.0.0",
"@nestjs/schematics": "^8.0.0",
"@nestjs/testing": "^8.0.0",
2022-05-22 23:40:22 +08:00
"@types/cookie-parser": "^1.4.3",
2022-05-21 14:39:56 +08:00
"@types/cron": "^2.0.0",
2022-02-20 19:51:55 +08:00
"@types/express": "^4.17.13",
"@types/jest": "27.0.2",
"@types/node": "^16.0.0",
"@types/supertest": "^2.0.11",
2022-05-16 17:23:59 +08:00
"@typescript-eslint/eslint-plugin": "^5.21.0",
"@typescript-eslint/parser": "^5.21.0",
"eslint": "^8.14.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
2022-02-20 19:51:55 +08:00
"jest": "^27.2.5",
"prettier": "^2.3.2",
"source-map-support": "^0.5.20",
"supertest": "^6.1.3",
"ts-jest": "^27.0.3",
"ts-loader": "^9.2.3",
"ts-node": "^10.0.0",
"tsconfig-paths": "^3.10.1",
"typescript": "^4.3.5"
},
"jest": {
2022-03-12 11:27:56 +08:00
"moduleFileExtensions": [
"js",
"json",
"ts"
],
2022-02-20 19:51:55 +08:00
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
2022-03-12 11:27:56 +08:00
"collectCoverageFrom": [
"**/*.(t|j)s"
],
2022-02-20 19:51:55 +08:00
"coverageDirectory": "../coverage",
"testEnvironment": "node"
}
2022-03-12 11:27:56 +08:00
}