{
  "name": "@egov-moldova/mud",
  "version": "1.1.5",
  "description": "MUD Design System — Stencil web components",
  "main": "dist/index.cjs.js",
  "unpkg": "dist/mud/mud.esm.js",
  "module": "dist/index.js",
  "types": "dist/types/index.d.ts",
  "collection": "dist/collection/collection-manifest.json",
  "collection:main": "dist/collection/index.js",
  "es2015": "dist/esm/index.mjs",
  "es2017": "dist/esm/index.mjs",
  "exports": {
    ".": {
      "types": "./dist/types/index.d.ts",
      "import": "./dist/index.js",
      "require": "./dist/index.cjs.js"
    },
    "./loader": {
      "types": "./loader/index.d.ts",
      "import": "./loader/index.js",
      "require": "./loader/index.cjs.js"
    },
    "./dist/mud/mud.css": "./dist/mud/mud.css",
    "./dist/mud/tokens/*.css": "./dist/mud/tokens/*.css",
    "./dist/mud/*": "./dist/mud/*",
    "./dist/components": {
      "types": "./dist/components/index.d.ts",
      "import": "./dist/components/index.js"
    },
    "./dist/components/*": "./dist/components/*"
  },
  "workspaces": [
    "web-components",
    "react"
  ],
  "resolutions": {
    "undici-types": "~7.19.0"
  },
  "files": [
    "dist/",
    "loader/"
  ],
  "publishConfig": {
    "access": "public",
    "registry": "https://registry.npmjs.org/"
  },
  "scripts": {
    "prepare": "husky install && node scripts/git/setup-merge-drivers.mjs",
    "build": "wireit",
    "build.age": "yarn cross-env STORYBOOK_BASE_PATH=/age/ yarn sp.build",
    "build.web": "wireit",
    "build.react": "stencil build --docs --react && node scripts/copy-component-assets.mjs && yarn workspace @egov-moldova/mud-react build",
    "demo.web": "wireit",
    "demo.web.build": "wireit",
    "build.watch": "stencil build --dev --watch",
    "dx:prepare": "wireit",
    "dev": "wireit",
    "dx:stencil": "wireit",
    "dx:storybook": "wireit",
    "dx:stencil:once": "wireit",
    "dx:clean": "rimraf .stencil .wireit storybook-static dist loader www",
    "format": "eslint \"src/**/*.{ts,tsx}\" --fix && prettier --write .",
    "format.fix": "wireit",
    "format.icons": "svgo -f ./src/assets/images/icons --config=./svgo.config.icons.js",
    "lint": "wireit",
    "lint.js": "wireit",
    "lint.css": "wireit",
    "lint.css.fix": "stylelint \"src/**/*.css\" --fix --allow-empty-input",
    "lint.colors": "node scripts/hardcoded-colors.mjs",
    "sp.build": "wireit",
    "sp.dev": "storybook dev -p 6007 --no-open",
    "sp.dev.watch": "wireit",
    "sp.docker": "cross-env CI=1 STORYBOOK_DISABLE_TELEMETRY=1 NODE_ENV=production storybook build --disable-telemetry -o storybook-static && node scripts/cleanup-storybook-fonts.mjs",
    "sp.serve": "yarn dlx serve storybook-static -p 6008",
    "start": "stencil build --dev --watch --serve",
    "test": "wireit",
    "test.dev": "stencil-test --project spec",
    "test.watch": "stencil-test --project spec --watch",
    "test.storybook": "vitest --project storybook --run",
    "test.storybook.watch": "wireit",
    "test:scripts": "node --test \"scripts/__tests__/**/*.spec.mjs\"",
    "check": "wireit",
    "check.ci": "wireit",
    "check.verify": "wireit",
    "typecheck": "wireit",
    "tokens.build": "wireit",
    "tokens.build.prod": "wireit",
    "tokens.audit": "node scripts/debug-missing-token-references.mjs tokens/core/style-dictionary.config.json",
    "audit:contrast": "node scripts/audit-token-contrast.mjs",
    "tokens.audit.dark": "node scripts/debug-missing-token-references.mjs tokens/core.dark/style-dictionary.config.json",
    "tokens.lint": "node scripts/tokens-lint.mjs --root tokens/core",
    "tokens.lint.dark": "node scripts/tokens-lint.mjs --root tokens/core.dark",
    "tokens.lint.all": "node scripts/tokens-lint.mjs --root tokens/core --root tokens/core.dark",
    "tokens.validate": "node scripts/tokens-validate.mjs --no-color",
    "tokens.watch": "wireit",
    "wca.custom-elements": "wireit",
    "svg:remove-size": "svgo -f assets/icons --config svgo.config.icons.js --recursive",
    "svg:remove-fill": "svgo -f assets/icons --config svgo.config.icons.js --recursive",
    "svg:icons": "yarn svg:remove-size && yarn svg:remove-fill && yarn format && node scripts/process-svg.js -i assets/icons -s src/components/mud-icon/assets/local-icons.json",
    "sync:tokens": "node scripts/sync-tokens-from-tokenhaus.mjs --input tokens-tokenhaus.json --output tokens/figma-export",
    "sync:tokens:apply": "node scripts/sync-tokens-from-tokenhaus.mjs --input tokens-tokenhaus.json --apply",
    "audit:structure": "node scripts/audit/01-component-structure.mjs",
    "audit:antipatterns": "node scripts/audit/02-stencil-antipatterns.mjs",
    "audit:git-hygiene": "node scripts/audit/03-git-hygiene.mjs",
    "audit:jsdoc": "node scripts/audit/04-jsdoc-completeness.mjs",
    "audit:story-exports": "node scripts/audit/05-story-exports.mjs",
    "audit:test-coverage": "node scripts/audit/06-test-coverage.mjs",
    "audit:integration": "node scripts/audit/07-integration-usage.mjs",
    "audit:bundle-size": "node scripts/audit/08-bundle-size.mjs",
    "audit:token-diff": "node scripts/audit/13-token-diff.mjs",
    "audit:contract": "node scripts/audit/14-component-contract.mjs",
    "audit:a11y-tree": "node scripts/audit/09-a11y-tree.mjs",
    "audit:contrast-pairs": "node scripts/audit/10-contrast-pairs.mjs",
    "audit:pixel-diff": "node scripts/audit/11-pixel-diff-states.mjs",
    "audit:console-errors": "node scripts/audit/12-console-errors.mjs",
    "audit:all": "node scripts/audit/run-all.mjs",
    "audit:all:no-browser": "node scripts/audit/run-all.mjs --no-browser",
    "audit:test": "node scripts/audit/__tests__/02-antipatterns.test.mjs",
    "scaffold:story": "node scripts/scaffold/story-scaffold.mjs",
    "scaffold:test": "node scripts/scaffold/test-scaffold.mjs",
    "cleanup:agents": "node scripts/cleanup-agents.mjs",
    "cleanup:agents:dry": "node scripts/cleanup-agents.mjs --dry-run"
  },
  "wireit": {
    "tokens.build.core": {
      "command": "style-dictionary build --config tokens/core/style-dictionary.config.json",
      "files": [
        "tokens/core/**/*.tokens.json",
        "tokens/core/style-dictionary.config.json"
      ],
      "output": [
        "tokens/generated/core.tokens.css"
      ],
      "packageLocks": [
        "yarn.lock"
      ]
    },
    "tokens.build.dark": {
      "command": "style-dictionary build --config tokens/core.dark/style-dictionary.config.json",
      "files": [
        "tokens/core/**/*.tokens.json",
        "tokens/core.dark/**/*.tokens.json",
        "tokens/core.dark/style-dictionary.config.json"
      ],
      "output": [
        "tokens/generated/core.dark.tokens.css"
      ],
      "packageLocks": [
        "yarn.lock"
      ]
    },
    "tokens.build": {
      "dependencies": [
        "tokens.build.core",
        "tokens.build.dark"
      ]
    },
    "tokens.build.prod.core": {
      "command": "style-dictionary build --config tokens/core/style-dictionary.prod.config.json",
      "files": [
        "tokens/core/**/*.tokens.json",
        "tokens/core/style-dictionary.prod.config.json"
      ],
      "output": [
        "dist/mud/tokens/core.tokens.css",
        ".storybook/stories/assets/core.tokens.json",
        "tokens/generated/core.tokens.json"
      ],
      "packageLocks": [
        "yarn.lock"
      ]
    },
    "tokens.build.prod.dark": {
      "command": "style-dictionary build --config tokens/core.dark/style-dictionary.prod.config.json",
      "files": [
        "tokens/core/**/*.tokens.json",
        "tokens/core.dark/**/*.tokens.json",
        "tokens/core.dark/style-dictionary.prod.config.json"
      ],
      "output": [
        "dist/mud/tokens/core.dark.tokens.css",
        ".storybook/stories/assets/core.dark.tokens.json",
        "tokens/generated/core.dark.tokens.json"
      ],
      "packageLocks": [
        "yarn.lock"
      ]
    },
    "tokens.build.prod": {
      "dependencies": [
        "tokens.build.prod.core",
        "tokens.build.prod.dark"
      ]
    },
    "tokens.watch": {
      "command": "node scripts/tokens-watch.mjs",
      "service": true,
      "files": [
        "scripts/tokens-watch.mjs"
      ]
    },
    "wca.custom-elements": {
      "command": "wca analyze src/components --format json --outFile .storybook/custom-elements.json && node scripts/ensure-custom-elements-manifest.mjs",
      "files": [
        "src/components/**/*.ts",
        "src/components/**/*.tsx",
        "scripts/ensure-custom-elements-manifest.mjs"
      ],
      "output": [
        ".storybook/custom-elements.json"
      ],
      "packageLocks": [
        "yarn.lock"
      ]
    },
    "build": {
      "command": "cross-env NODE_OPTIONS=--max-old-space-size=4096 stencil build --docs",
      "dependencies": [
        "tokens.build.prod",
        "wca.custom-elements"
      ],
      "clean": false,
      "files": [
        "src/**/*.ts",
        "src/**/*.tsx",
        "src/**/*.css",
        "src/assets/**/*",
        "stencil.config.ts",
        "tsconfig.json"
      ],
      "output": [
        "dist/**",
        "loader/**"
      ],
      "packageLocks": [
        "yarn.lock"
      ]
    },
    "build.web": {
      "command": "yarn workspace @egov-moldova/mud-web-components build",
      "dependencies": [
        "build"
      ],
      "files": [
        "web-components/src/**/*.ts",
        "web-components/tsconfig.json",
        "web-components/package.json"
      ],
      "output": [
        "web-components/dist/**"
      ],
      "packageLocks": [
        "yarn.lock"
      ]
    },
    "demo.web": {
      "command": "yarn workspace @egov-moldova/mud-web-components demo",
      "dependencies": [
        "build"
      ],
      "service": true
    },
    "demo.web.build": {
      "command": "yarn workspace @egov-moldova/mud-web-components demo.build",
      "dependencies": [
        "build"
      ],
      "files": [
        "web-components/demo/**",
        "web-components/package.json"
      ],
      "output": [
        "web-components/demo/dist-demo/**"
      ],
      "packageLocks": [
        "yarn.lock"
      ]
    },
    "dx:prepare": {
      "dependencies": [
        "tokens.build",
        "tokens.build.prod",
        "wca.custom-elements"
      ]
    },
    "dev": {
      "dependencies": [
        "dx:prepare",
        "tokens.watch",
        "dx:stencil",
        "dx:storybook"
      ]
    },
    "test.storybook.watch": {
      "command": "wait-on --interval 200 --timeout 60000 dist/mud/mud.esm.js dist/mud/mud.css tokens/generated/core.tokens.css && vitest --watch --project storybook",
      "dependencies": [
        "dx:prepare"
      ],
      "service": true
    },
    "dx:stencil": {
      "command": "stencil build --dev --watch --serve=false",
      "dependencies": [
        "dx:prepare"
      ],
      "service": true
    },
    "dx:storybook": {
      "command": "wait-on --interval 200 dist/mud/mud.esm.js dist/mud/mud.css tokens/generated/core.tokens.css && storybook dev -p 6007 --no-open",
      "dependencies": [
        "dx:prepare"
      ],
      "service": true,
      "files": [
        ".storybook/**/*"
      ]
    },
    "dx:stencil:once": {
      "command": "stencil build --dev",
      "dependencies": [
        "tokens.build"
      ],
      "files": [
        "src/**/*.ts",
        "src/**/*.tsx",
        "src/**/*.css",
        "stencil.config.ts",
        "tsconfig.json"
      ],
      "output": [
        "dist/**",
        "loader/**"
      ],
      "packageLocks": [
        "yarn.lock"
      ]
    },
    "lint.js": {
      "command": "eslint \"src/**/*.{ts,tsx}\" --max-warnings 0 && prettier --check .",
      "files": [
        "src/**/*.ts",
        "src/**/*.tsx",
        "eslint.config.mjs",
        ".prettierrc.json",
        ".prettierignore"
      ],
      "output": [],
      "packageLocks": [
        "yarn.lock"
      ]
    },
    "format.fix": {
      "command": "eslint \"src/**/*.{ts,tsx}\" --fix && prettier --write .",
      "files": [
        "src/**/*.ts",
        "src/**/*.tsx",
        "src/**/*.css",
        "eslint.config.mjs",
        ".prettierrc.json",
        ".prettierignore"
      ],
      "output": [],
      "packageLocks": [
        "yarn.lock"
      ]
    },
    "check": {
      "command": "yarn check.verify",
      "dependencies": [
        "format.fix"
      ],
      "files": [],
      "output": [],
      "packageLocks": [
        "yarn.lock"
      ]
    },
    "check.ci": {
      "command": "yarn check.verify",
      "files": [],
      "output": [],
      "packageLocks": [
        "yarn.lock"
      ]
    },
    "lint": {
      "dependencies": [
        "lint.js",
        "lint.css"
      ]
    },
    "check.verify": {
      "command": "node -e \"process.exit(0)\"",
      "dependencies": [
        "typecheck",
        "lint",
        "test"
      ],
      "files": [],
      "output": [],
      "packageLocks": [
        "yarn.lock"
      ]
    },
    "lint.css": {
      "command": "stylelint \"src/**/*.css\" --allow-empty-input",
      "files": [
        "src/**/*.css",
        ".stylelintrc.json",
        ".stylelintignore"
      ],
      "output": [],
      "packageLocks": [
        "yarn.lock"
      ]
    },
    "test": {
      "command": "node scripts/check-test-stderr.mjs --project spec",
      "files": [
        "src/**/*.ts",
        "src/**/*.tsx",
        "src/**/*.css",
        "stencil.config.ts",
        "tsconfig.json",
        "vitest.config.mts",
        "vitest-setup.ts",
        "scripts/check-test-stderr.mjs"
      ],
      "output": [],
      "packageLocks": [
        "yarn.lock"
      ]
    },
    "typecheck": {
      "command": "tsc --noEmit",
      "dependencies": [
        "dx:prepare"
      ],
      "files": [
        "src/**/*.ts",
        "src/**/*.tsx",
        "tsconfig.json"
      ],
      "output": [],
      "packageLocks": [
        "yarn.lock"
      ]
    },
    "sp.build": {
      "dependencies": [
        "build",
        "wca.custom-elements"
      ],
      "command": "cross-env CI=1 STORYBOOK_DISABLE_TELEMETRY=1 NODE_ENV=production storybook build --disable-telemetry -o storybook-static && node scripts/cleanup-storybook-fonts.mjs",
      "files": [
        ".storybook/**/*",
        "scripts/cleanup-storybook-fonts.mjs",
        "src/**/*.stories.ts"
      ],
      "output": [
        "storybook-static/**"
      ],
      "packageLocks": [
        "yarn.lock"
      ]
    },
    "sp.dev.watch": {
      "dependencies": [
        "dev"
      ]
    }
  },
  "dependencies": {
    "@stencil/core": "^4.43.4"
  },
  "devDependencies": {
    "@axe-core/playwright": "^4.10.2",
    "@commitlint/cli": "^21.0.1",
    "@commitlint/config-conventional": "^21.0.1",
    "@playwright/test": "^1.60.0",
    "@prettier/plugin-oxc": "^0.1.4",
    "@stencil/eslint-plugin": "^1.3.0",
    "@stencil/postcss": "^2.1.0",
    "@stencil/react-output-target": "^1.5.2",
    "@stencil/vitest": "^1.11.6",
    "@storybook/addon-a11y": "^10.4.0",
    "@storybook/addon-docs": "^10.4.0",
    "@storybook/addon-links": "^10.4.0",
    "@storybook/addon-vitest": "^10.4.0",
    "@storybook/web-components-vite": "^10.4.0",
    "@types/node": "^24.12.4",
    "@typescript-eslint/eslint-plugin": "^8.59.4",
    "@typescript-eslint/parser": "^8.59.4",
    "@vitest/browser-playwright": "^4.1.6",
    "@vitest/coverage-v8": "^4.1.6",
    "@whitespace/storybook-addon-html": "^9.0.0",
    "agent-browser": "latest",
    "agentation": "^3.0.2",
    "commander": "^14.0.3",
    "cross-env": "^10.1.0",
    "eslint": "^10.4.0",
    "eslint-config-prettier": "^10.1.8",
    "eslint-plugin-react": "^7.37.5",
    "eslint-plugin-storybook": "^10.4.0",
    "husky": "^9.1.7",
    "known-css-properties": "^0.37.0",
    "lit": "^3.3.2",
    "lodash": "^4.18.1",
    "oxlint": "^1.66.0",
    "pixelmatch": "^7.1.0",
    "playwright": "^1.60.0",
    "pngjs": "^7.0.0",
    "postcss": "^8.5.14",
    "postcss-nested": "^7.0.2",
    "postcss-preset-env": "^11.1.3",
    "prettier": "^3.8.1",
    "rimraf": "^6.1.2",
    "storybook": "^10.4.0",
    "style-dictionary": "^5.4.1",
    "stylelint": "^17.4.0",
    "stylelint-config-standard": "^40.0.0",
    "stylelint-declaration-strict-value": "^1.11.1",
    "svgo": "^4.0.1",
    "typescript": "^5.9.3",
    "typescript-eslint": "^8.59.4",
    "vite": "^8.0.13",
    "vitest": "^4.1.6",
    "wait-on": "^9.0.3",
    "web-component-analyzer": "^2.0.0",
    "wireit": "^0.14.12"
  },
  "engines": {
    "node": ">=24.0.0 <25.0.0"
  },
  "readme": "./README.md",
  "packageManager": "yarn@4.12.0+sha512.f45ab632439a67f8bc759bf32ead036a1f413287b9042726b7cc4818b7b49e14e9423ba49b18f9e06ea4941c1ad062385b1d8760a8d5091a1a31e5f6219afca8"
}
