{
  "name": "@boneskull/bargs",
  "version": "4.1.0",
  "type": "module",
  "description": "A TypeScript-first CLI argument parser wrapping util.parseArgs() with full type inference",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/boneskull/bargs.git"
  },
  "homepage": "https://github.com/boneskull/bargs",
  "author": "Christopher Hiller <boneskull@boneskull.com> (https://boneskull.com/)",
  "license": "BlueOak-1.0.0",
  "private": false,
  "engines": {
    "node": ">=20.0.0"
  },
  "main": "./dist/index.cjs",
  "types": "./dist/index.d.cts",
  "module": "./dist/index.js",
  "exports": {
    ".": {
      "types": "./dist/index.d.cts",
      "import": "./dist/index.js",
      "require": "./dist/index.cjs"
    },
    "./package.json": "./package.json"
  },
  "files": [
    "dist"
  ],
  "keywords": [
    "cli",
    "args",
    "arguments",
    "parser",
    "typescript",
    "terminal",
    "options",
    "parseArgs",
    "yargs",
    "commander",
    "minimist",
    "meow",
    "cac",
    "arg",
    "oclif",
    "optionator",
    "clipanion",
    "command-line-args",
    "getopts",
    "console",
    "flags"
  ],
  "scripts": {
    "build": "zshy",
    "commitlint": "commitlint",
    "docs": "typedoc --treatWarningsAsErrors",
    "docs:dev": "typedoc --watch",
    "fix": "run-s -sl fix:*",
    "fix:eslint": "eslint --fix .",
    "fix:markdown": "markdownlint-cli2 --fix \"**/*.md\"",
    "fix:pkg": "npm pkg fix",
    "fix:prettier": "prettier --write . && markdownlint-cli2 --fix \"**/*.md\"",
    "lint": "run-p -sl --aggregate-output lint:*",
    "lint-staged": "lint-staged",
    "lint:docs": "typedoc --treatWarningsAsErrors --emit none",
    "lint:eslint": "eslint .",
    "lint:knip": "knip",
    "lint:markdown": "markdownlint-cli2 \"**/*.md\"",
    "lint:prettier": "prettier --check .",
    "lint:spelling": "cspell . \"./.*/**\"",
    "lint:types": "tsc --noEmit",
    "prepare": "husky; run-s -s build",
    "test": "run-s test:runtime",
    "test:base": "node --import tsx --test --test-reporter=spec",
    "test:node20": "node --import tsx --test --test-reporter=spec test/*.test.ts",
    "test:runtime": "npm run test:base -- \"test/*.test.ts\"",
    "test:watch": "npm run test:base -- --watch \"test/*.test.ts\""
  },
  "devDependencies": {
    "@boneskull/typedoc-plugin-mermaid": "0.2.1",
    "@commitlint/cli": "20.2.0",
    "@commitlint/config-conventional": "20.2.0",
    "@eslint/js": "9.39.2",
    "@stylistic/eslint-plugin": "5.6.1",
    "@types/node": "24.10.4",
    "@types/wallabyjs": "0.0.15",
    "@typescript-eslint/typescript-estree": "8.52.0",
    "@typescript-eslint/utils": "8.52.0",
    "bupkis": "0.14.0",
    "cspell": "9.4.0",
    "eslint": "9.39.2",
    "eslint-plugin-jsonc": "2.21.0",
    "eslint-plugin-perfectionist": "5.2.0",
    "globals": "16.5.0",
    "husky": "9.1.7",
    "knip": "5.76.1",
    "lint-staged": "16.2.7",
    "markdownlint-cli2": "0.20.0",
    "markdownlint-cli2-formatter-pretty": "0.0.9",
    "npm-run-all2": "8.0.4",
    "prettier": "3.7.4",
    "prettier-plugin-jsdoc": "1.8.0",
    "prettier-plugin-pkg": "0.21.2",
    "prettier-plugin-sort-json": "4.1.1",
    "tsx": "4.21.0",
    "typedoc": "0.28.15",
    "typedoc-plugin-extras": "4.0.1",
    "typedoc-plugin-llms-txt": "0.1.2",
    "typedoc-plugin-mdn-links": "5.0.10",
    "typescript": "5.9.3",
    "typescript-eslint": "8.50.0",
    "zshy": "0.6.0"
  },
  "publishConfig": {
    "access": "public"
  },
  "knip": {
    "ignoreDependencies": [
      "markdownlint-cli2-formatter-pretty"
    ],
    "ignore": [
      "**/*.d.ts",
      ".worktrees/**/*",
      "examples/**/*"
    ],
    "tags": [
      "-knipignore"
    ],
    "node": {
      "entry": [
        "src/index.ts",
        ".wallaby.js",
        "test/**/*.test.ts"
      ]
    }
  },
  "lint-staged": {
    "*.{ts,js,yml,yaml,json5}": [
      "eslint --fix",
      "prettier --write",
      "cspell lint --no-must-find-files"
    ],
    "**/!(package-lock).json": [
      "eslint --fix",
      "prettier --write",
      "cspell lint --no-must-find-files"
    ],
    "*.md": [
      "markdownlint-cli2 --fix",
      "prettier --write",
      "cspell lint --no-must-find-files"
    ],
    "*.{css,html}": [
      "prettier --write",
      "cspell lint --no-must-find-files"
    ]
  },
  "prettier": {
    "jsdocCommentLineStrategy": "keep",
    "jsdocPreferCodeFences": true,
    "plugins": [
      "prettier-plugin-jsdoc",
      "prettier-plugin-pkg",
      "prettier-plugin-sort-json"
    ],
    "singleQuote": true,
    "tsdoc": true
  },
  "zshy": {
    "exports": {
      ".": "./src/index.ts",
      "./package.json": "./package.json"
    }
  }
}
