{
    "name": "@nmshd/transport",
    "description": "The transport library handles Backbone communication and content encryption.",
    "homepage": "https://enmeshed.eu",
    "repository": {
        "type": "git",
        "url": "git+https://github.com/nmshd/runtime.git",
        "directory": "packages/transport"
    },
    "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:ci:lokijs && npm run test:ci:mongodb",
        "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",
        "test:mongodb": "jest",
        "test:performance:kube:start": "kubectl apply -f ./test/performance/k8s.yaml",
        "test:performance:kube:stop": "kubectl delete -f ./test/performance/k8s.yaml"
    },
    "jest": {
        "collectCoverageFrom": [
            "./src/**"
        ],
        "coverageProvider": "v8",
        "coverageReporters": [
            "text-summary",
            "cobertura",
            "lcov"
        ],
        "maxWorkers": 5,
        "preset": "ts-jest",
        "setupFilesAfterEnv": [
            "./test/customMatchers.ts",
            "jest-expect-message"
        ],
        "testEnvironment": "node",
        "testPathIgnorePatterns": [
            "/test/performance/",
            "/node_modules/"
        ],
        "testTimeout": 60000,
        "transform": {
            "^.+\\.ts$": [
                "ts-jest",
                {
                    "tsconfig": "test/tsconfig.json"
                }
            ]
        }
    },
    "dependencies": {
        "@js-soft/docdb-access-abstractions": "1.3.1",
        "@js-soft/logging-abstractions": "^1.2.4",
        "@js-soft/ts-utils": "^2.3.6",
        "@nmshd/core-types": "7.3.0",
        "@nmshd/crypto": "2.1.3",
        "axios": "^1.15.0",
        "fast-json-patch": "^3.1.1",
        "form-data": "^4.0.5",
        "json-stringify-safe": "^5.0.1",
        "lodash": "^4.18.1",
        "luxon": "^3.7.2",
        "qs": "^6.15.1",
        "reflect-metadata": "^0.2.2",
        "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",
        "@js-soft/ts-serval": "2.0.17",
        "@types/json-stringify-safe": "^5.0.3",
        "@types/lodash": "^4.17.24",
        "@types/luxon": "^3.7.1",
        "@types/qs": "^6.15.0",
        "correlation-id": "^5.2.0",
        "expect": "^30.3.0",
        "testcontainers": "^11.14.0",
        "ts-mockito": "^2.6.1"
    },
    "publishConfig": {
        "access": "public",
        "provenance": true
    },
    "version": "7.3.0"
}
