{
  "name": "highlight-words",
  "version": "2.0.0",
  "description": "Split a piece text into multiple chunks based on a search query, allowing you to highlight the matches.",
  "engines": {
    "node": ">= 20",
    "npm": ">= 9"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/tricinel/highlight-words.git"
  },
  "bugs": {
    "url": "https://github.com/tricinel/highlight-words/issues"
  },
  "homepage": "https://github.com/tricinel/highlight-words#readme",
  "author": "Bogdan Lazar",
  "license": "MIT",
  "keywords": [
    "string",
    "search",
    "highlight",
    "regex"
  ],
  "files": [
    "dist"
  ],
  "eslintIgnore": [
    "node_modules",
    "dist",
    "coverage"
  ],
  "type": "commonjs",
  "typings": "dist/highlight-words.d.ts",
  "main": "dist/highlight-words.js",
  "module": "dist/highlight-words.mjs",
  "exports": {
    ".": {
      "require": "./dist/highlight-words.js",
      "default": "./dist/highlight-words.mjs"
    }
  },
  "scripts": {
    "prepare": "lefthook install || true",
    "prebuild": "cross-env rimraf dist",
    "build": "rollup -c",
    "watch": "rollup -cw",
    "typecheck": "tsc --noEmit",
    "format": "biome format .",
    "format:write": "biome format --write .",
    "lint": "biome lint .",
    "test:unit": "vitest run",
    "test:unit:dev": "vitest",
    "validate": "npm-run-all typecheck lint format test:unit",
    "prepublishOnly": "npm-run-all validate format:write build"
  },
  "devDependencies": {
    "@biomejs/biome": "1.8.3",
    "cross-env": "^7.0.3",
    "esbuild": "^0.23.1",
    "lefthook": "^1.7.15",
    "npm-run-all": "^4.1.5",
    "rimraf": "^6.0.1",
    "rollup": "^4.21.2",
    "rollup-plugin-dts": "^6.1.1",
    "rollup-plugin-esbuild": "^6.1.1",
    "tsc-files": "^1.1.4",
    "typescript": "^5.5.4",
    "vite-tsconfig-paths": "^5.0.1",
    "vitest": "^2.0.5"
  }
}
