{
  "name": "@backstage/cli",
  "version": "0.36.2",
  "description": "CLI for developing Backstage plugins and apps",
  "backstage": {
    "role": "cli"
  },
  "publishConfig": {
    "access": "public"
  },
  "keywords": [
    "backstage"
  ],
  "homepage": "https://backstage.io",
  "repository": {
    "type": "git",
    "url": "https://github.com/backstage/backstage",
    "directory": "packages/cli"
  },
  "license": "Apache-2.0",
  "main": "dist/index.cjs.js",
  "bin": {
    "backstage-cli": "bin/backstage-cli"
  },
  "files": [
    "asset-types",
    "templates",
    "config",
    "bin",
    "dist/**/*.js"
  ],
  "scripts": {
    "build": "backstage-cli package build",
    "clean": "backstage-cli package clean",
    "lint": "backstage-cli package lint",
    "start": "nodemon --",
    "test": "backstage-cli package test"
  },
  "nodemonConfig": {
    "exec": "bin/backstage-cli",
    "ext": "ts",
    "watch": "./src"
  },
  "dependencies": {
    "@backstage/cli-common": "^0.2.2",
    "@backstage/cli-defaults": "^0.1.2",
    "@backstage/cli-module-build": "^0.1.3",
    "@backstage/cli-module-test-jest": "^0.1.2",
    "@backstage/cli-node": "^0.3.2",
    "@backstage/errors": "^1.3.1",
    "@backstage/eslint-plugin": "^0.3.0",
    "@manypkg/get-packages": "^1.1.3",
    "@spotify/eslint-config-base": "^15.0.0",
    "@spotify/eslint-config-react": "^15.0.0",
    "@spotify/eslint-config-typescript": "^15.0.0",
    "@swc/core": "^1.15.6",
    "@swc/jest": "^0.2.39",
    "@types/webpack-env": "^1.15.2",
    "@typescript-eslint/eslint-plugin": "^8.17.0",
    "@typescript-eslint/parser": "^8.16.0",
    "chalk": "^4.0.0",
    "commander": "^14.0.3",
    "cross-fetch": "^4.0.0",
    "eslint": "^8.6.0",
    "eslint-config-prettier": "^9.0.0",
    "eslint-plugin-deprecation": "^3.0.0",
    "eslint-plugin-import": "^2.31.0",
    "eslint-plugin-jest": "^28.9.0",
    "eslint-plugin-jsx-a11y": "^6.10.2",
    "eslint-plugin-react": "^7.37.2",
    "eslint-plugin-react-hooks": "^5.0.0",
    "eslint-plugin-unused-imports": "^4.1.4",
    "fs-extra": "^11.2.0",
    "glob": "^13.0.0",
    "jest-css-modules": "^2.1.0",
    "pirates": "^4.0.6",
    "postcss": "^8.1.0",
    "sucrase": "^3.20.2",
    "yaml": "^2.0.0"
  },
  "devDependencies": {
    "@backstage/backend-plugin-api": "^1.9.1",
    "@backstage/backend-test-utils": "^1.11.3",
    "@backstage/catalog-client": "^1.15.1",
    "@backstage/config": "^1.3.8",
    "@backstage/core-app-api": "^1.20.1",
    "@backstage/core-components": "^0.18.10",
    "@backstage/core-plugin-api": "^1.12.6",
    "@backstage/dev-utils": "^1.1.23",
    "@backstage/plugin-auth-backend": "^0.29.0",
    "@backstage/plugin-auth-backend-module-guest-provider": "^0.2.19",
    "@backstage/plugin-catalog-node": "^2.2.1",
    "@backstage/plugin-scaffolder-node": "^0.13.3",
    "@backstage/plugin-scaffolder-node-test-utils": "^0.3.11",
    "@backstage/test-utils": "^1.7.18",
    "@backstage/theme": "^0.7.3",
    "@jest/environment-jsdom-abstract": "~30.2.0",
    "@types/fs-extra": "^11.0.0",
    "@types/jest": "^30.0.0",
    "@types/node": "^22.13.14",
    "jest": "~30.2.0",
    "jsdom": "^27.1.0",
    "nodemon": "^3.0.1"
  },
  "peerDependencies": {
    "@jest/environment-jsdom-abstract": "^30.0.0",
    "jest": "^29.0.0 || ^30.0.0",
    "jest-environment-jsdom": "*",
    "jsdom": "^27.1.0"
  },
  "peerDependenciesMeta": {
    "@jest/environment-jsdom-abstract": {
      "optional": true
    },
    "jest-environment-jsdom": {
      "optional": true
    },
    "jsdom": {
      "optional": true
    }
  },
  "configSchema": {
    "$schema": "https://backstage.io/schema/config-v1",
    "title": "@backstage/cli",
    "type": "object",
    "properties": {
      "app": {
        "type": "object",
        "properties": {
          "baseUrl": {
            "type": "string",
            "visibility": "frontend"
          },
          "title": {
            "type": "string",
            "visibility": "frontend"
          },
          "datadogRum": {
            "type": "object",
            "description": "Datadog RUM events configuration",
            "properties": {
              "env": {
                "type": "string",
                "visibility": "frontend",
                "description": "Environment for Datadog RUM events"
              },
              "clientToken": {
                "type": "string",
                "visibility": "frontend",
                "description": "clientToken for Datadog RUM events"
              },
              "applicationId": {
                "type": "string",
                "visibility": "frontend",
                "description": "applicationId for Datadog RUM events"
              },
              "site": {
                "type": "string",
                "visibility": "frontend",
                "description": "site for Datadog RUM events"
              },
              "sessionSampleRate": {
                "type": "number",
                "visibility": "frontend",
                "description": "sample rate of Datadog RUM events"
              },
              "sessionReplaySampleRate": {
                "type": "number",
                "visibility": "frontend",
                "description": "sample rate of session replays based upon already sampled Datadog RUM events"
              }
            },
            "required": [
              "clientToken",
              "applicationId"
            ]
          },
          "listen": {
            "type": "object",
            "description": "Listening configuration for local development",
            "properties": {
              "host": {
                "type": "string",
                "visibility": "frontend",
                "description": "The host that the frontend should be bound to. Only used for local development."
              },
              "port": {
                "type": "number",
                "visibility": "frontend",
                "description": "The port that the frontend should be bound to. Only used for local development."
              }
            }
          },
          "https": {
            "type": "object",
            "description": "Only used for local development. The https object is passed to webpack in order to enable using https on localhost.",
            "properties": {
              "certificate": {
                "type": "object",
                "description": "Parent object containing certificate and the private key",
                "required": [
                  "key",
                  "cert"
                ],
                "properties": {
                  "key": {
                    "type": "string",
                    "visibility": "secret",
                    "description": "Https Certificate private key. Use $file to load in a file"
                  },
                  "cert": {
                    "type": "string",
                    "visibility": "secret",
                    "description": "Https Certificate. Use $file to load in a file"
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}