{
  "name": "text-fragments-polyfill",
  "version": "6.7.0",
  "description": "This is a polyfill for the [Text Fragments](https://wicg.github.io/scroll-to-text-fragment/) feature for browsers that don't support it natively.",
  "main": "./dist/text-fragments.js",
  "browser": "./dist/text-fragments.js",
  "module": "./dist/text-fragments.js",
  "type": "module",
  "exports": {
    ".": "./dist/text-fragments.js",
    "./dist/fragment-generation-utils.js": "./dist/fragment-generation-utils.js",
    "./text-fragment-utils": "./src/text-fragment-utils.js",
    "./package.json": "./package.json"
  },
  "unpkg": "./dist/text-fragments.js",
  "files": [
    "src",
    "dist",
    "demo"
  ],
  "devDependencies": {
    "@rollup/plugin-terser": "^0.4.4",
    "clang-format": "^1.8.0",
    "eslint": "^9.39.1",
    "eslint-config-google": "^0.14.0",
    "eslint-config-prettier": "^10.1.8",
    "http-server": "^14.1.1",
    "jasmine-core": "^5.12.1",
    "karma": "^6.4.4",
    "karma-chrome-launcher": "^3.2.0",
    "karma-firefox-launcher": "^2.1.3",
    "karma-html2js-preprocessor": "^1.1.0",
    "karma-jasmine": "^5.1.0",
    "karma-webkit-launcher": "^2.6.0",
    "playwright": "^1.56.1",
    "prettier": "^3.6.2",
    "regenerate": "^1.4.2",
    "rollup": "^4.53.1",
    "shx": "^0.4.0",
    "unicode-9.0.0": "^0.7.5"
  },
  "scripts": {
    "start": "npx http-server",
    "clean": "shx rm -rf dist",
    "fix": "npx clang-format --style=Google -i ./src/*.js ./tools/*.js ./test/**/*.js && npx prettier --write **/*.json **/*.html",
    "prepare": "npm run clean && npm run fix && npm run lint && npx rollup src/text-fragments.js --dir dist -p 'terser' && npx rollup src/fragment-generation-utils.js --dir dist -p 'terser'",
    "lint": "npx eslint . --fix --ignore-pattern dist/",
    "test": "./node_modules/karma/bin/karma start karma.conf.cjs --single-run",
    "debug": "./node_modules/karma/bin/karma start karma.conf.cjs --debug --browsers"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/GoogleChromeLabs/text-fragments-polyfill.git"
  },
  "contributors": [
    "Thomas Steiner <steiner.thomas@gmail.com>",
    "Tommy Martino <tfmartino@gmail.com>"
  ],
  "license": "Apache-2.0",
  "bugs": {
    "url": "https://github.com/GoogleChromeLabs/text-fragments-polyfill/issues"
  },
  "homepage": "https://github.com/GoogleChromeLabs/text-fragments-polyfill#readme",
  "eslintConfig": {
    "parserOptions": {
      "ecmaVersion": 2020,
      "sourceType": "module"
    },
    "extends": [
      "google",
      "prettier"
    ]
  }
}
