{
  "name": "@nvidia-elements/monaco",
  "version": "2.0.1",
  "release": {
    "extends": "../../release.config.js"
  },
  "description": "Provides integration with VS Code's Monaco editor for code editing, syntax highlighting, and diff visualization.",
  "keywords": [
    "monaco",
    "code-editor",
    "web-components"
  ],
  "homepage": "https://NVIDIA.github.io/elements/",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/NVIDIA/elements.git",
    "directory": "projects/monaco"
  },
  "type": "module",
  "customElements": "dist/custom-elements.json",
  "contributes": {
    "html": {
      "customData": [
        "./dist/data.html.json"
      ]
    },
    "snippets": [
      {
        "language": "html",
        "path": "./dist/data.snippets.json"
      }
    ]
  },
  "files": [
    "README.md",
    "CHANGELOG.md",
    "NOTICE.md",
    "package.json",
    "dist/**/*"
  ],
  "exports": {
    "./package.json": "./package.json",
    "./custom-elements.json": "./dist/custom-elements.json",
    "./custom-elements-jsx": {
      "types": "./dist/custom-elements-jsx.d.ts"
    },
    "./data.html.json": "./dist/data.html.json",
    "./data.snippets.json": "./dist/data.snippets.json",
    "./*.examples.json": "./dist/*.examples.json",
    ".": {
      "types": "./dist/index.d.ts",
      "default": "./dist/index.js"
    },
    "./index.js": {
      "types": "./dist/index.d.ts",
      "default": "./dist/index.js"
    },
    "./monaco.js": {
      "types": "./dist/monaco.d.ts",
      "default": "./dist/monaco.js"
    },
    "./diff-editor": {
      "types": "./dist/diff-editor/index.d.ts",
      "default": "./dist/diff-editor/index.js"
    },
    "./diff-editor/index.js": {
      "types": "./dist/diff-editor/index.d.ts",
      "default": "./dist/diff-editor/index.js"
    },
    "./diff-editor/define.js": {
      "types": "./dist/diff-editor/define.d.ts",
      "default": "./dist/diff-editor/define.js"
    },
    "./diff-input": {
      "types": "./dist/diff-input/index.d.ts",
      "default": "./dist/diff-input/index.js"
    },
    "./diff-input/index.js": {
      "types": "./dist/diff-input/index.d.ts",
      "default": "./dist/diff-input/index.js"
    },
    "./diff-input/define.js": {
      "types": "./dist/diff-input/define.d.ts",
      "default": "./dist/diff-input/define.js"
    },
    "./editor": {
      "types": "./dist/editor/index.d.ts",
      "default": "./dist/editor/index.js"
    },
    "./editor/index.js": {
      "types": "./dist/editor/index.d.ts",
      "default": "./dist/editor/index.js"
    },
    "./editor/define.js": {
      "types": "./dist/editor/define.d.ts",
      "default": "./dist/editor/define.js"
    },
    "./environment.js": {
      "types": "./dist/environment.d.ts",
      "default": "./dist/environment.js"
    },
    "./input": {
      "types": "./dist/input/index.d.ts",
      "default": "./dist/input/index.js"
    },
    "./input/index.js": {
      "types": "./dist/input/index.d.ts",
      "default": "./dist/input/index.js"
    },
    "./input/define.js": {
      "types": "./dist/input/define.d.ts",
      "default": "./dist/input/define.js"
    },
    "./problems": {
      "types": "./dist/problems/index.d.ts",
      "default": "./dist/problems/index.js"
    },
    "./problems/index.js": {
      "types": "./dist/problems/index.d.ts",
      "default": "./dist/problems/index.js"
    },
    "./problems/define.js": {
      "types": "./dist/problems/define.d.ts",
      "default": "./dist/problems/define.js"
    },
    "./themes": {
      "types": "./dist/themes/index.d.ts",
      "default": "./dist/themes/index.js"
    },
    "./themes/index.js": {
      "types": "./dist/themes/index.d.ts",
      "default": "./dist/themes/index.js"
    },
    "./workers/css.worker.js": {
      "types": "./dist/workers/css.worker.d.ts",
      "default": "./dist/workers/css.worker.js"
    },
    "./workers/editor.worker.js": {
      "types": "./dist/workers/editor.worker.d.ts",
      "default": "./dist/workers/editor.worker.js"
    },
    "./workers/html.worker.js": {
      "types": "./dist/workers/html.worker.d.ts",
      "default": "./dist/workers/html.worker.js"
    },
    "./workers/json.worker.js": {
      "types": "./dist/workers/json.worker.d.ts",
      "default": "./dist/workers/json.worker.js"
    },
    "./workers/ts.worker.js": {
      "types": "./dist/workers/ts.worker.d.ts",
      "default": "./dist/workers/ts.worker.js"
    }
  },
  "sideEffects": true,
  "dependencies": {
    "lit": "^3.3.3",
    "lit-html": "^3.3.3",
    "@nvidia-elements/forms": "^2.0.0"
  },
  "peerDependencies": {
    "@nvidia-elements/themes": "^2.0.0",
    "@nvidia-elements/core": "^2.0.1"
  },
  "devDependencies": {
    "@eslint/js": "10.0.1",
    "@types/node": "25.6.2",
    "@vitest/browser": "4.1.7",
    "@vitest/coverage-istanbul": "4.1.7",
    "axe-core": "4.11.0",
    "colorjs.io": "0.5.2",
    "dts-bundle-generator": "9.5.1",
    "esbuild": "0.27.4",
    "eslint": "10.4.0",
    "lit": "3.3.3",
    "lit-html": "3.3.3",
    "monaco-editor": "0.55.1",
    "stylelint": "17.12.0",
    "stylelint-config-standard": "40.0.0",
    "postcss": "8.5.15",
    "publint": "0.3.21",
    "typescript": "6.0.3",
    "vite": "8.0.14",
    "vitest": "4.1.7",
    "@internals/eslint": "0.0.0",
    "@nvidia-elements/lint": "2.0.0",
    "@nvidia-elements/core": "2.0.1",
    "@internals/vite": "0.0.0",
    "@internals/testing": "0.0.0",
    "@nvidia-elements/styles": "2.0.1",
    "@nvidia-elements/themes": "2.0.0"
  },
  "wireit": {
    "dev": {
      "command": "vite",
      "dependencies": [
        "build:watch"
      ]
    },
    "ci": {
      "dependencies": [
        "build",
        "lint",
        "publint",
        "test:axe",
        "test:coverage",
        "test:visual"
      ]
    },
    "publint": {
      "dependencies": [
        "build"
      ],
      "command": "publint",
      "files": [
        "package.json"
      ],
      "output": []
    },
    "build": {
      "command": "NODE_ENV=production vite build",
      "files": [
        "../core/dist/internal/utils/dom.js",
        "../core/dist/internal/styles/**",
        "!../core/dist/**/*.examples.js",
        "../forms/dist/**/*.js",
        "!../forms/dist/**/*.examples.js",
        "../themes/dist/**/*.css",
        "src/**",
        "!src/**/*.test.ts",
        "!src/**/*.test.lighthouse.ts",
        "!src/**/*.test.visual.ts",
        "!src/**/*.test.axe.ts",
        "!src/**/*.test.ssr.ts",
        "!src/**/__screenshots__/**",
        "!src/themes/generated/**",
        "!src/vendor/**",
        "package.json",
        "tsconfig.json",
        "tsconfig.lib.json",
        "vite.config.ts",
        "vite.bundle.ts"
      ],
      "output": [
        "dist/**",
        "!dist/data.snippets.json"
      ],
      "dependencies": [
        "build:prebundle",
        "build:themes",
        "../internals/vite:ci",
        {
          "script": "../core:build",
          "cascade": false
        },
        {
          "script": "../forms:build",
          "cascade": false
        },
        {
          "script": "../themes:build",
          "cascade": false
        }
      ]
    },
    "build:watch": {
      "command": "vite build --watch",
      "service": true,
      "dependencies": [
        "build"
      ]
    },
    "build:prebundle": {
      "command": "node ./build/prebundle.ts",
      "files": [
        "build/prebundle.ts",
        "build/tsconfig.json",
        "../../patches/monaco-editor.patch"
      ],
      "output": [
        "src/vendor/monaco-editor/**"
      ]
    },
    "build:themes": {
      "command": "node ./build/themes.ts",
      "files": [
        "../themes/dist/**/*.json",
        "build/themes.ts",
        "build/tsconfig.json",
        "src/themes/*.json"
      ],
      "output": [
        "src/themes/generated/*.json"
      ],
      "dependencies": [
        {
          "script": "../themes:build",
          "cascade": false
        }
      ]
    },
    "test": {
      "command": "vitest run",
      "files": [
        "dist/**/*.js",
        "!dist/**/*.examples.js",
        "src/**/*.test.ts",
        "!src/**/__screenshots__/**",
        "tsconfig.json",
        "vitest.config.ts"
      ],
      "output": [],
      "dependencies": [
        "../internals/testing:build",
        "../internals/vite:ci",
        {
          "script": "build",
          "cascade": false
        }
      ]
    },
    "test:coverage": {
      "command": "vitest run --coverage",
      "files": [
        "dist/**/*.js",
        "!dist/**/*.examples.js",
        "src/**/*.test.ts",
        "!src/**/__screenshots__/**",
        "tsconfig.json",
        "vitest.config.ts"
      ],
      "output": [],
      "dependencies": [
        "../internals/testing:build",
        "../internals/vite:ci",
        {
          "script": "build",
          "cascade": false
        }
      ]
    },
    "test:watch": {
      "command": "vitest --watch",
      "service": true
    },
    "test:lighthouse": {
      "command": "playwright-lock 'vitest run --config=vitest.lighthouse.ts'",
      "files": [
        "dist/**/*.js",
        "!dist/**/*.examples.js",
        "src/index.test.lighthouse.ts",
        "src/**/*.test.lighthouse.ts",
        "vitest.lighthouse.html",
        "vitest.lighthouse.ts"
      ],
      "output": [
        ".lighthouse"
      ],
      "dependencies": [
        "../internals/vite:ci",
        {
          "script": "build",
          "cascade": false
        }
      ],
      "env": {
        "NODE_ENV": "production"
      }
    },
    "test:axe": {
      "command": "vitest run --config=vitest.axe.ts",
      "files": [
        "dist/**/*.js",
        "!dist/**/*.examples.js",
        "src/**/*.test.axe.ts",
        "tsconfig.json",
        "vitest.axe.ts"
      ],
      "output": [
        "coverage/axe/**"
      ],
      "dependencies": [
        "../internals/testing:build",
        "../internals/vite:ci",
        {
          "script": "build",
          "cascade": false
        }
      ],
      "env": {
        "NODE_ENV": "production"
      }
    },
    "test:visual": {
      "command": "vitest run --config=vitest.visual.ts",
      "clean": false,
      "files": [
        "dist/**/*.js",
        "!dist/**/*.examples.js",
        "src/index.test.visual.ts",
        "src/**/*.test.visual.ts",
        "vitest.visual.html",
        "vitest.visual.ts"
      ],
      "output": [
        ".visual/*.png",
        "coverage/visual/**"
      ],
      "dependencies": [
        "../internals/vite:ci",
        {
          "script": "build",
          "cascade": false
        }
      ]
    },
    "lint": {
      "dependencies": [
        "lint:eslint",
        "lint:style"
      ]
    },
    "lint:eslint": {
      "command": "eslint -c ./eslint.config.js --color --cache --cache-location .eslintcache/",
      "files": [
        "src/**/*.ts",
        "eslint.config.js",
        "!src/**/__screenshots__/**",
        "!src/themes/generated/**",
        "!src/vendor/**"
      ],
      "output": [],
      "dependencies": [
        "../internals/eslint:ci",
        "../lint:build"
      ]
    },
    "lint:style": {
      "command": "stylelint 'src/**/*.css' --config=../../stylelint.config.mjs",
      "files": [
        "src/**/*.css",
        "!src/vendor/**",
        "../../stylelint.config.mjs"
      ],
      "output": []
    },
    "lint:fix": {
      "command": "eslint -c ./eslint.config.js --fix",
      "dependencies": [
        "../internals/eslint:ci",
        "../lint:build"
      ]
    }
  },
  "publishConfig": {
    "provenance": true
  },
  "license": "Apache-2.0",
  "scripts": {
    "ci": "wireit",
    "dev": "wireit",
    "build": "wireit",
    "build:watch": "wireit",
    "build:prebundle": "wireit",
    "build:themes": "wireit",
    "lint": "wireit",
    "test": "wireit",
    "test:axe": "wireit",
    "test:coverage": "wireit",
    "test:watch": "wireit",
    "test:lighthouse": "wireit",
    "test:visual": "wireit"
  }
}