{
  "name": "@sec-ant/gm-fetch",
  "description": "A fetch API for GM_xmlhttpRequest / GM.xmlHttpRequest",
  "private": false,
  "version": "1.2.6",
  "type": "module",
  "files": [
    "./dist"
  ],
  "browser": "./dist/index.iife.js",
  "exports": {
    ".": {
      "import": "./dist/index.js",
      "default": "./dist/index.js"
    }
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/Sec-ant/gm-fetch.git"
  },
  "homepage": "https://github.com/Sec-ant/gm-fetch",
  "bugs": {
    "url": "https://github.com/Sec-ant/gm-fetch/issues",
    "email": "zezhengwu@proton.me"
  },
  "keywords": [
    "fetch",
    "gm-fetch",
    "GM_xmlhttpRequest",
    "Tampermonkey",
    "Violentmonkey",
    "Greasemonkey",
    "userscript"
  ],
  "author": {
    "name": "Ze-Zheng Wu"
  },
  "license": "MIT",
  "publishConfig": {
    "access": "public"
  },
  "devDependencies": {
    "@biomejs/biome": "^2.6.2",
    "@changesets/cli": "^3.0.3",
    "@commitlint/cli": "^21.2.4",
    "@commitlint/config-conventional": "^21.2.4",
    "@types/node": "^26.6.5",
    "@vitest/browser-playwright": "^5.0.5",
    "lint-staged": "^17.6.0",
    "playwright": "^1.64.1",
    "prettier": "^3.9.10",
    "rimraf": "^6.1.3",
    "simple-git-hooks": "^2.14.0",
    "typescript": "^7.0.2",
    "vite": "^8.3.5",
    "vite-plugin-monkey": "^8.1.1",
    "vitest": "^5.0.5",
    "@vitest/coverage-istanbul": "^5.0.5"
  },
  "scripts": {
    "update-hooks": "simple-git-hooks",
    "changeset": "changeset",
    "bump": "changeset version && pnpm install --lockfile-only",
    "dev": "vite -m monkey",
    "lint": "biome lint",
    "clean": "rimraf ./dist",
    "type-check": "tsc --noEmit --emitDeclarationOnly false && tsc -p tsconfig.node.json && tsc -p tests/tsconfig.json",
    "format:prettier": "prettier . --write",
    "format:biome": "biome format --write",
    "format": "pnpm -s format:prettier && pnpm -s format:biome",
    "check:biome": "biome check --write",
    "check": "pnpm -s format:prettier && pnpm -s check:biome",
    "build:es": "vite build -m es",
    "build:iife": "vite build -m iife",
    "build:monkey": "vite build -m monkey",
    "prebuild": "pnpm -s check && pnpm -s type-check && pnpm -s clean",
    "build": "pnpm -s build:es && pnpm -s build:iife && pnpm -s build:monkey",
    "postbuild": "tsc",
    "preview": "vite preview -m monkey",
    "bump-biome:latest": "pnpm add -DE @biomejs/biome@latest",
    "bump-biome:nightly": "pnpm add -DE @biomejs/biome@nightly",
    "test": "vitest run",
    "test:ci": "playwright install --with-deps chromium firefox && pnpm -s test",
    "pretest": "pnpm -s build",
    "coverage": "pnpm -s test --coverage"
  }
}