{
  "name": "ui-toolkit",
  "$schema": "../../node_modules/nx/schemas/project-schema.json",
  "sourceRoot": "libs/ui-toolkit/src",
  "projectType": "library",
  "tags": [],
  "targets": {
    "build": {
      "executor": "@nx/rollup:rollup",
      "outputs": ["{options.outputPath}"],
      "options": {
        "outputPath": "dist/libs/ui-toolkit",
        "tsConfig": "libs/ui-toolkit/tsconfig.lib.json",
        "project": "libs/ui-toolkit/package.json",
        "entryFile": "libs/ui-toolkit/src/index.ts",
        "external": [
          "react",
          "react-dom",
          "react/jsx-runtime",
          "@vegaprotocol/i18n",
          "@vegaprotocol/react-helpers",
          "@vegaprotocol/tailwindcss-config",
          "@vegaprotocol/utils"
        ],
        "rollupConfig": "@nx/react/plugins/bundle-rollup",
        "compiler": "swc",
        "format": ["esm", "cjs"],
        "assets": [
          {
            "glob": "libs/ui-toolkit/README.md",
            "input": ".",
            "output": "."
          }
        ]
      }
    },
    "lint": {
      "executor": "@nx/linter:eslint",
      "outputs": ["{options.outputFile}"],
      "options": {
        "lintFilePatterns": ["libs/ui-toolkit/**/*.{ts,tsx,js,jsx}"]
      }
    },
    "test": {
      "executor": "@nx/jest:jest",
      "outputs": ["{workspaceRoot}/coverage/libs/ui-toolkit"],
      "options": {
        "jestConfig": "libs/ui-toolkit/jest.config.ts",
        "passWithNoTests": true
      },
      "configurations": {
        "ci": {
          "ci": true,
          "codeCoverage": true
        }
      }
    },
    "storybook": {
      "executor": "@nx/storybook:storybook",
      "options": {
        "port": 4400,
        "configDir": "libs/ui-toolkit/.storybook"
      },
      "configurations": {
        "ci": {
          "quiet": true
        }
      }
    },
    "build-storybook": {
      "executor": "@nx/storybook:build",
      "outputs": ["{options.outputDir}"],
      "options": {
        "configDir": "libs/ui-toolkit/.storybook",
        "outputDir": "dist/storybook/ui-toolkit"
      },
      "configurations": {
        "ci": {
          "quiet": true
        }
      }
    },
    "build-spec": {
      "executor": "nx:run-commands",
      "outputs": [],
      "options": {
        "command": "yarn tsc --project ./libs/ui-toolkit/tsconfig.spec.json"
      }
    }
  }
}
