{
  "name": "@koresar/jsmql",
  "version": "0.1.8",
  "description": "Write MongoDB aggregation expressions in JavaScript. JS-subset language that compiles to MQL JSON.",
  "homepage": "https://jsmql.js.org",
  "repository": {
    "type": "git",
    "url": "git@github.com:flash-oss/jsmql.git"
  },
  "type": "module",
  "main": "dist/cjs/index.cjs",
  "module": "dist/index.js",
  "types": "dist/index.d.ts",
  "bin": {
    "jsmql": "dist/cjs/cli.cjs"
  },
  "exports": {
    ".": {
      "import": {
        "types": "./dist/index.d.ts",
        "default": "./dist/index.js"
      },
      "require": {
        "types": "./dist/cjs/index.d.cts",
        "default": "./dist/cjs/index.cjs"
      }
    },
    "./ops": {
      "import": {
        "types": "./dist/ops.d.ts",
        "default": "./dist/ops.js"
      },
      "require": {
        "types": "./dist/cjs/ops.d.cts",
        "default": "./dist/cjs/ops.cjs"
      }
    },
    "./mongoose": {
      "import": {
        "types": "./dist/mongoose.d.ts",
        "default": "./dist/mongoose.js"
      },
      "require": {
        "types": "./dist/cjs/mongoose.d.cts",
        "default": "./dist/cjs/mongoose.cjs"
      }
    }
  },
  "files": [
    "src/**.ts",
    "dist",
    "README.md"
  ],
  "engines": {
    "node": ">=14"
  },
  "scripts": {
    "build": "tsc && node scripts/build-cjs.mjs",
    "prebuild": "node vendor/fetch-mql-specs.mjs && node scripts/generate-ops.mjs && node scripts/sync-playground.mjs",
    "pretest": "node vendor/fetch-mql-specs.mjs && node scripts/generate-ops.mjs",
    "test": "vitest run",
    "test:watch": "vitest",
    "smoke:dist": "npm run build && vitest run test/smoke.test.ts",
    "format": "oxfmt .",
    "generate:ops": "node scripts/generate-ops.mjs",
    "sync:playground": "node scripts/sync-playground.mjs"
  },
  "devDependencies": {
    "@types/js-yaml": "^4.0.9",
    "@types/node": "^25.7.0",
    "esbuild": "^0.28.0",
    "js-yaml": "^4.1.0",
    "mongoose": "*",
    "oxfmt": "^0.47.0",
    "typescript": "^6.0.0",
    "vitest": "^4.0.0"
  },
  "keywords": [
    "database",
    "mongodb",
    "mongo",
    "query language",
    "MQL",
    "pipeline",
    "aggregation"
  ]
}
