{
    "name": "@nmshd/consumption",
    "description": "The consumption library extends the transport library.",
    "homepage": "https://enmeshed.eu",
    "repository": {
        "type": "git",
        "url": "git+https://github.com/nmshd/runtime.git",
        "directory": "packages/consumption"
    },
    "license": "AGPL-3.0-or-later",
    "author": "j&s-soft AG",
    "main": "dist/index.js",
    "types": "dist/index.d.ts",
    "files": [
        "dist"
    ],
    "scripts": {
        "build": "npm run build:node",
        "build:ci": "npm run build:node && ../../.ci/writeBuildInformation.sh",
        "build:node": "tsc -p tsconfig.json && madge --circular dist",
        "build:notest": "npm run build:node",
        "cdep": "tsc && madge --circular dist",
        "lint:tsc": "tsc --noEmit && tsc -p test/tsconfig.json --noEmit",
        "test:ci": "npm run test",
        "test:ci:lokijs": "USE_LOKIJS=true jest -i --coverage",
        "test:ci:mongodb": "jest -i",
        "test:local:ferretdb": "npm run test:local:start:ferretdb && CONNECTION_STRING='mongodb://root:example@localhost:27022' jest",
        "test:local:lokijs": "USE_LOKIJS=true jest",
        "test:local:mongodb": "npm run test:local:start:mongodb && CONNECTION_STRING='mongodb://root:example@localhost:27021' jest",
        "test:local:start:ferretdb": "docker compose -f ../../.dev/compose.yml up -d runtime-ferret",
        "test:local:start:mongodb": "docker compose -f ../../.dev/compose.yml up -d runtime-mongo",
        "test:local:teardown": "docker compose -f ../../.dev/compose.yml rm -fsv"
    },
    "jest": {
        "collectCoverageFrom": [
            "./src/**"
        ],
        "coverageProvider": "v8",
        "coverageReporters": [
            "text-summary",
            "cobertura",
            "lcov"
        ],
        "maxWorkers": 1,
        "preset": "ts-jest",
        "setupFilesAfterEnv": [
            "./test/customMatchers.ts",
            "jest-expect-message"
        ],
        "testEnvironment": "node",
        "testTimeout": 60000,
        "transform": {
            "^.+\\.ts$": [
                "ts-jest",
                {
                    "tsconfig": "test/tsconfig.json"
                }
            ]
        }
    },
    "dependencies": {
        "@js-soft/docdb-querytranslator": "^1.1.7",
        "@js-soft/logging-abstractions": "^1.2.4",
        "@js-soft/ts-serval": "2.0.17",
        "@js-soft/ts-utils": "2.3.6",
        "@nmshd/content": "7.3.0",
        "@nmshd/core-types": "7.3.0",
        "@nmshd/iql": "^1.0.5",
        "@nmshd/transport": "7.3.0",
        "lodash": "^4.18.1",
        "ts-simple-nameof": "^1.3.3"
    },
    "devDependencies": {
        "@js-soft/docdb-access-loki": "1.4.1",
        "@js-soft/docdb-access-mongo": "1.4.1",
        "@js-soft/node-logger": "1.2.4",
        "@nmshd/crypto": "2.1.3",
        "@types/lodash": "^4.17.24",
        "ts-mockito": "^2.6.1"
    },
    "publishConfig": {
        "access": "public",
        "provenance": true
    },
    "version": "7.3.0"
}
