{
  "name": "@salesforce/core",
  "version": "8.28.3",
  "description": "Core libraries to interact with SFDX projects, orgs, and APIs.",
  "main": "lib/index",
  "types": "lib/index.d.ts",
  "license": "BSD-3-Clause",
  "engines": {
    "node": ">=18.0.0"
  },
  "exports": {
    ".": "./lib/index.js",
    "./config": "./lib/config/config.js",
    "./configAggregator": "./lib/config/configAggregator.js",
    "./envVars": "./lib/config/envVars.js",
    "./fs": "./lib/fs/fs.js",
    "./global": "./lib/global.js",
    "./lifecycle": "./lib/lifecycleEvents.js",
    "./logger": "./lib/logger/logger.js",
    "./messages": "./lib/messages.js",
    "./messageTransformer": "./lib/messageTransformer.js",
    "./project": "./lib/sfProject.js",
    "./sfError": "./lib/sfError.js",
    "./stateAggregator": "./lib/stateAggregator/stateAggregator.js",
    "./testSetup": "./lib/testSetup.js",
    "./sfdx-project.schema.json": "./schemas/sfdx-project.schema.json",
    "./project-scratch-def.schema.json": "./schemas/project-scratch-def.schema.json"
  },
  "scripts": {
    "build": "wireit",
    "bundle-check": "wireit",
    "clean": "sf-clean",
    "clean-all": "sf-clean all",
    "compile": "wireit",
    "docs": "sf-docs",
    "format": "wireit",
    "link-check": "wireit",
    "lint": "wireit",
    "lint-fix": "yarn sf-lint --fix",
    "prepack": "sf-prepack",
    "prepare": "sf-install",
    "test": "wireit",
    "test:nuts": "wireit",
    "test:only": "wireit",
    "test:perf": "ts-node test/perf/logger/main.test.ts",
    "update:features": "ts-node scripts/schemas/update-features.ts",
    "update:settings": "ts-node scripts/schemas/update-settings.ts"
  },
  "keywords": [
    "force",
    "salesforce",
    "sfdx",
    "salesforcedx"
  ],
  "files": [
    "docs",
    "lib",
    "messages",
    "schemas",
    "!lib/**/*.map",
    "messageTransformer/messageTransformer.ts"
  ],
  "dependencies": {
    "@jsforce/jsforce-node": "^3.10.13",
    "@salesforce/kit": "^3.2.4",
    "@salesforce/ts-types": "^2.0.12",
    "ajv": "^8.18.0",
    "change-case": "^4.1.2",
    "fast-levenshtein": "^3.0.0",
    "faye": "^1.4.1",
    "form-data": "^4.0.4",
    "js2xmlparser": "^4.0.1",
    "jsonwebtoken": "9.0.3",
    "jszip": "3.10.1",
    "memfs": "4.38.1",
    "pino": "^9.7.0",
    "pino-abstract-transport": "^1.2.0",
    "pino-pretty": "^11.3.0",
    "proper-lockfile": "^4.1.2",
    "semver": "^7.7.3",
    "ts-retry-promise": "^0.8.1",
    "zod": "^4.1.12"
  },
  "devDependencies": {
    "@salesforce/dev-scripts": "^10.1.1",
    "@salesforce/ts-sinon": "^1.4.31",
    "@types/benchmark": "^2.1.5",
    "@types/fast-levenshtein": "^0.0.4",
    "@types/jsonwebtoken": "9.0.10",
    "@types/proper-lockfile": "^4.1.4",
    "@types/semver": "^7.5.8",
    "benchmark": "^2.1.4",
    "esbuild": "^0.25.11",
    "mocha": "^11.7.5",
    "ts-node": "^10.9.2",
    "ts-patch": "^3.3.0",
    "typescript": "^5.5.4"
  },
  "resolutions": {
    "@jsforce/jsforce-node/node-fetch/whatwg-url": "^14.0.0"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/forcedotcom/sfdx-core.git"
  },
  "publishConfig": {
    "access": "public"
  },
  "wireit": {
    "build": {
      "dependencies": [
        "compile",
        "lint"
      ]
    },
    "compile": {
      "command": "tspc -p . --pretty --incremental",
      "dependencies": [
        "build:schema:project",
        "build:schema:scratch"
      ],
      "files": [
        "src/**/*.ts",
        "src/**/*.json",
        "tsconfig.json",
        "messages",
        "messageTransformer"
      ],
      "output": [
        "lib/**",
        "*.tsbuildinfo"
      ],
      "clean": "if-file-deleted"
    },
    "format": {
      "command": "prettier --write \"+(src|test|schemas)/**/*.+(ts|js|json)|command-snapshot.json\"",
      "files": [
        "src/**/*.ts",
        "test/**/*.ts",
        "schemas/**/*.json",
        "command-snapshot.json",
        ".prettier*"
      ],
      "output": []
    },
    "lint": {
      "command": "eslint src test --color --cache --cache-location .eslintcache",
      "files": [
        "src/**/*.ts",
        "test/**/*.ts",
        "messages/**",
        "**/.eslint*",
        "**/tsconfig.json"
      ],
      "output": []
    },
    "test:compile": {
      "command": "tsc -p \"./test\" --pretty",
      "files": [
        "test/**/*.ts",
        "**/tsconfig.json"
      ],
      "output": []
    },
    "test:only": {
      "command": "nyc mocha \"test/unit/**/*.test.ts\"",
      "dependencies": [
        "build:schema:project",
        "build:schema:scratch"
      ],
      "env": {
        "FORCE_COLOR": "2"
      },
      "files": [
        "test/**/*.ts",
        "src/**/*.ts",
        "**/tsconfig.json",
        ".mocha*",
        "!*.nut.ts",
        ".nycrc"
      ],
      "output": []
    },
    "test": {
      "dependencies": [
        "test:only",
        "test:compile",
        "link-check",
        "bundle-check"
      ]
    },
    "test:nuts": {
      "command": "mocha \"test/**/*.nut.ts\" --timeout 500000",
      "dependencies": [
        "compile"
      ],
      "files": [
        "test/nut/**/*",
        "src/**/*.ts",
        "**/tsconfig.json",
        ".mocha*"
      ],
      "output": []
    },
    "bundle-check": {
      "command": "node scripts/build.mjs",
      "dependencies": [
        "compile"
      ],
      "files": [
        "lib/**/*",
        "scripts/build.mjs"
      ],
      "output": [
        "dist/**/*"
      ]
    },
    "link-check": {
      "command": "node -e \"process.exit(process.env.CI ? 0 : 1)\" || linkinator \"./*.md\" --skip \"examples/README.md|CHANGELOG.md|node_modules|test/|confluence.internal.salesforce.com|my.salesforce.com|%s|npmjs.com\" --markdown --retry --directory-listing --verbosity error",
      "files": [
        "./*.md",
        "./examples/**/*.md",
        "./messages/**/*.md",
        "./!(CHANGELOG).md"
      ],
      "output": []
    },
    "compile-typedoc": {
      "command": "tsc -p typedocExamples"
    },
    "build:schema:project": {
      "command": "ts-node scripts/schemas/build-schema-project.ts",
      "files": [
        "src/schema/sfdx-project/**/*.ts",
        "scripts/schemas/build-schema-project.ts",
        "scripts/schemas/consts.ts"
      ],
      "output": [
        "schemas/sfdx-project.schema.json"
      ],
      "clean": "if-file-deleted"
    },
    "build:schema:scratch": {
      "command": "ts-node scripts/schemas/build-schema-scratch.ts",
      "files": [
        "src/schema/project-scratch-def/**/*.ts",
        "scripts/schemas/build-schema-scratch.ts",
        "scripts/schemas/consts.ts"
      ],
      "output": [
        "schemas/project-scratch-def.schema.json"
      ],
      "clean": "if-file-deleted"
    }
  }
}
