{
  "name": "axios-shortcut",
  "PascalCasedName": "AxiosShortcut",
  "type": "commonjs",
  "version": "0.1.4",
  "private": false,
  "description": "Shortcuts for [Axios](https://github.com/axios/axios).",
  "author": {
    "name": "Cloyd Lau",
    "url": "https://github.com/cloydlau"
  },
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/cloydlau/axios-shortcut.git"
  },
  "keywords": [
    "axios",
    "download",
    "upload"
  ],
  "exports": {
    ".": {
      "import": {
        "types": "./dist/axios-shortcut.d.mts",
        "default": "./dist/axios-shortcut.mjs"
      },
      "require": {
        "types": "./dist/axios-shortcut.d.ts",
        "default": "./dist/axios-shortcut.umd.js"
      }
    },
    "./*": "./*"
  },
  "main": "./dist/axios-shortcut.umd.js",
  "module": "./dist/axios-shortcut.mjs",
  "unpkg": "./dist/axios-shortcut.umd.js",
  "jsdelivr": "./dist/axios-shortcut.umd.js",
  "types": "./dist/axios-shortcut.d.ts",
  "files": [
    "dist",
    "docs"
  ],
  "scripts": {
    "dev": "vite --open",
    "serve": "vite preview",
    "doc": "vitepress dev --open /README",
    "typegen": "npx tsup --entry.axios-shortcut src/index.ts --format esm,cjs --cjsInterop --clean --dts-only",
    "build": "vite build && pnpm typegen",
    "license-scan": "license-checker --summary --out ./depencency-licenses.txt",
    "release": "esno ./scripts/release.mts",
    "sync-to-cnpm": "npx cnpm sync && curl -L https://npmmirror.com/sync/axios-shortcut",
    "lint": "eslint \"**/*.{js,mjs,cjs,jsx,ts,mts,cts,tsx,vue,json,md,html,css,scss,sass}\" --ignore-pattern stats.html",
    "lint:fix": "eslint \"**/*.{js,mjs,cjs,jsx,ts,mts,cts,tsx,vue,json,md,html,css,scss,sass}\" --ignore-pattern stats.html --fix",
    "preinstall": "node -e \"if (process.env.INIT_CWD === process.cwd()) { process.exit(1) }\" || npx only-allow pnpm",
    "postinstall": "node -e \"if (process.env.INIT_CWD === process.cwd()) { process.exit(1) }\" || (npx simple-git-hooks && pnpm license-scan)"
  },
  "devDependencies": {
    "@antfu/eslint-config": "^3.7.3",
    "@arethetypeswrong/cli": "^0.16.4",
    "@commitlint/cli": "^19.5.0",
    "@commitlint/config-conventional": "^19.5.0",
    "@types/lodash-es": "^4.17.12",
    "@types/node": "^22.7.5",
    "@types/qs": "^6.9.16",
    "axios": "^1.7.7",
    "case-police": "^0.7.0",
    "cnpm": "^9.4.0",
    "cross-spawn": "^7.0.3",
    "del": "^8.0.0",
    "eslint-plugin-format": "^0.1.2",
    "esno": "^4.8.0",
    "kolorist": "^1.8.0",
    "license-checker": "^25.0.1",
    "lint-staged": "^15.2.10",
    "only-allow": "^1.2.1",
    "open": "^10.1.0",
    "prompts": "^2.4.2",
    "publint": "^0.2.11",
    "rollup-plugin-visualizer": "^5.12.0",
    "semver": "^7.6.3",
    "simple-git-hooks": "^2.11.1",
    "tsup": "^8.3.0",
    "typescript": "^5.6.3",
    "vite": "^5.4.8",
    "vitepress": "^1.4.0"
  },
  "simple-git-hooks": {
    "pre-commit": "pnpm lint-staged",
    "commit-msg": "npx --no -- commitlint --edit ${1}"
  },
  "lint-staged": {
    "*.md": "case-police --fix",
    "*.{js,mjs,cjs,jsx,ts,mts,cts,tsx,vue,json,md,html,css,scss,sass}": "eslint --ignore-pattern stats.html --cache --fix"
  }
}
