forked from adobe/spectrum-web-components
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
252 lines (252 loc) · 13 KB
/
package.json
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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
{
"name": "@iliad/iliad-ui",
"version": "0.0.9",
"private": true,
"publishConfig": {
"registry": "https://registry-npm.gaoding.com"
},
"description": "",
"homepage": "https://gaoding-inc/Iliad-ui",
"type": "module",
"engines": {
"node": ">=14.15.3",
"yarn": ">=1.16.0"
},
"scripts": {
"analyze": "lit-analyzer \"packages/*/src/**/!(*.css).ts\"",
"analyze:quick": "lit-analyzer \"packages/*/src/!(*.css).ts\"",
"build": "yarn build:css && yarn build:ts && yarn build:decorator && yarn build:compare",
"build:clean": "yarn build:css && yarn build:ts:clean && yarn build:decorator && yarn build:compare",
"build:clear-cache": "rimraf packages/*/lib && rimraf packages/*/tsconfig.tsbuildinfo",
"build:compare": "tsc --build projects/vrt-compare/tsconfig.json",
"build:css": "node ./tasks/build-css.js",
"build:decorator": "tsc --build projects/story-decorator/tsconfig.json",
"build:react": "yarn docs:build && cp projects/documentation/custom-elements.json packages/react && node ./scripts/build-react.js",
"build:style": "lerna run build --scope @iliad-ui/styles && yarn build:clean",
"build:tests": "tsc --build test/tsconfig.json && tsc --build test/tsconfig-node.json",
"build:ts": "node ./tasks/build-packages.js",
"build:ts:clean": "node ./tasks/build-packages-clean.js",
"build:watch": "node ./tasks/watch-packages.js",
"copyright:commit": "node ./scripts/commit-add-copyright.js",
"copyright:pr": "node ./scripts/pr-add-copyright.js",
"custom-element-json": "yarn custom-element-json:elements && yarn custom-element-json:icons",
"custom-element-json:elements": "lerna exec --ignore \"{@iliad-ui/{base,bundle,react,icons-ui,icons-workflow,icons-editor,modal,iconset,shared,styles},documentation,example-project-rollup,example-project-webpack,swc-templates}\" -- cem analyze --config ../../custom-elements-manifest.config.js",
"custom-element-json:icons": "lerna exec --scope \"@iliad-ui/{icons-ui,icons-workflow,icons-editor}\" -- cem analyze --config ../../custom-elements-manifest.config.js",
"docs:analyze": "cem analyze --globs \"packages/**/*.ts\" --exclude \"**/*.d.ts\" --exclude \"**/stories/**\" --exclude \"**/icons/**\" --exclude \"**/elements/**\" --outdir projects/documentation --litelement",
"docs:build": "yarn eleventy",
"docs:ci": "yarn docs:analyze && run-p eleventy:production storybook:build && cp projects/documentation/custom-elements.json projects/documentation/dist/storybook && yarn eleventy:deploy",
"docs:preview": "yarn docs:analyze && run-p eleventy storybook:build && cp projects/documentation/custom-elements.json projects/documentation/dist/storybook",
"docs:review": "alex packages/**/*.md",
"docs:start": "yarn docs:analyze && run-p watch:css build:watch eleventy:watch",
"docs:watch": "run-p build:watch watch:css eleventy:watch",
"eleventy": "lerna run --scope documentation build --stream",
"eleventy:deploy": "lerna run --scope documentation deploy",
"eleventy:production": "lerna run --scope documentation build:production --stream",
"eleventy:watch": "lerna run --scope documentation watch --stream",
"get-ready": "yarn build:clear-cache && run-p process-icons && yarn build:clean",
"icons": "node ./scripts/process-icons.js && pretty-quick --pattern \"packages/**/*.svg.ts\"",
"icons:editor": "lerna run --scope @iliad-ui/icons-editor build:clean && yarn icons",
"icons:ui": "lerna run --scope @iliad-ui/icons-ui build",
"icons:workflow": "lerna run --scope @iliad-ui/icons-workflow build",
"lerna-publish": "lerna publish --message \"chore: release new versions\"",
"lerna-publish:force": "lerna publish --message \"chore: release new versions\" --force-publish",
"lint": "run-p lint:js lint:docs lint:ts lint:css lint:packagejson",
"lint:css": "stylelint \"packages/**/*.css\"",
"lint:docs": "eslint -f pretty \"projects/documentation/**/*.ts\"",
"lint:js": "pretty-quick --pattern \"tasks/**/*.js\" && pretty-quick --pattern \"scripts/**/*.js\"",
"lint:packagejson": "pretty-quick --pattern package.json && pretty-quick --pattern \"packages/*/package.json\" && pretty-quick --pattern \"projects/*/package.json\"",
"lint:ts": "pretty-quick --pattern \"packages/**/*.ts\" && eslint -f pretty \"packages/**/*.ts\"",
"lint:versions": "node ./scripts/lint-versions.js",
"new-package": "cd projects/templates && plop",
"postcustom-element-json": "lerna exec --ignore \"{@iliad-ui/{base,bundle,react,icons-ui,icons-workflow,icons-editor,iconset,modal,shared,styles},documentation,example-project-rollup,example-project-webpack,swc-templates}\" -- test -f custom-elements.json",
"postdocs:analyze": "node ./scripts/add-custom-properties.js --src=\"projects/documentation/custom-elements.json\"",
"postprocess-spectrum": "pretty-quick --pattern \"packages/**/*.css\"",
"precustom-element-json": "lerna exec --ignore \"{@iliad-ui/{base,bundle,react,iconset,modal,shared,styles},documentation,example-project-rollup,example-project-webpack,swc-templates}\" -- rm custom-elements.json ||:",
"preeleventy": "yarn docs:analyze",
"prelerna-publish": "yarn get-ready && yarn custom-element-json",
"prepare": "husky install",
"prestorybook": "cem analyze --outdir .storybook/",
"prestorybook:build": "cem analyze --outdir .storybook/",
"pretest:bench": "test -f test/benchmark/cli.js && mv test/benchmark/cli.js test/benchmark/cli.cjs ||:",
"pretest:visual": "yarn build && yarn storybook:stories:build && yarn test:build",
"process-icons": "run-p icons icons:ui icons:workflow",
"process-spectrum": "yarn spectrum-vars && yarn spectrum-css && pretty-quick --pattern \"packages/**/*.css\"",
"spectrum-css": "node ./scripts/process-spectrum-css.js && pretty-quick --pattern \"packages/**/*.css\"",
"spectrum-vars": "node ./scripts/spectrum-vars.js",
"storybook": "yarn build:ts && yarn build:css && run-p storybook:start watch:css build:watch",
"storybook:build": "yarn storybook:stories:build && build-storybook -o projects/documentation/dist/storybook",
"storybook:start": "web-dev-server --config wds-storybook.config.js",
"storybook:stories:build": "tsc --build .storybook/tsconfig.json",
"test": "yarn test:focus unit",
"test:bench": "node test/benchmark/cli.cjs",
"test:build": "node test/visual/create.js && tsc --build test/tsconfig-plugins.json && tsc --build test/tsconfig-test.json",
"test:changed": "node ./tasks/test-changes.js",
"test:ci": "yarn test:build && yarn test:start",
"test:focus": "yarn build && yarn test:ci --coverage --group",
"test:start": "web-test-runner",
"test:visual": "yarn test:visual:ci",
"test:visual:ci": "yarn test:start --group",
"test:visual:clean": "yarn test:visual:clean:baseline && yarn test:visual:clean:current",
"test:visual:clean:baseline": "rimraf test/visual/screenshots-baseline",
"test:visual:clean:current": "rimraf test/visual/screenshots-current",
"test:watch": "yarn test:watch:focus unit",
"test:watch:focus": "yarn test:build && run-p watch:css \"test:build -w\" \"test:start --watch --group {1}\" --",
"vrt:quick-link": "yarn netlify deploy --alias=vrt --dir=projects/vrt-quick-link",
"watch:css": "node ./tasks/watch-css.js"
},
"peerDependencies": {
"common-tags": "^1.8.0",
"prismjs": "^1.15.0"
},
"dependencies": {},
"devDependencies": {
"@babel/core": "^7.12.3",
"@babel/plugin-syntax-import-meta": "^7.10.4",
"@babel/plugin-transform-modules-systemjs": "^7.10.5",
"@babel/preset-env": "^7.10.4",
"@commitlint/cli": "^15.0.0",
"@commitlint/config-conventional": "^13.1.0",
"@commitlint/config-lerna-scopes": "^13.1.0",
"@custom-elements-manifest/analyzer": "^0.5.3",
"@netlify/build": "^19.0.7",
"@open-wc/dev-server-hmr": "^0.1.1",
"@open-wc/testing": "^3.0.3",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.0.6",
"@sindresorhus/slugify": "^1.1.2",
"@spectrum-css/table": "^3.0.3",
"@types/chai": "^4.1.7",
"@types/command-line-args": "^5.0.0",
"@types/command-line-usage": "^5.0.1",
"@types/common-tags": "^1.4.0",
"@types/lunr": "^2.3.2",
"@types/node": "^16.3.1",
"@types/prismjs": "^1.16.0",
"@types/sinon": "^10.0.0",
"@types/webpack": "^4.4.26",
"@types/webpack-env": "^1.13.9",
"@typescript-eslint/eslint-plugin": "^5.4.0",
"@typescript-eslint/parser": "^5.4.0",
"@vaadin/router": "^1.2.0",
"@web/dev-server": "^0.1.28",
"@web/dev-server-rollup": "^0.3.13",
"@web/dev-server-storybook": "^0.3.8",
"@web/rollup-plugin-copy": "^0.3.0",
"@web/rollup-plugin-html": "^1.10.1",
"@web/test-runner": "^0.13.22",
"@web/test-runner-commands": "^0.5.13",
"@web/test-runner-junit-reporter": "^0.4.9",
"@web/test-runner-playwright": "^0.8.8",
"@web/test-runner-visual-regression": "^0.6.4",
"@webcomponents/webcomponentsjs": "^2.6.0",
"alex": "^9.0.1",
"axios": "^0.24.0",
"babel-loader": "^8.0.5",
"babel-plugin-bundled-import-meta": "^0.3.2",
"babel-plugin-transform-node-env-inline": "^0.4.3",
"chalk": "^4.1.2",
"chromedriver": "^95.0.0",
"command-line-args": "^5.1.1",
"common-tags": "^1.8.2",
"css-loader": "^5.2.0",
"cssnano": "^5.0.11",
"custom-elements-manifest": "^1.0.0",
"debounce": "^1.2.1",
"deepmerge": "^4.2.2",
"element-closest": "^3.0.1",
"eslint": "^8.2.0",
"eslint-config-prettier": "^8.3.0",
"eslint-formatter-pretty": "^4.1.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-lit-a11y": "^2.2.0",
"eslint-plugin-notice": "^0.9.10",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-spectrum-web-components": "file:./linters/eslint",
"express": "^4.16.4",
"extract-loader": "^5.0.1",
"fs-extra": "^10.0.0",
"gh-pages": "^3.2.3",
"globby": "^11.0.3",
"html-loader": "^1.3.0",
"husky": "^7.0.4",
"lerna": "^4.0.0",
"linebyline": "^1.3.0",
"lit": "^2.0.0",
"lit-analyzer": "^1.2.1",
"lodash": "^4.17.15",
"lunr": "^2.3.8",
"markdown-loader": "^5.1.0",
"marked": "^3.0.4",
"merge2": "^1.2.3",
"mocha-junit-reporter": "^2.0.2",
"netlify-cli": "^6.14.25",
"netlify-plugin-checklinks": "^4.1.1",
"node-fetch": "^3.1.0",
"npm-run-all": "^4.1.5",
"playwright": "^1.16.3",
"plugin-error": "^1.0.1",
"pngjs": "^6.0.0",
"polymer-webpack-loader": "^2.0.3",
"postcss": "^8.3.11",
"postcss-custom-properties": "^12.0.0",
"postcss-focus-visible": "^6.0.1",
"postcss-import": "^14.0.2",
"postcss-inherit": "^4.1.0",
"postcss-loader": "4.2.0",
"postcss-mixins": "^8.1.0",
"postcss-prefixwrap": "^1.25.0",
"postcss-preset-env": "^7.0.1",
"postcss-reporter": "^7.0.4",
"postcss-selector-parser": "^6.0.6",
"posthtml": "^0.16.4",
"posthtml-attrs-parser": "^0.1.1",
"posthtml-loader": "^1.0.2",
"posthtml-match-helper": "^1.0.1",
"prettier": "^2.4.1",
"prettier-plugin-package": "^1.3.0",
"pretty-bytes": "^5.6.0",
"pretty-quick": "^3.1.2",
"prismjs": "^1.15.0",
"raw-loader": "^4.0.0",
"re-template-tag": "^2.0.1",
"rimraf": "^3.0.2",
"rollup": "^2.60.0",
"serve-index": "^1.9.1",
"sinon": "^12.0.1",
"style-loader": "^2.0.0",
"stylelint": "^14.1.0",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-standard": "^24.0.0",
"tachometer": "^0.5.10",
"ts-loader": "^8.0.0",
"typescript": "^4.4.4",
"walker": "^1.0.7",
"webpack": "^4.41.6",
"webpack-bundle-analyzer": "^4.3.0",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.10.3",
"webpack-merge": "^4.2.2",
"webpackbar": "^4.0.0",
"yargs": "^17.2.1"
},
"resolutions": {
"@web/storybook-prebuilt": "0.1.27-alpha.0",
"cssnano/**/postcss-calc": "7.0.0"
},
"customElements": "projects/documentation/custom-elements.json",
"maintainers": [
{
"name": "saiye",
"email": "saiye@gaoding.com"
},
{
"name": "yase",
"email": "yase@gaoding.com"
}
],
"workspaces": [
"packages/*",
"projects/*"
]
}