{
  "name": "micromongo",
  "version": "1.0.0",
  "description": "Mongodb-like queries over standard arrays of objects",
  "main": "./index.js",
  "module": "./dist/index.mjs",
  "browser": "./dist/index.global.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "browser": "./dist/index.global.js",
      "import": "./dist/index.mjs",
      "require": "./index.js"
    },
    "./core": {
      "types": "./dist/core.d.ts",
      "import": "./dist/core.mjs",
      "require": "./dist/core.js"
    },
    "./mock": {
      "types": "./dist/mock/index.d.ts",
      "import": "./dist/mock/index.mjs",
      "require": "./dist/mock/index.js"
    },
    "./package.json": "./package.json"
  },
  "bin": {
    "micromongo": "./cli.js"
  },
  "files": [
    "dist",
    "!dist/**/*.map",
    "index.js",
    "cli.js",
    "README.md"
  ],
  "sideEffects": [
    "./dist/index.js",
    "./dist/index.mjs",
    "./dist/index.global.js",
    "./dist/crud/match/index.js",
    "./dist/crud/match/operators/*.js"
  ],
  "peerDependencies": {
    "bson": "*"
  },
  "peerDependenciesMeta": {
    "bson": {
      "optional": true
    }
  },
  "engines": {
    "node": ">=12"
  },
  "nyc": {
    "exclude": [
      "test/**",
      "meta/**"
    ]
  },
  "scripts": {
    "clean": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\"",
    "build": "tsc -p tsconfig.json",
    "build:bundles": "tsup",
    "build:all": "npm run build && npm run build:bundles",
    "rebuild": "npm run clean && npm run build:all",
    "typecheck": "tsc -p tsconfig.json --noEmit",
    "test-types": "tsd",
    "gen-mongo-operators": "node scripts/gen-mongo-operators.js",
    "gen-mongo-operations": "node scripts/gen-mongo-operations.js",
    "gen-compat-tables": "node scripts/gen-compat-tables.js",
    "gen-docs-examples": "node scripts/gen-docs-examples.js",
    "build:docs": "npm run build:bundles && node scripts/build-docs-site.js && node scripts/gen-docs-examples.js",
    "gen-docs": "npm run gen-compat-tables && npm run build:docs",
    "prepare": "npm run build:all",
    "prepublishOnly": "npm run rebuild",
    "pre_test": "npm run build",
    "_npm-audit": "npm audit || echo '\n*** Please check warnings above ***\n' && npm audit --production --audit-level high && echo '\n*** npm audit reported no high-level vulnerabilities for production configuration ***\n' ",
    "_deps-check": "npm-check-updates --error-level 2",
    "_deps-update": "echo '* Updating packages versions... '; npm-check-updates -u --upgradeAll --error-level 1 && npm install",
    "_check-changes": "echo '* Checking if git directory is clean... '; bash -c '[[ -z $(git status -uno --porcelain) ]]'",
    "update-deps": "npm run _check-changes && npm run _deps-update && npm test && git commit -am 'updated deps'",
    "lint": "./node_modules/.bin/eslint -f unix --max-warnings 560 .",
    "pretest": "npm run typecheck && npm run lint && npm run _npm-audit && npm run _deps-check",
    "test:bundles": "npm run build:bundles && node bundle-tests/esm-smoke.mjs && node bundle-tests/browser-iife-smoke.cjs && node bundle-tests/dual-package.mjs && node bundle-tests/treeshake-guard.mjs && node bundle-tests/core-smoke.mjs",
    "test:mongo": "npm run build && node test-mongo/differential.mjs",
    "_test": "nyc ./node_modules/mocha/bin/_mocha -- --recursive -R spec ./test/ && npm run test-types && npm run test:bundles",
    "_test-json": "node ./node_modules/mocha/bin/_mocha --recursive --reporter json --reporter-option output=coverage/mocha-results.json ./test/",
    "gen-badges": "node scripts/gen-badges.js",
    "_test-report": "nyc report --reporter=html --reporter=lcov --reporter=json-summary && npm run gen-badges",
    "test": "npm run _test && npm run _test-json && npm run _test-report",
    "__test": "echo \"Warning: no test specified\" && exit 0",
    "___test": "echo \"Error: no test specified\" && exit 1",
    "_commit": "git commit -am \"commit by 'npm run commit'\"",
    "_push": "git push --follow-tags",
    "commit-and-push": "npm run _commit && npm test && npm run _push",
    "_publish": "npm publish --access public",
    "_patch-release": "npm version patch && npm run _publish",
    "_minor-release": "npm version minor && npm run _publish",
    "_major-release": "npm version major && npm run _publish",
    "patch-release": "npm test && npm run _patch-release && npm run _push",
    "minor-release": "npm test && npm run _minor-release && npm run _push",
    "__major-release": "npm test && npm run _major-release && npm run _push"
  },
  "keywords": [
    "mongo,mongodb,query,find,findone,array,arrays,objects,collection,collections,find,findOne"
  ],
  "author": "Alexander <alykoshin@gmail.com>",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/alykoshin/micromongo.git"
  },
  "bugs": {
    "url": "https://github.com/alykoshin/micromongo/issues"
  },
  "homepage": "https://github.com/alykoshin/micromongo",
  "dependencies": {
    "lodash": "^4.18.1",
    "minimist": "^1.2.8"
  },
  "devDependencies": {
    "@types/node": "^26.1.0",
    "@typescript-eslint/eslint-plugin": "^8.62.1",
    "@typescript-eslint/parser": "^8.62.1",
    "bson": "^7.3.1",
    "chai": "^4.5.0",
    "chai-things": "^0.2.0",
    "eslint": "^10.6.0",
    "eslint-formatter-unix": "^9.0.1",
    "mocha": "^11.7.6",
    "mongodb": "^7.4.0",
    "nyc": "^18.0.0",
    "require-dir-all": "^0.4.15",
    "sinon": "^22.0.0",
    "tsd": "^0.33.0",
    "tsup": "^8.5.1",
    "typescript": "^6.0.3",
    "typescript-eslint": "^8.62.1"
  }
}
