{ "name": "meilisearch", "version": "0.45.0", "description": "The Meilisearch JS client for Node.js and the browser.", "keywords": [ "meilisearch", "search", "instant", "relevant", "client", "wrapper", "meili" ], "author": "cvermand ", "contributors": [ "qdequele " ], "license": "MIT", "main": "./dist/bundles/meilisearch.cjs", "module": "./dist/bundles/meilisearch.mjs", "typings": "./dist/types/index.d.ts", "types": "./dist/types/index.d.ts", "jsdelivr": "./dist/bundles/meilisearch.umd.js", "unpkg": "./dist/bundles/meilisearch.umd.js", "exports": { ".": { "types": "./dist/types/index.d.ts", "browser": "./dist/bundles/meilisearch.umd.js", "import": "./dist/bundles/meilisearch.mjs", "require": "./dist/bundles/meilisearch.cjs", "default": "./dist/bundles/meilisearch.umd.js" } }, "sideEffects": false, "repository": { "type": "git", "url": "https://github.com/meilisearch/meilisearch-js" }, "scripts": { "playground:javascript": "yarn --cwd ./playgrounds/javascript && yarn --cwd ./playgrounds/javascript start", "cleanup": "shx rm -rf dist/", "build": "yarn cleanup && rollup -c && rollup -c --environment NODE_ENV:production", "build:docs": "typedoc", "watch": "yarn cleanup && rollup -c --watch", "postbuild": "yarn size && yarn typingsheader", "test": "vitest run --coverage", "types:watch": "nodemon --config nodemon.json", "types": "yarn tsc", "test:env:browser": "yarn build && 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.js && node tests/env/node/getting_started.js", "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", "size": "node scripts/file-size ./dist/bundles/meilisearch.mjs ./dist/bundles/meilisearch.umd.min.js", "style": "yarn fmt && yarn lint", "style:fix": "yarn fmt:fix && yarn lint:fix", "fmt": "prettier -c ./**/*.{js,ts}", "fmt:fix": "prettier -w ./**/*.{js,ts}", "lint": "eslint .", "lint:fix": "eslint --fix .", "typingsheader": "node scripts/build.js" }, "files": [ "src", "dist", "CONTRIBUTING.md" ], "lint-staged": { "**/*.{ts,tsx,js,jsx,css,scss,sass,less,md}": [ "prettier --write", "git add" ], "src/**/*.{ts,tsx}": [ "yarn lint:fix", "git add" ] }, "devDependencies": { "@rollup/plugin-terser": "^0.4.4", "@babel/core": "^7.25.2", "@babel/preset-env": "^7.25.4", "@eslint/js": "^9.11.1", "@rollup/plugin-babel": "^6.0.4", "@rollup/plugin-commonjs": "28.0.0", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "15.3.0", "@types/eslint__js": "^8.42.3", "@vitest/coverage-v8": "2.0.5", "@vitest/eslint-plugin": "^1.1.4", "@types/node": "^20.16.10", "brotli-size": "^4.0.0", "eslint": "^9.11.1", "eslint-config-prettier": "^9.1.0", "eslint-plugin-tsdoc": "^0.3.0", "globals": "^15.9.0", "gzip-size": "^6.0.0", "kleur": "^4.1.5", "lint-staged": "15.2.10", "nodemon": "^3.1.7", "prettier": "^3.3.3", "prettier-plugin-jsdoc": "^1.3.0", "pretty-bytes": "^5.6.0", "rollup": "^4.22.5", "rollup-plugin-typescript2": "^0.36.0", "shx": "^0.3.2", "typedoc": "^0.26.7", "typescript": "^5.4.5", "typescript-eslint": "^8.8.0", "vitest": "2.0.5" }, "packageManager": "yarn@1.22.22" }