Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
138 lines (138 loc) · 5.95 KB
/
Copy pathpackage.json
File metadata and controls
138 lines (138 loc) · 5.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"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",
"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",
"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:+$LINT_PATH/**/*.css}${LINT_PATH:-**/*.css}' --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: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 workspace @spectrum-web-components/gen2 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",
"axe-core": "4.13.0",
"basic-ftp": "5.2.0",
"playwright": "1.53.1"
},
"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.53.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.11.1",
"yarn": ">=4.6.0"
},
"packageManager": "yarn@4.9.2"
}