{
  "name": "meilisearch",
  "version": "0.54.0",
  "description": "The Meilisearch JS client for Node.js and the browser.",
  "keywords": [
    "meilisearch",
    "search",
    "instant",
    "relevant",
    "client",
    "wrapper",
    "meili"
  ],
  "author": "cvermand <charlotte@meilisearch.com>",
  "contributors": [
    "qdequele <quentin@meilisearch.com>"
  ],
  "license": "MIT",
  "type": "module",
  "types": "./dist/types/index.d.ts",
  "main": "./dist/umd/index.min.js",
  "exports": {
    ".": {
      "types": "./dist/types/index.d.ts",
      "import": "./dist/esm/index.js",
      "require": "./dist/cjs/index.cjs",
      "default": "./dist/umd/index.min.js"
    },
    "./token": {
      "types": "./dist/types/token.d.ts",
      "import": "./dist/esm/token.js",
      "require": "./dist/cjs/token.cjs",
      "default": "./dist/cjs/token.cjs"
    }
  },
  "sideEffects": false,
  "repository": {
    "type": "git",
    "url": "https://github.com/meilisearch/meilisearch-js.git"
  },
  "scripts": {
    "playground:javascript": "vite serve playgrounds/javascript --open",
    "build:docs": "typedoc",
    "build": "vite build && tsc -p tsconfig.build.json && vite --mode production-umd build",
    "postbuild": "node scripts/build.js",
    "test": "vitest run --coverage",
    "types": "tsc -p tsconfig.json --noEmit",
    "types:watch": "yarn types --watch",
    "test:env:browser": "yarn build && node scripts/copy-umd-file.js --to ./tests/env/express/public && yarn --cwd tests/env/express && yarn --cwd tests/env/express test",
    "test:watch": "vitest watch",
    "test:coverage": "yarn test",
    "test:ci": "yarn test",
    "test:env": "yarn build && yarn test:env:nodejs && yarn test:env:esm && yarn test:env:node-ts",
    "test:env:node-ts": "yarn --cwd tests/env/typescript-node start",
    "test:env:nodejs": "yarn build && node tests/env/node/index.cjs && node tests/env/node/getting_started.cjs",
    "test:env:esm": "yarn --cwd tests/env/esm && yarn --cwd tests/env/esm start",
    "test:env:nitro-app": "yarn build && yarn --cwd tests/env/nitro-app test",
    "fmt": "prettier -c ./**/*.{js,ts}",
    "fmt:fix": "prettier -w ./**/*.{js,ts}",
    "lint": "eslint",
    "lint:fix": "eslint --fix",
    "style": "yarn fmt && yarn lint",
    "style:fix": "yarn fmt:fix && yarn lint:fix",
    "prepare": "husky"
  },
  "files": [
    "src",
    "dist",
    "CONTRIBUTING.md"
  ],
  "devDependencies": {
    "@eslint/js": "^9.34.0",
    "@vitest/coverage-v8": "^3.1.1",
    "@types/node": "^24.6.1",
    "@typescript-eslint/utils": "^8.29.0",
    "@vitest/eslint-plugin": "^1.3.13",
    "eslint": "^9.34.0",
    "eslint-config-prettier": "^10.1.8",
    "eslint-plugin-tsdoc": "^0.4.0",
    "typescript": "^5.9.3",
    "vite": "^7.1.11",
    "globals": "^16.3.0",
    "husky": "^9.1.7",
    "lint-staged": "16.2.3",
    "prettier": "^3.6.2",
    "prettier-plugin-jsdoc": "^1.3.3",
    "typedoc": "^0.28.13",
    "typescript-eslint": "^8.45.0",
    "vitest": "^3.1.1"
  },
  "packageManager": "yarn@1.22.22"
}
