{ "version": "0.0.9", "private": true, "description": "Spectrum Web Components are a set of reusable, accessible, and customizable web components following the design language of Adobe Spectrum.", "license": "Apache-2.0", "author": "Adobe", "homepage": "https://spectrum-web-components.adobe.com/", "repository": { "type": "git", "url": "https://github.com/adobe/spectrum-web-components.git" }, "bugs": { "url": "https://github.com/adobe/spectrum-web-components/issues" }, "type": "module", "scripts": { "ai:sync": "node .ai/scripts/sync.js", "build": "run-s build:gen2 build:1st-gen", "build:1st-gen": "yarn workspace @spectrum-web-components/1st-gen build", "build:gen2": "yarn workspace @spectrum-web-components/gen2 build", "changeset:1st-gen": "cd 1st-gen && yarn changeset", "changeset:gen2": "cd gen2 && yarn changeset", "check": "run-s --continue-on-error lint type-check", "check:gen2": "run-s --continue-on-error lint:gen2 type-check:gen2", "format": "run-s --continue-on-error format:eslint format:styles format:prettier", "format:eslint": "eslint ${LINT_PATH:-.} --cache --fix", "format:prettier": "prettier ${LINT_PATH:-.} --cache --write", "format:styles": "stylelint '${LINT_PATH:+$LINT_PATH/**/*.css}${LINT_PATH:-**/*.css}' --cache --fix --allow-empty-input", "generate:icon-styles": "yarn workspace @adobe/spectrum-wc-icons generate:icon-styles", "generate:llms": "node scripts/generate-llms-txt.js", "generate:skills": "node scripts/generate-agent-skills.mjs", "generate:ui-icons": "yarn workspace @adobe/spectrum-wc generate:ui-icons", "generate:workflow-icons": "yarn workspace @adobe/spectrum-wc-icons generate:workflow-icons", "install:browsers:1st-gen": "yarn dlx playwright@1.53.1 install --with-deps", "lint": "run-s --continue-on-error lint:eslint lint:styles lint:prettier lint:ai", "lint:1st-gen": "LINT_PATH=1st-gen yarn lint", "lint:ai": "node .ai/scripts/validate.js && node --test .ai/scripts/sync.test.js", "lint:docs-pages": "node scripts/validate-docs-pages.js", "lint:eslint": "echo 'Linting with ESLint...' && eslint ${LINT_PATH:-.} --cache", "lint:gen2": "LINT_PATH=gen2 yarn lint", "lint:prettier": "echo 'Linting with Prettier...' && prettier ${LINT_PATH:-.} --cache --check", "lint:styles": "echo 'Linting with Stylelint...' && stylelint \"${LINT_PATH:-.}\"'/**/*.css' --ignore-pattern '1st-gen/**' --cache --allow-empty-input", "postinstall": "husky || true", "start": "run-p start:gen2 start:1st-gen", "start:1st-gen": "yarn workspace @spectrum-web-components/1st-gen start", "start:gen2": "yarn workspace @spectrum-web-components/gen2 start", "test": "run-p test:gen2 test:1st-gen test:linters", "test:1st-gen": "yarn workspace @spectrum-web-components/1st-gen test", "test:a11y": "playwright test --config=playwright.a11y.config.ts", "test:a11y:1st": "playwright test --config=playwright.a11y.config.ts --project=1st-gen", "test:a11y:gen2": "playwright test --config=playwright.a11y.gen2.config.ts", "test:a11y:report": "playwright show-report gen2/test/playwright-a11y/report", "test:a11y:ui": "playwright test --config=playwright.a11y.config.ts --ui", "test:gen2": "yarn test:helper && yarn workspace @spectrum-web-components/gen2 test", "test:helper": "node --test gen2/test/helpers/test/*.test.js", "test:linters": "yarn workspace @spectrum-web-components/eslint-plugin test", "tokens:diff": "yarn workspace @adobe/swc-tokens diff:versions", "tokens:fix": "yarn workspace @adobe/swc-tokens fix:tokens", "tokens:test": "yarn workspace @adobe/swc-tokens test && yarn workspace @adobe/postcss-token test && yarn workspace swc-vscode-token test", "tokens:update": "yarn tokens:test && yarn workspace swc-vscode-token tokens && yarn workspace @adobe/spectrum-wc stylesheet:tokens && yarn workspace @adobe/spectrum-wc stylesheet:typography", "type-check": "yarn type-check:gen2", "type-check:gen2": "tsc -b gen2/packages/core gen2/packages/icons gen2/packages/swc --pretty false" }, "workspaces": [ "1st-gen", "1st-gen/packages/*", "1st-gen/projects/*", "1st-gen/tools/*", "gen2", "gen2/packages/*", "gen2/packages/tools/*", "linters/*" ], "resolutions": { "@web/test-runner-coverage-v8": "patch:@web/test-runner-coverage-v8@npm%3A0.8.0#~/.yarn/patches/@web-test-runner-coverage-v8-npm-0.8.0-b19cf60e5f.patch", "@web/test-runner-playwright/playwright": "1.53.1", "axe-core": "4.13.0", "basic-ftp": "5.2.0" }, "dependenciesMeta": { "keytar@7.9.0": { "built": false } }, "devDependencies": { "@axe-core/playwright": "4.13.0", "@changesets/cli": "2.29.7", "@commitlint/cli": "19.8.1", "@commitlint/config-conventional": "19.8.1", "@eslint/js": "9.39.2", "@playwright/test": "1.64.1", "@spectrum-web-components/eslint-plugin": "workspace:*", "@spectrum-web-components/stylelint-header-plugin": "workspace:*", "@typescript-eslint/eslint-plugin": "8.54.0", "@typescript-eslint/parser": "8.54.0", "eslint": "9.39.2", "eslint-config-prettier": "10.1.8", "eslint-plugin-import": "2.32.0", "eslint-plugin-jsdoc": "62.5.0", "eslint-plugin-jsonc": "2.21.0", "eslint-plugin-lit": "2.1.1", "eslint-plugin-lit-a11y": "4.1.4", "eslint-plugin-mdx": "3.6.2", "eslint-plugin-notice": "1.0.0", "eslint-plugin-simple-import-sort": "12.1.1", "eslint-plugin-storybook": "10.2.1", "eslint-plugin-wc": "3.0.1", "globals": "17.3.0", "husky": "9.1.7", "jsonc-eslint-parser": "2.4.2", "lint-staged": "16.2.6", "npm-run-all2": "8.0.4", "prettier": "3.8.1", "prettier-plugin-package": "1.4.0", "replace-in-file": "8.3.0", "start-server-and-test": "2.1.5", "stylelint": "17.1.1", "stylelint-config-standard": "40.0.0", "stylelint-declaration-strict-value": "1.10.11", "stylelint-order": "7.0.1", "typescript": "5.9.2", "typescript-eslint": "8.54.0", "yaml": "2.8.1", "yargs": "17.7.2" }, "keywords": [ "design-system", "spectrum", "adobe", "adobe-spectrum", "web components", "web-components", "lit-element", "lit-html" ], "engines": { "node": ">=24.22.1", "yarn": ">=4.12.0" }, "packageManager": "yarn@4.19.0" }