{
  "name": "@bbc/web-vitals",
  "version": "2.6.0",
  "main": "dist/cjs.js",
  "module": "dist/esm.js",
  "exports": {
    ".": {
      "require": "./dist/cjs.js",
      "import": "./dist/esm.js"
    }
  },
  "files": [
    "dist"
  ],
  "sideEffects": false,
  "description": "Generic hook for reporting web vitals metrics to an endpoint",
  "scripts": {
    "build": "rollup -c",
    "prepublishOnly": "rm -rf dist && npm run build",
    "test": "yarn test:lint && yarn test:unit",
    "test:ci": "yarn test:lint && yarn test:unit:ci",
    "test:lint": "eslint --ext .js,jsx,json ./scripts",
    "test:unit": "yarn build && jest --verbose --coverage",
    "test:unit:ci": "jest --verbose --coverage"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/bbc/web-vitals.git"
  },
  "publishConfig": {
    "registry": "https://registry.npmjs.org/"
  },
  "author": {
    "name": "BBC"
  },
  "license": "Apache-2.0",
  "bugs": {
    "url": "https://github.com/bbc/web-vitals/issues"
  },
  "homepage": "https://github.com/bbc/web-vitals/blob/main/README.md",
  "dependencies": {
    "web-vitals": "^3.3.2"
  },
  "peerDependencies": {
    "react": "^17.0.0 || ^18.0.0 || ^19.0.0"
  },
  "devDependencies": {
    "@babel/cli": "^7.21.0",
    "@babel/core": "^7.21.0",
    "@babel/plugin-proposal-export-default-from": "7.14.5",
    "@babel/plugin-transform-modules-commonjs": "7.14.5",
    "@babel/plugin-transform-runtime": "7.14.5",
    "@babel/preset-env": "7.14.5",
    "@babel/preset-react": "7.14.5",
    "@rollup/plugin-babel": "^6.0.4",
    "@rollup/plugin-terser": "^0.4.4",
    "@testing-library/dom": "^10.4.0",
    "@testing-library/jest-dom": "^6.6.3",
    "@testing-library/react": "^15.0.0",
    "@testing-library/user-event": "^14.6.1",
    "babel-eslint": "10.1.0",
    "babel-plugin-add-import-extension": "^1.6.0",
    "eslint": "^7.10.0",
    "eslint-config-prettier": "^8.0.0",
    "eslint-plugin-es5": "^1.5.0",
    "eslint-plugin-import": "^2.32.0",
    "eslint-plugin-json": "4.0.1",
    "eslint-plugin-prettier": "4.0.0",
    "eslint-plugin-react": "7.22.0",
    "jest": "^29.7.0",
    "jest-environment-jsdom": "^29.7.0",
    "prettier": "3.6.2",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "rollup": "^4.32.1",
    "rollup-plugin-auto-external": "^2.0.0",
    "shelljs": "^0.8.5"
  },
  "packageManager": "yarn@3.8.2"
}
