{
  "name": "template-for-polyfill",
  "version": "0.1.1",
  "description": "A polyfill for the Templates For API",
  "type": "module",
  "main": "dist/template-for-polyfill.cjs",
  "module": "dist/template-for-polyfill.js",
  "unpkg": "dist/template-for-polyfill.js",
  "exports": {
    ".": {
      "require": "./dist/template-for-polyfill.cjs",
      "default": "./dist/template-for-polyfill.js"
    }
  },
  "files": [
    "dist",
    "src"
  ],
  "publishConfig": {
    "registry": "https://registry.npmjs.org/"
  },
  "scripts": {
    "build": "run-s clean build:ts build:js size",
    "build:ts": "tsc -b",
    "build:js": "rollup -c",
    "clean": "rm -rf dist tsconfig.tsbuildinfo",
    "format": "prettier \"**/*.{cjs,js,ts,json}\" --write",
    "format:check": "prettier \"**/*.{cjs,js,ts,json}\" --check",
    "lint": "eslint .",
    "lint:fix": "eslint --fix .",
    "postversion": "git push --follow-tags",
    "prepare": "husky",
    "release:major": "npm version major -m 'Release v%s' && npm publish",
    "release:minor": "npm version minor -m 'Release v%s' && npm publish",
    "release:patch": "npm version patch -m 'Release v%s' && npm publish",
    "size": "brotli-size --raw dist/template-for-polyfill.js",
    "test": "run-p test:server test:unit",
    "test:server": "node tests/server/server.js",
    "test:unit": "wdio --suite=unit",
    "watch": "run-p watch:*",
    "watch:ts": "tsc -b -w",
    "watch:js": "rollup -c -w"
  },
  "keywords": [
    "unload",
    "beacon",
    "page",
    "pending"
  ],
  "author": {
    "name": "Barry Pollard",
    "email": "barrypollard@google.com"
  },
  "license": "Apache-2.0",
  "repository": {
    "type": "git",
    "url": "git@github.com:GoogleChromeLabs/template-for-polyfill.git"
  },
  "bugs": {
    "url": "https://github.com/GoogleChromeLabs/template-for-polyfill/issues"
  },
  "prettier": {
    "arrowParens": "always",
    "bracketSpacing": false,
    "singleQuote": true,
    "trailingComma": "es5"
  },
  "devDependencies": {
    "@babel/core": "^7.29.0",
    "@babel/preset-env": "^7.29.5",
    "@eslint/js": "^10.0.1",
    "@rollup/plugin-babel": "^7.0.0",
    "@rollup/plugin-terser": "^1.0.0",
    "@wdio/cli": "^9.27.1",
    "@wdio/local-runner": "^9.27.1",
    "@wdio/mocha-framework": "^9.27.1",
    "@wdio/spec-reporter": "^9.27.1",
    "brotli-size-cli": "^1.0.0",
    "eslint": "^10.0.2",
    "fs-extra": "^11.3.5",
    "globals": "^17.6.0",
    "husky": "^9.1.7",
    "lint-staged": "^16.2.3",
    "npm-run-all": "^4.1.5",
    "prettier": "^3.8.3",
    "rollup": "^4.60.4",
    "typescript": "^6.0.3",
    "webdriverio": "^9.27.1"
  },
  "lint-staged": {
    "**/*.js": "eslint --fix",
    "**/*.{cjs,js,ts,json}": "prettier --write"
  },
  "dependencies": {
    "fs-extra": "^11.3.4"
  }
}
