UNPKG

@shelf/es-painless-fields

Version:

Helpers for bulk update Elasticsearch documents by query using Painless scripts

82 lines (81 loc) 2 kB
{ "name": "@shelf/es-painless-fields", "version": "4.1.0", "description": "Helpers for bulk update Elasticsearch documents by query using Painless scripts", "keywords": [ "bulk update", "elasticsearch", "painless", "replace fields", "scripts", "update by query" ], "repository": "shelfio/es-painless-fields", "license": "MIT", "author": { "name": "Vlad Holubiev", "email": "vlad@shelf.io", "url": "shelf.io" }, "sideEffects": false, "type": "module", "exports": "./lib/index.js", "module": "./lib/index.js", "types": "lib/index.d.ts", "files": [ "lib" ], "scripts": { "build": "rm -rf lib/ && tsc", "coverage": "yarn test --coverage", "lint": "yarn lint:ci --fix", "lint:ci": "eslint . --quiet", "test": "TZ=UTC jest src -c jest.config.mjs", "test:es": "DEBUG=elasticsearch-local TZ=UTC jest src -c jest.config.es.mjs --forceExit", "type-check": "tsc --noEmit", "type-check:watch": "npm run type-check -- --watch" }, "lint-staged": { "*.{html,json,md,yml}": [ "prettier --write" ], "*.{ts,js}": [ "eslint --fix" ] }, "prettier": "@shelf/prettier-config", "resolutions": { "strip-ansi": "6.0.1", "wrap-ansi": "7.0.0", "string-width": "4.2.3" }, "dependencies": { "flat": "6.0.1" }, "devDependencies": { "@elastic/elasticsearch": "8.17.0", "@shelf/eslint-config": "4.4.0", "@shelf/jest-elasticsearch": "5.2.0", "@shelf/prettier-config": "1.0.0", "@shelf/tsconfig": "^0.1.0", "@swc/core": "1.10.7", "@swc/jest": "0.2.37", "@types/flat": "5.0.5", "@types/jest": "29.5.14", "@types/node": "20.17.12", "eslint": "9.18.0", "husky": "9.1.7", "jest": "29.7.0", "lint-staged": "15.3.0", "prettier": "3.4.2", "ts-jest-resolver": "2.0.1", "tsx": "4.19.2", "typescript": "5.7.3" }, "engines": { "node": ">=20" }, "publishConfig": { "access": "public" } }