{
  "name": "api-basis",
  "version": "1.0.0",
  "description": "API BASIS — Plataforma de APIs de datos financieros",
  "private": true,
  "license": "UNLICENSED",
  "scripts": {
    "build": "nest build",
    "dev": "nest start --watch",
    "dev:debug": "nest start --debug --watch",
    "start": "nest start",
    "start:prod": "node dist/main",
    "lint": "biome lint ./src ./test",
    "format": "biome format --write ./src ./test",
    "check": "biome check ./src ./test",
    "fix": "biome check --write ./src ./test",
    "typecheck": "tsc --noEmit",
    "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 migration:generate -d dist/infrastructure/database/data-source.js",
    "migration:run": "typeorm migration:run -d dist/infrastructure/database/data-source.js",
    "migration:revert": "typeorm migration:revert -d dist/infrastructure/database/data-source.js",
    "seed": "ts-node src/apis/dolar/database/seeds/run-seeds.ts",
    "seed:prod": "node dist/apis/dolar/database/seeds/run-seeds.js",
    "sync:once": "ts-node src/apis/dolar/scheduler/run-sync.ts",
    "sync:once:prod": "node dist/apis/dolar/scheduler/run-sync.js",
    "bootstrap:prod": "npm run build && npm run migration:run && npm run seed:prod",
    "bootstrap:runtime:prod": "npm run migration:run && npm run seed:prod",
    "setup:shared": "bash install.sh",
    "install:shared": "bash scripts/install-shared-hosting.sh",
    "install:shared:clean": "RESET_NODE_MODULES=1 bash scripts/install-shared-hosting.sh",
    "docker:build": "docker build -t api-basis .",
    "docker:up": "docker-compose up -d",
    "docker:down": "docker-compose down",
    "docker:logs": "docker-compose logs -f"
  },
  "dependencies": {
    "@nestjs/common": "^11.0.1",
    "@nestjs/config": "^4.0.2",
    "@nestjs/core": "^11.0.1",
    "@nestjs/platform-express": "^11.0.1",
    "@nestjs/schedule": "^6.1.3",
    "@nestjs/swagger": "^11.4.4",
    "@nestjs/terminus": "^11.1.1",
    "@nestjs/throttler": "^6.5.0",
    "@nestjs/typeorm": "^11.0.2",
    "axios": "^1.13.2",
    "better-sqlite3": "^11.10.0",
    "cheerio": "^1.1.2",
    "class-transformer": "^0.5.1",
    "class-validator": "^0.14.3",
    "compression": "^1.8.1",
    "dotenv": "^17.2.3",
    "mysql2": "^3.15.3",
    "nest-winston": "^1.10.2",
    "reflect-metadata": "^0.2.2",
    "rxjs": "^7.8.1",
    "swagger-ui-express": "^5.0.1",
    "typeorm": "^0.3.28",
    "winston": "^3.19.0",
    "winston-daily-rotate-file": "^5.0.0"
  },
  "devDependencies": {
    "@biomejs/biome": "2.3.11",
    "@nestjs/cli": "^11.0.0",
    "@nestjs/schematics": "^11.0.0",
    "@nestjs/testing": "^11.0.0",
    "@types/better-sqlite3": "^7.6.12",
    "@types/compression": "^1.8.1",
    "@types/express": "^5.0.0",
    "@types/jest": "^29.5.14",
    "@types/node": "^25.0.3",
    "@types/supertest": "^6.0.2",
    "jest": "^29.7.0",
    "source-map-support": "^0.5.21",
    "supertest": "^7.0.0",
    "ts-jest": "^29.4.11",
    "ts-loader": "^9.5.2",
    "ts-node": "^10.9.2",
    "tsconfig-paths": "^4.2.0",
    "typescript": "^5.7.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"
  }
}

