{
  "name": "stash",
  "version": "1.2.1",
  "description": "CipherStash CLI — the one stash command for auth, init, encryption schema, database setup, and secrets.",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/cipherstash/stack.git",
    "directory": "languages/typescript/packages/cli"
  },
  "license": "MIT",
  "author": "CipherStash <humans@cipherstash.com>",
  "files": [
    "dist",
    "README.md",
    "LICENSE",
    "CHANGELOG.md"
  ],
  "type": "module",
  "bin": {
    "stash": "./dist/bin/stash.js"
  },
  "main": "./dist/index.cjs",
  "module": "./dist/index.js",
  "sideEffects": false,
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "import": {
        "types": "./dist/index.d.ts",
        "default": "./dist/index.js"
      },
      "require": {
        "types": "./dist/index.d.cts",
        "default": "./dist/index.cjs"
      }
    },
    "./package.json": "./package.json"
  },
  "dependencies": {
    "@clack/prompts": "1.7.0",
    "dotenv": "17.4.2",
    "jiti": "2.7.0",
    "pg": "8.23.0",
    "picocolors": "^1.1.1",
    "posthog-node": "^5.49.1",
    "zod": "^3.25.76",
    "@cipherstash/auth": "0.44.1",
    "@cipherstash/eql": "3.0.6",
    "@cipherstash/migrate": "1.0.0"
  },
  "//optionalDependencies": "@cipherstash/auth ships per-platform native bindings as optional peerDependencies. pnpm does not auto-install platform-matched optional peer deps, so we declare them here as optionalDependencies — pnpm then picks the binary matching the host's os/cpu (from each sub-package's own package.json) and ignores the rest. All seven are workspace packages in one changesets `fixed` group, so `workspace:*` packs the same exact version for each.",
  "optionalDependencies": {
    "@cipherstash/auth-darwin-arm64": "0.44.1",
    "@cipherstash/auth-darwin-x64": "0.44.1",
    "@cipherstash/auth-linux-arm64-gnu": "0.44.1",
    "@cipherstash/auth-linux-x64-gnu": "0.44.1",
    "@cipherstash/auth-linux-x64-musl": "0.44.1",
    "@cipherstash/auth-win32-x64-msvc": "0.44.1"
  },
  "peerDependencies": {
    "@cipherstash/stack": ">=1.0.0-rc.0"
  },
  "peerDependenciesMeta": {
    "@cipherstash/stack": {
      "optional": true
    }
  },
  "devDependencies": {
    "@cipherstash/eql-upgrade-baseline": "npm:@cipherstash/eql@3.0.2",
    "@types/pg": "^8.23.1",
    "node-pty": "^1.1.0",
    "strip-ansi": "^7.2.0",
    "tsup": "8.5.1",
    "tsx": "4.23.12",
    "typescript": "5.9.3",
    "vitest": "4.1.11",
    "@cipherstash/protect-ffi": "0.33.0",
    "@cipherstash/stack": "1.2.1"
  },
  "publishConfig": {
    "access": "public"
  },
  "engines": {
    "node": ">=22"
  },
  "scripts": {
    "build": "tsup",
    "postbuild": "chmod +x ./dist/bin/stash.js",
    "dev": "tsup --watch",
    "test": "vitest run",
    "typecheck:scaffold": "tsc -p tsconfig.scaffold.json",
    "test:e2e": "vitest run --config vitest.integration.config.ts",
    "lint": "biome check ."
  }
}