{
    "name": "@dhealthdapps/backend",
    "version": "0.6.1",
    "homepage": "https://github.com/dhealthproject/dapps-framework/tree/main/runtime/backend#readme",
    "description": "dHealth ELEVATE API",
    "author": "dHealth Network <devs@dhealth.foundation>",
    "license": "LGPL-3.0-only",
    "bugs": {
        "url": "https://github.com/dhealthproject/dapps-framework/issues"
    },
    "bin": {
        "dapp-cli": "dist/src/cli/main",
        "dapp": "dist/src/main"
    },
    "files": [
        "dist/*",
        "README.md",
        "CHANGELOG.md",
        "CONTRIBUTING.md",
        "LICENSE",
        "package.json"
    ],
    "publishConfig": {
        "access": "public"
    },
    "scripts": {
        "prebuild": "rimraf dist",
        "build": "nest build --path tsconfig.json",
        "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
        "serve": "npm run start:dev",
        "start": "nest start",
        "start:dev": "nest start --watch",
        "start:debug": "nest start --debug --watch",
        "start:development": "NODE_ENV=development node dist/src/main",
        "start:staging": "NODE_ENV=staging node dist/src/main",
        "start:production": "NODE_ENV=production node dist/src/main",
        "lint": "eslint \"{src,apps,libs,test}/**/*.ts\"",
        "lint:fix": "npm run lint -- --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",
        "db:migration:create": "./node_modules/.bin/ts-node config/migrations.ts new",
        "db:migration:show": "./node_modules/.bin/ts-node config/migrations.ts status",
        "db:migration:up": "./node_modules/.bin/ts-node config/migrations.ts up",
        "db:migration:down": "./node_modules/.bin/ts-node config/migrations.ts down -l",
        "db:migration:reset": "./node_modules/.bin/ts-node config/migrations.ts down -a",
        "docs": "npx typedoc --out \"docs/`npm run version --silent`\" src/classes.ts"
    },
    "dependencies": {
        "@dhealth/contracts": "next",
        "@dhealth/sdk": "^1.0.3-alpha-202201201200",
        "@nestjs-modules/mailer": "^1.8.1",
        "@nestjs/common": "^8.0.0",
        "@nestjs/config": "^2.0.1",
        "@nestjs/core": "^8.0.0",
        "@nestjs/event-emitter": "^1.3.1",
        "@nestjs/jwt": "^8.0.1",
        "@nestjs/mongoose": "^9.1.0",
        "@nestjs/passport": "^8.2.2",
        "@nestjs/platform-express": "^8.0.0",
        "@nestjs/platform-ws": "^8.0.0",
        "@nestjs/schedule": "^2.0.1",
        "@nestjs/swagger": "^5.2.1",
        "@nestjs/websockets": "^8.0.0",
        "axios": "^0.27.2",
        "cookie-parser": "^1.4.6",
        "cron": "^2.0.0",
        "dotenv": "^16.0.1",
        "helmet": "^5.1.0",
        "moment": "^2.29.4",
        "mongo-migrate-ts": "^1.1.1",
        "mongodb": "^4.11.0",
        "mongoose": "^6.3.4",
        "nest-winston": "^1.8.0",
        "nodemailer": "^6.8.0",
        "passport": "^0.6.0",
        "passport-jwt": "^4.0.0",
        "reflect-metadata": "^0.1.13",
        "rimraf": "^3.0.2",
        "rxjs": "^7.2.0",
        "swagger-ui-express": "^4.4.0",
        "utf8": "^3.0.0",
        "winston": "^3.8.2",
        "winston-daily-rotate-file": "^4.7.1",
        "winston-mongodb": "^5.1.0"
    },
    "devDependencies": {
        "@nestjs/cli": "^8.0.0",
        "@nestjs/schematics": "^8.0.0",
        "@nestjs/testing": "^8.0.0",
        "@types/cookie": "^0.5.1",
        "@types/cookie-parser": "^1.4.3",
        "@types/cron": "^2.0.0",
        "@types/express": "^4.17.13",
        "@types/jest": "^27.5.2",
        "@types/node": "^16.0.0",
        "@types/nodemailer": "^6.4.6",
        "@types/passport-jwt": "^3.0.6",
        "@types/supertest": "^2.0.11",
        "@typescript-eslint/eslint-plugin": "^5.0.0",
        "@typescript-eslint/parser": "^5.0.0",
        "cookie": "^0.5.0",
        "eslint": "^8.0.1",
        "eslint-config-prettier": "^8.3.0",
        "eslint-plugin-prettier": "^4.0.0",
        "jest": "^27.2.5",
        "js-sha3": "^0.8.0",
        "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",
        "typedoc": "^0.22.15",
        "typescript": "^4.3.5"
    },
    "jest": {
        "rootDir": "./",
        "roots": [
            "<rootDir>/tests"
        ],
        "moduleFileExtensions": [
            "ts",
            "js",
            "json",
            "d.ts"
        ],
        "testRegex": "tests/.*\\.spec\\.ts$",
        "transform": {
            "^.+\\.(t|j)s$": "ts-jest"
        },
        "setupFiles": [
            "<rootDir>/tests/mocks/global.ts"
        ],
        "collectCoverageFrom": [
            "**/*.(t|j)s"
        ],
        "coverageDirectory": "../coverage",
        "testEnvironment": "node",
        "coveragePathIgnorePatterns": [
            "node_modules",
            "test-config",
            "interfaces",
            "jestGlobalMocks.ts",
            "index.ts",
            "config",
            "tests/e2e",
            "classes.ts",
            "modules"
        ]
    },
    "contributors": [
        {
            "name": "Grégory Saive",
            "email": "greg@dhealth.foundation"
        },
        {
            "name": "Son Nguyen",
            "email": "son@dhealth.foundation"
        },
        {
            "name": "Komal Narwani",
            "email": "kn@dhealth.foundation"
        },
        {
            "name": "Paul Rieger",
            "email": "paul@dhealth.foundation"
        },
        {
            "name": "Vitaliy Kravchenko",
            "email": "vitaliy@dhealth.foundation"
        },
        {
            "name": "Amanuel Tadesse",
            "email": "amanuel@dhealth.foundation"
        },
        {
            "name": "Yisacc Aberham",
            "email": "yisacc@dhealth.foundation"
        }
    ]
}
