@sec-ant/gm-fetch
Version:
A fetch API for GM_xmlhttpRequest / GM.xmlHttpRequest
80 lines • 2.33 kB
JSON
{
"name": "@sec-ant/gm-fetch",
"description": "A fetch API for GM_xmlhttpRequest / GM.xmlHttpRequest",
"private": false,
"version": "1.2.3",
"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": "^1.9.4",
"@changesets/cli": "^2.29.2",
"@commitlint/cli": "^19.8.0",
"@commitlint/config-conventional": "^19.8.0",
"@types/node": "^22.15.3",
"lint-staged": "^15.5.1",
"prettier": "^3.5.3",
"pretty-quick": "^4.1.1",
"rimraf": "^6.0.1",
"simple-git-hooks": "^2.13.0",
"typescript": "^5.8.3",
"vite": "^6.3.4",
"vite-plugin-monkey": "^5.0.8"
},
"scripts": {
"update-hooks": "simple-git-hooks",
"changeset": "changeset",
"bump": "changeset version 2>/dev/null | grep . && npm i; exit 0",
"dev": "vite -m monkey",
"lint": "biome lint",
"clean": "rimraf ./dist",
"type-check": "tsc --noEmit --emitDeclarationOnly false",
"format:prettier": "pretty-quick",
"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"
}
}