{
  "name": "text-fragments-polyfill",
  "version": "5.3.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": {
    "clang-format": "^1.7.0",
    "eslint": "^8.13.0",
    "eslint-config-google": "^0.14.0",
    "eslint-config-prettier": "^8.5.0",
    "http-server": "^14.1.0",
    "jasmine-core": "^4.1.0",
    "karma": "^6.3.18",
    "karma-chrome-launcher": "^3.1.1",
    "karma-firefox-launcher": "^2.1.2",
    "karma-html2js-preprocessor": "^1.1.0",
    "karma-jasmine": "^5.0.0",
    "karma-webkit-launcher": "^1.0.2",
    "playwright": "^1.21.1",
    "prettier": "^2.6.2",
    "regenerate": "^1.4.2",
    "rollup": "^2.70.2",
    "rollup-plugin-terser": "7.0.2",
    "shx": "^0.3.4",
    "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 . --ext .js,.mjs --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"
    ]
  }
}
