{
  "name": "textarea-selection-bounds",
  "version": "4.0.0",
  "description": "A handy package to get the bounds of the current text selection in a textarea element",
  "main": "./lib/index.js",
  "exports": {
    ".": {
      "import": "./lib/index.js"
    }
  },
  "type": "module",
  "files": [
    "lib"
  ],
  "license": "MIT",
  "private": false,
  "devDependencies": {
    "@awdware/eslint-config-base": "^2.1.1",
    "@awdware/eslint-config-nodejs": "^2.0.0",
    "@awdware/prettier-config": "^1.0.0",
    "@jest/globals": "^29.7.0",
    "@types/jest": "^29.5.14",
    "@types/node": "^22.13.11",
    "eslint": "^9.22.0",
    "eslint-plugin-import": "2.31.0",
    "eslint-plugin-unused-imports": "^4.1.4",
    "jest": "^29.7.0",
    "jest-junit": "^16.0.0",
    "legally": "^3.5.10",
    "prettier": "^3.5.3",
    "rimraf": "^6.0.1",
    "ts-jest": "^29.2.6",
    "ts-node": "^10.9.2",
    "typescript": "^5.8.2",
    "typescript-eslint": "8.27.0"
  },
  "prettier": "@awdware/prettier-config",
  "keywords": [
    "typescript",
    "textarea",
    "selection",
    "bounds",
    "rect",
    "range"
  ],
  "author": {
    "name": "Janik Schumacher (LoaderB0T)",
    "url": "https://awdware.de"
  },
  "homepage": "https://github.com/LoaderB0T/textarea-selection-bounds",
  "bugs": {
    "url": "https://github.com/LoaderB0T/textarea-selection-bounds/issues"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/LoaderB0T/textarea-selection-bounds.git"
  },
  "dependencies": {
    "cpy-cli": "^5.0.0",
    "http-server": "^14.1.1"
  },
  "scripts": {
    "preinstall": "npx only-allow pnpm",
    "lint": "pnpm eslint ./src/**",
    "test": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js",
    "prebuild": "pnpm rimraf lib",
    "build": "tsc -p .",
    "copy-test": "pnpm cpy --flat ./test/index.html ./lib/esm",
    "build-test": "pnpm build-esm --sourceMap false && pnpm copy-test && pnpm build-esm --sourceMap false --watch",
    "start-test": "pnpm http-server ./lib/esm",
    "test-script": "node --loader ts-node/esm ./src/test.ts"
  }
}