{
  "name": "@fragment-dev/cli",
  "version": "2026.11.20-6",
  "description": "FRAGMENT CLI",
  "author": "hello@fragment.dev",
  "bin": {
    "fragment": "./bin/run.js"
  },
  "homepage": "https://github.com/fragment-dev/workspaces",
  "license": "MIT",
  "type": "module",
  "repository": "fragment-dev/workspaces",
  "nx": {
    "//": "The unit tests read customerApi's exported schema and payment-elements' Payment fragment, dependencies nx can't infer from package.json.",
    "implicitDependencies": [
      "@fragment/customer-api-sst",
      "@fragment-dev/payment-elements"
    ]
  },
  "files": [
    "/bin",
    "/dist",
    "/npm-shrinkwrap.json",
    "/oclif.manifest.json"
  ],
  "dependencies": {
    "@oclif/plugin-autocomplete": "^3.2.50",
    "@oclif/plugin-commands": "4.1.57",
    "@oclif/plugin-help": "6.2.50",
    "@oclif/plugin-not-found": "^3.2.87"
  },
  "devDependencies": {
    "@amccarthy1/typed-env": "^1.3.0",
    "@fragment-compositions/visualizer": "1.0.0",
    "@fragment/test-utils": "1.0.0",
    "@fragment/ui": "1.0.0",
    "@graphql-codegen/add": "^5.0.3",
    "@graphql-codegen/cli": "^5.0.3",
    "@graphql-codegen/typescript": "^4.1.2",
    "@graphql-codegen/typescript-graphql-request": "6.2.0",
    "@graphql-codegen/typescript-operations": "^4.4.0",
    "@oclif/test": "4.1.18",
    "@types/chai": "^4",
    "@types/cross-spawn": "^6.0.2",
    "@types/inquirer": "^9.0.7",
    "@types/mocha": "^9.0.0",
    "@types/node": "^20.11.16",
    "@types/semver": "^7.3.13",
    "chai": "^4",
    "esbuild": "^0.20.2",
    "eslint": "^9.0.0",
    "eslint-config-oclif": "^4.0.0",
    "eslint-config-oclif-typescript": "^1.0.3",
    "eslint-plugin-unicorn": "^47.0.0",
    "glob": "^10.3.12",
    "mocha": "11.1.0",
    "nock": "beta",
    "oclif": "4.23.10",
    "prettier": "^2.8.8",
    "shx": "^0.3.3",
    "ts-node": "^10.9.1",
    "tsconfig-paths": "^4.2.0",
    "tslib": "^2.4.1",
    "tsx": "^4.20.6",
    "typescript": "^5.4.2",
    "vitest": "^3.1.0"
  },
  "oclif": {
    "bin": "fragment",
    "dirname": "fragment",
    "commands": {
      "strategy": "explicit",
      "target": "./dist/index.js",
      "identifier": "COMMANDS"
    },
    "topicSeparator": " ",
    "topics": {
      "query": {
        "description": "Query for entities (Ledgers, Schemas, etc) in your Workspace."
      },
      "api-client": {
        "description": "Manage API clients for your Workspace."
      }
    },
    "plugins": [
      "@oclif/plugin-help",
      "@oclif/plugin-not-found",
      "@oclif/plugin-commands",
      "@oclif/plugin-autocomplete"
    ]
  },
  "scripts": {
    "fragment": "FRAGMENT_LOCAL_DEV=true bin/dev.js",
    "build": "node --loader ts-node/esm build.ts",
    "lint": "eslint --fix --cache .",
    "lint-nofix": "eslint .",
    "gen-readme": "yarn build && oclif readme && oclif manifest",
    "gen-clients": "graphql-codegen --config codegen.yml",
    "postpack": "shx rm -f oclif.manifest.json",
    "posttest": "yarn lint",
    "prepack": "yarn build && oclif manifest && oclif readme",
    "test-cli": "mocha --forbid-only \"tests/**/*.test.ts\"  && yarn test",
    "test:auth:test": "mocha --forbid-only \"tests/cli/auth.test.test.ts\"",
    "test:delete-ledger": "mocha --forbid-only \"tests/cli/deleteLedger.test.ts\"",
    "test:delete-schema": "mocha --forbid-only \"tests/cli/delete-schema.test.ts\"",
    "test:delete-custom-txs": "mocha --forbid-only \"tests/cli/delete-custom-txs.test.ts\"",
    "test:reverse-ledger-entry": "mocha --forbid-only \"tests/cli/reverse-ledger-entry.test.ts\"",
    "test:auth:login": "mocha --forbid-only \"tests/cli/auth.login.test.ts\"",
    "test:auth:malformed": "mocha --forbid-only \"tests/cli/auth.malformed.test.ts\"",
    "test:token": "mocha --forbid-only \"tests/cli/token.test.ts\"",
    "test:add-ledger-entry": "mocha --forbid-only \"tests/cli/addLedgerEntry.test.ts\"",
    "test:migrate-ledger-entry": "mocha --forbid-only \"tests/cli/migrate-ledger-entry.test.ts\"",
    "test:verify-schema": "mocha --forbid-only \"tests/cli/verify-schema.test.ts\"",
    "test:print-schema": "mocha --forbid-only \"tests/cli/print-schema.test.ts\"",
    "test:get-schema": "mocha --forbid-only \"tests/cli/get-schema.test.ts\"",
    "test:utils:getParsedSchema": "mocha --forbid-only \"tests/utils/getParsedSchema.test.ts\"",
    "test:update": "mocha --forbid-only \"tests/cli/update.test.ts\"",
    "test:query": "mocha --forbid-only \"tests/cli/query.test.ts\"",
    "test": "vitest run",
    "test.coverage": "vitest run --coverage",
    "version": "oclif readme && git add README.md",
    "typecheck": "tsc --skipLibCheck --noEmit",
    "typecheck-special": "tsc --skipLibCheck --noEmit",
    "fixup": "node --loader ts-node/esm fixup.ts",
    "pkg-fragment-cli": "yarn node --loader ts-node/esm packageCLI.ts",
    "test:simulate-scenario": "mocha --forbid-only \"tests/cli/simulate-scenario.test.ts\""
  },
  "engines": {
    "node": ">=18.0.0"
  },
  "bugs": "https://github.com/fragment-dev/workspaces/issues",
  "keywords": [
    "fragment",
    "ledger",
    "double-entry",
    "accounting",
    "money",
    "payments"
  ],
  "types": "dist/index.d.ts",
  "beta": false
}