{
  "name": "@disciple.tools/web-components",
  "description": "Disciple.Tools Web components following open-wc recommendations",
  "author": "disciple.tools",
  "repository": {
    "type": "git",
    "url": "https://github.com/DiscipleTools/disciple-tools-web-components"
  },
  "license": "GPL-2.0-or-later",
  "homepage": "https://github.com/DiscipleTools/disciple-tools-web-components",
  "version": "1.0.0",
  "main": "index.js",
  "type": "module",
  "module": "index.js",
  "engines": {
    "node": ">=20.0.0",
    "npm": ">=7.0.0"
  },
  "exports": {
    ".": {
      "import": "./index.js",
      "require": "./dist/index.umd.cjs"
    },
    "./styles/*.css": {
      "style": "./src/styles/*.css"
    },
    "./index.js": {
      "script": "./dist/index.js"
    }
  },
  "scripts": {
    "analyze": "cem analyze --config \"./custom-elements-manifest.config.js\"",
    "start": "vite",
    "lint": "eslint --ext .js,.html . --ignore-path .gitignore && prettier \"**/*.js\" --check --ignore-path .gitignore",
    "format": "eslint --ext .js,.html . --fix --ignore-path .gitignore && prettier \"**/*.js\" --write --ignore-path .gitignore",
    "prepare": "husky",
    "test": "web-test-runner --coverage --concurrency 1",
    "test:watch": "web-test-runner --watch --concurrency 1",
    "storybook": "npm run analyze && storybook dev -p 8080",
    "storybook:build": "npm run analyze && storybook build && cp netlify.toml storybook-static",
    "storybook:serve": "npx serve storybook-static",
    "build": "vite build",
    "postbuild": "rm -rf ./samples/html/js && cp -R ./dist ./samples/html/js",
    "localize:extract": "lit-localize extract",
    "localize:build": "lit-localize build",
    "skills": "dotenvx run --convention=nextjs --quiet -- ./skills.sh",
    "postinstall": "npm run skills"
  },
  "dependencies": {
    "@dotenvx/dotenvx": "^1.52.0",
    "@lit/localize": "^0.12.1",
    "iconify-icon": "^1.0.2",
    "lit": "^3.1.4"
  },
  "devDependencies": {
    "@chromatic-com/storybook": "^1.5.0",
    "@custom-elements-manifest/analyzer": "^0.10.2",
    "@esm-bundle/chai": "^4.3.4-fix.0",
    "@lit/localize-tools": "^0.7.2",
    "@open-wc/eslint-config": "^12.0.3",
    "@open-wc/testing": "^4.0.0",
    "@remcovaes/web-test-runner-vite-plugin": "^1.2.1",
    "@storybook/addon-actions": "8.5.8",
    "@storybook/addon-essentials": "8.5.8",
    "@storybook/addon-interactions": "8.5.8",
    "@storybook/addon-links": "8.5.8",
    "@storybook/addon-themes": "8.5.8",
    "@storybook/blocks": "8.5.8",
    "@storybook/test": "8.5.8",
    "@storybook/web-components": "8.5.8",
    "@storybook/web-components-vite": "8.5.8",
    "@web/dev-server-legacy": "^2.1.1",
    "@web/test-runner": "^0.18.2",
    "@web/test-runner-commands": "^0.9.0",
    "element-internals-polyfill": "^1.3.11",
    "eslint": "^8.57.0",
    "eslint-config-prettier": "^9.1.0",
    "husky": "^9.0.11",
    "lint-staged": "^15.2.7",
    "prettier": "^3.3.2",
    "remark-gfm": "^4.0.0",
    "skills": "^1.3.1",
    "storybook": "8.5.8",
    "vite": "^5.3.1"
  },
  "customElements": "custom-elements.json",
  "eslintConfig": {
    "extends": [
      "@open-wc",
      "prettier"
    ],
    "ignorePatterns": [
      "src/i18n/**",
      "samples",
      "checkNodeVersion.js",
      "*.config.js"
    ],
    "rules": {
      "import/no-extraneous-dependencies": [
        "error",
        {
          "devDependencies": [
            "**/*.test.js",
            "**/*.stories.js"
          ]
        }
      ]
    },
    "overrides": [
      {
        "files": [
          "*.test.js",
          "*.spec.js"
        ],
        "rules": {
          "no-unused-expressions": "off"
        }
      }
    ]
  },
  "prettier": {
    "singleQuote": true,
    "arrowParens": "avoid"
  },
  "lint-staged": {
    "*.js": [
      "eslint --fix",
      "prettier --write"
    ]
  }
}
