{
  "name": "@getanthill/datastore",
  "description": "Event-Sourced Datastore",
  "version": "0.95.6",
  "main": "dist/sdk/index.js",
  "bin": {
    "datastore": "scripts/cli.js",
    "ds": "scripts/cli.js"
  },
  "engines": {
    "node": ">=16"
  },
  "keywords": [
    "anthill",
    "event-source",
    "data",
    "open-api"
  ],
  "author": "Gilles Rasigade",
  "license": "MIT",
  "scripts": {
    "build": "npm run build:clean && npm run build:api && npm run build:sdk",
    "build:clean": "rm -rf dist",
    "build:api": "tsc --build tsconfig.json",
    "build:sdk": "tsc --build tsconfig.sdk.json",
    "build:tsc:clean": "find ./src \\( -iname \\*.js -o -iname \\*.js.map -o -iname \\*.d.ts \\) -type f -delete",
    "dev": "ADMIN_ACCESS_TOKENS=token nodemon --delay 1500ms --signal SIGTERM --watch \"src/**\" --ext \"ts,json\" --ignore \"src/**/*.test.ts\" --exec \"ts-node src/server.ts\"",
    "dev:prettier:write": "prettier --write --ignore-unknown 'scripts/**/*' 'src/**/*'",
    "prepare": "husky install",
    "start": "node --no-warnings dist/server",
    "test": "npm run test:prettier && npm run test:coverage --silent ./src ./test/integration",
    "test:band": "npm run test:prettier && npm run test:coverage --silent --runInBand ./src ./test/integration",
    "test:ci:gitlab": "./scripts/gitlab-test.sh",
    "test:bench:jest": "node --inspect=9222 --expose-gc ./node_modules/.bin/jest --runInBand ./test/bench",
    "test:jest": "node --no-warnings ./node_modules/.bin/jest --runInBand",
    "test:bench": "node --no-warnings ./scripts/bench.js",
    "test:bench:__": "node --inspect=9222 --expose-gc --trace-deopt ./scripts/bench.js",
    "test:coverage": "node --no-warnings ./node_modules/.bin/jest --coverage",
    "test:watch": "jest --watchAll --coverage --coverage-reporters=lcov",
    "test:watch:no-coverage": "jest --watchAll",
    "test:bench:watch": "node ./node_modules/.bin/jest --config=jest.bench.config.js --runInBand --watchAll",
    "test:bench:time:watch": "npm run test:bench:watch ./test/bench/time",
    "test:bench:memory:watch": "npm run test:bench:watch ./test/bench/memory",
    "test:prettier": "prettier -l --ignore-unknown 'scripts/**/*' -l 'src/**/*'"
  },
  "peerDependencies": {
    "@getanthill/telemetry": "1.12.1",
    "@shelf/jest-mongodb": "4.x"
  },
  "dependencies": {
    "@getanthill/api-validators": "1.3.1",
    "@getanthill/event-source": "0.16.0",
    "@getanthill/mongodb-connector": "1.6.1",
    "ajv": "8.17.1",
    "ajv-formats": "3.0.1",
    "ajv-keywords": "5.1.0",
    "amqplib": "0.10.9",
    "async-mqtt": "2.6.3",
    "axios": "^1.13.2",
    "body-parser": "^2.2.1",
    "commander": "14.0.2",
    "compression": "^1.8.1",
    "cookie-parser": "1.4.7",
    "escodegen": "2.1.0",
    "espree": "11.0.0",
    "eventsource": "4.1.0",
    "express": "^5.1.0",
    "fast-json-patch": "3.1.1",
    "helmet": "8.1.0",
    "http-status-codes": "^2.3.0",
    "js-yaml": "4.1.1",
    "lodash": "4.17.21",
    "mongodb": "7.0.0",
    "node-seal": "5.1.6",
    "pg": "8.16.3",
    "qs": "6.14.0",
    "shell-quote": "1.8.3"
  },
  "devDependencies": {
    "@airbnb/node-memwatch": "3.0.0",
    "@babel/core": "^7.28.5",
    "@babel/plugin-syntax-dynamic-import": "^7.8.3",
    "@babel/plugin-transform-runtime": "^7.28.5",
    "@babel/preset-env": "^7.28.5",
    "@babel/preset-typescript": "^7.28.5",
    "@babel/runtime": "^7.28.4",
    "@commitlint/cli": "20.1.0",
    "@commitlint/config-conventional": "20.0.0",
    "@semantic-release/changelog": "6.0.3",
    "@semantic-release/gitlab": "13.2.9",
    "@shelf/jest-mongodb": "6",
    "@types/amqplib": "0.10.8",
    "@types/compression": "^1.8.1",
    "@types/cookie-parser": "1.4.10",
    "@types/express": "5.0.5",
    "@types/jest": "^30.0.0",
    "@types/js-yaml": "4.0.9",
    "@types/json-schema": "7.0.15",
    "@types/lodash": "4.17.21",
    "@types/node": "^24.10.1",
    "@types/shell-quote": "1.7.5",
    "@types/ws": "8.18.1",
    "@typescript-eslint/eslint-plugin": "8.48.0",
    "@typescript-eslint/parser": "8.48.0",
    "babel-jest": "^30.2.0",
    "eslint": "9.39.1",
    "eslint-config-prettier": "10.1.8",
    "husky": "9.1.7",
    "jest": "^30.2.0",
    "json-schema": "0.4.0",
    "nodemon": "3.1.11",
    "openapi-types": "12.1.3",
    "prettier": "^3.6.2",
    "semantic-release": "25.0.2",
    "supertest": "7.1.4",
    "ts-node": "10.9.2",
    "tslib": "^2.8.1",
    "typescript": "5.9.3",
    "uuid": "13.0.0",
    "validate-branch-name": "1.3.2"
  },
  "repository": {
    "type": "git",
    "url": "git+ssh://git@gitlab.com/getanthill/datastore.git"
  },
  "bugs": {
    "url": "https://gitlab.com/getanthill/datastore/issues"
  },
  "homepage": "https://gitlab.com/getanthill/datastore#readme",
  "files": [
    "scripts",
    "dist",
    "src"
  ],
  "release": {
    "branches": [
      "master"
    ],
    "plugins": [
      "@semantic-release/commit-analyzer",
      "@semantic-release/release-notes-generator",
      [
        "@semantic-release/changelog",
        {
          "changelogFile": "CHANGELOG.md"
        }
      ],
      [
        "@semantic-release/npm",
        {
          "npmPublish": true
        }
      ],
      "@semantic-release/git",
      [
        "@semantic-release/gitlab",
        {
          "assets": [
            {
              "path": "CHANGELOG.md"
            },
            {
              "path": "package.json"
            }
          ]
        }
      ]
    ],
    "preset": "angular"
  }
}
