Some checks failed
CI / Lint & Format Check (push) Failing after 1m11s
CI / Test Backend (push) Failing after 1m32s
CI / Build Backend (push) Has been skipped
Security Audit / npm audit (push) Failing after 5s
Security Audit / Dependency Review (push) Has been skipped
CI / Test Frontend (push) Failing after 29s
CI / Build Frontend (push) Has been skipped
101 lines
3.2 KiB
JSON
101 lines
3.2 KiB
JSON
{
|
|
"name": "@xpeditis/backend",
|
|
"version": "0.1.0",
|
|
"description": "Xpeditis Backend API - Maritime Freight Booking Platform",
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "nest build",
|
|
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
|
|
"start": "nest 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",
|
|
"migration:generate": "typeorm-ts-node-commonjs migration:generate -d src/infrastructure/persistence/typeorm/data-source.ts",
|
|
"migration:run": "typeorm-ts-node-commonjs migration:run -d src/infrastructure/persistence/typeorm/data-source.ts",
|
|
"migration:revert": "typeorm-ts-node-commonjs migration:revert -d src/infrastructure/persistence/typeorm/data-source.ts"
|
|
},
|
|
"dependencies": {
|
|
"@nestjs/common": "^10.2.10",
|
|
"@nestjs/config": "^3.1.1",
|
|
"@nestjs/core": "^10.2.10",
|
|
"@nestjs/jwt": "^10.2.0",
|
|
"@nestjs/passport": "^10.0.3",
|
|
"@nestjs/platform-express": "^10.2.10",
|
|
"@nestjs/swagger": "^7.1.16",
|
|
"@nestjs/typeorm": "^10.0.1",
|
|
"bcrypt": "^5.1.1",
|
|
"class-transformer": "^0.5.1",
|
|
"class-validator": "^0.14.0",
|
|
"helmet": "^7.1.0",
|
|
"ioredis": "^5.3.2",
|
|
"joi": "^17.11.0",
|
|
"nestjs-pino": "^4.4.1",
|
|
"opossum": "^8.1.3",
|
|
"passport": "^0.7.0",
|
|
"passport-google-oauth20": "^2.0.0",
|
|
"passport-jwt": "^4.0.1",
|
|
"passport-microsoft": "^1.0.0",
|
|
"pg": "^8.11.3",
|
|
"pino": "^8.17.1",
|
|
"pino-http": "^8.6.0",
|
|
"pino-pretty": "^10.3.0",
|
|
"reflect-metadata": "^0.1.14",
|
|
"rxjs": "^7.8.1",
|
|
"typeorm": "^0.3.17"
|
|
},
|
|
"devDependencies": {
|
|
"@nestjs/cli": "^10.2.1",
|
|
"@nestjs/schematics": "^10.0.3",
|
|
"@nestjs/testing": "^10.2.10",
|
|
"@types/bcrypt": "^5.0.2",
|
|
"@types/express": "^4.17.21",
|
|
"@types/jest": "^29.5.11",
|
|
"@types/node": "^20.10.5",
|
|
"@types/passport-google-oauth20": "^2.0.14",
|
|
"@types/passport-jwt": "^3.0.13",
|
|
"@types/supertest": "^6.0.2",
|
|
"@typescript-eslint/eslint-plugin": "^6.15.0",
|
|
"@typescript-eslint/parser": "^6.15.0",
|
|
"eslint": "^8.56.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-prettier": "^5.0.1",
|
|
"jest": "^29.7.0",
|
|
"prettier": "^3.1.1",
|
|
"source-map-support": "^0.5.21",
|
|
"supertest": "^6.3.3",
|
|
"ts-jest": "^29.1.1",
|
|
"ts-loader": "^9.5.1",
|
|
"ts-node": "^10.9.2",
|
|
"tsconfig-paths": "^4.2.0",
|
|
"typescript": "^5.3.3"
|
|
},
|
|
"jest": {
|
|
"moduleFileExtensions": [
|
|
"js",
|
|
"json",
|
|
"ts"
|
|
],
|
|
"rootDir": "src",
|
|
"testRegex": ".*\\.spec\\.ts$",
|
|
"transform": {
|
|
"^.+\\.(t|j)s$": "ts-jest"
|
|
},
|
|
"collectCoverageFrom": [
|
|
"**/*.(t|j)s"
|
|
],
|
|
"coverageDirectory": "../coverage",
|
|
"testEnvironment": "node",
|
|
"moduleNameMapper": {
|
|
"^@domain/(.*)$": "<rootDir>/domain/$1",
|
|
"^@application/(.*)$": "<rootDir>/application/$1",
|
|
"^@infrastructure/(.*)$": "<rootDir>/infrastructure/$1"
|
|
}
|
|
}
|
|
}
|