game-server/package.json

69 lines
1.7 KiB
JSON
Raw Permalink Normal View History

{
"name": "@habbilfr/server",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"prebuild": "rm -rf dist",
"build": "nest build",
"start": "nest start",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:e2e": "jest --config ./test/jest-e2e.json",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand"
},
"dependencies": {
"@nestjs/common": "^10.1.0",
"@nestjs/core": "^10.1.0",
"@nestjs/platform-socket.io": "10.1.0",
"@nestjs/platform-express": "^9.0.0",
"@nestjs/websockets": "10.1.0",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"rxjs": "^7.2.0"
},
"devDependencies": {
"@nestjs/cli": "^10.1.10",
"@nestjs/schematics": "^10.0.1",
"@nestjs/testing": "^10.1.0",
"@types/node": "^20.4.2",
"@types/supertest": "^2.0.12",
"@types/jest": "^29.5.2",
"@types/express": "^4.17.13",
"jest": "^29.5.0",
"supertest": "^6.3.3",
"source-map-support": "^0.5.20",
"ts-jest": "^29.1.1",
"ts-loader": "^9.4.4",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.1.6"
},
"peerDependencies": {
"socket.io": "4.7.1"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
},
"files": [
"dist"
]
}