97 lines
2.7 KiB
JSON
97 lines
2.7 KiB
JSON
{
|
|
"name": "@freeblox/web-service",
|
|
"version": "0.0.1",
|
|
"description": "",
|
|
"author": "",
|
|
"private": true,
|
|
"license": "AGPL-3.0-or-later",
|
|
"scripts": {
|
|
"prebuild": "rimraf dist",
|
|
"build": "nest build",
|
|
"format": "prettier --write \"apps/**/*.ts\" \"libs/**/*.ts\"",
|
|
"start": "nest start",
|
|
"start:dev": "nest start --watch",
|
|
"start:debug": "nest start --debug --watch",
|
|
"start:prod": "node dist/apps/freeblox-web-service/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 ./apps/freeblox-web-service/test/jest-e2e.json"
|
|
},
|
|
"dependencies": {
|
|
"@nestjs/axios": "^3.0.0",
|
|
"@nestjs/common": "^10.0.3",
|
|
"@nestjs/config": "^3.0.0",
|
|
"@nestjs/core": "^10.0.3",
|
|
"@nestjs/microservices": "^10.0.3",
|
|
"@nestjs/platform-express": "^10.0.3",
|
|
"@nestjs/swagger": "^7.0.11",
|
|
"@nestjs/typeorm": "^10.0.0",
|
|
"axios": "^1.4.0",
|
|
"bcrypt": "^5.1.0",
|
|
"class-transformer": "^0.5.1",
|
|
"class-validator": "^0.14.0",
|
|
"jose": "^4.14.4",
|
|
"jsonwebtoken": "^9.0.0",
|
|
"knex": "^2.4.2",
|
|
"nats": "^2.15.1",
|
|
"otplib": "^12.0.1",
|
|
"pg": "^8.11.1",
|
|
"reflect-metadata": "^0.1.13",
|
|
"rimraf": "^5.0.1",
|
|
"rxjs": "^7.8.1",
|
|
"typeorm": "^0.3.17",
|
|
"uuid": "^9.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@nestjs/cli": "^10.0.5",
|
|
"@nestjs/schematics": "^10.0.1",
|
|
"@nestjs/testing": "^10.0.3",
|
|
"@types/bcrypt": "^5.0.0",
|
|
"@types/express": "^4.17.17",
|
|
"@types/jest": "29.5.2",
|
|
"@types/node": "^20.3.2",
|
|
"@types/supertest": "^2.0.12",
|
|
"@typescript-eslint/eslint-plugin": "^5.60.1",
|
|
"@typescript-eslint/parser": "^5.60.1",
|
|
"eslint": "^8.43.0",
|
|
"eslint-config-prettier": "^8.8.0",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"glob": "^10.3.1",
|
|
"jest": "29.5.0",
|
|
"prettier": "^2.8.8",
|
|
"source-map-support": "^0.5.21",
|
|
"supertest": "^6.3.3",
|
|
"ts-jest": "29.1.0",
|
|
"ts-loader": "^9.4.4",
|
|
"ts-node": "^10.9.1",
|
|
"tsconfig-paths": "4.2.0",
|
|
"typescript": "^5.1.5"
|
|
},
|
|
"jest": {
|
|
"moduleFileExtensions": [
|
|
"js",
|
|
"json",
|
|
"ts"
|
|
],
|
|
"rootDir": ".",
|
|
"testRegex": ".*\\.spec\\.ts$",
|
|
"transform": {
|
|
"^.+\\.(t|j)s$": "ts-jest"
|
|
},
|
|
"collectCoverageFrom": [
|
|
"**/*.(t|j)s"
|
|
],
|
|
"coverageDirectory": "./coverage",
|
|
"testEnvironment": "node",
|
|
"roots": [
|
|
"<rootDir>/apps/",
|
|
"<rootDir>/libs/"
|
|
],
|
|
"moduleNameMapper": {
|
|
"^@freeblox/shared(|/.*)$": "<rootDir>/libs/shared/src/$1"
|
|
}
|
|
}
|
|
} |