forked from porsche-design-system/porsche-design-system
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
239 lines (239 loc) · 16 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
{
"name": "porsche-design-system",
"version": "0.0.0",
"private": true,
"license": "UNLICENSED",
"workspaces": {
"packages": [
"packages/*",
"packages/assets/projects/crest",
"packages/assets/projects/fallbacks",
"packages/assets/projects/fonts",
"packages/assets/projects/font-face",
"packages/assets/projects/icons",
"packages/assets/projects/marque",
"packages/assets/projects/meta-icons",
"packages/assets/projects/model-signatures",
"packages/components-js/projects/components-manager-cli",
"packages/components-js/projects/components-manager-core",
"packages/components-js/projects/jsdom-polyfill",
"packages/components-js/projects/partials",
"packages/components-js/dist/components-wrapper",
"packages/components-angular/dist/angular-wrapper",
"packages/components-react/dist/react-wrapper",
"packages/components-react/projects/nextjs",
"packages/components-react/projects/react-ssr-wrapper",
"packages/components-react/projects/remix",
"packages/components-react/projects/uxpin-wrapper",
"packages/components-vue/dist/vue-wrapper",
"packages/utilities/projects/utilities",
"packages/utilities/projects/ag-grid",
"packages/shared/dist"
],
"nohoist": [
"**/@types/jasmine",
"**/ng-packagr",
"**/@angular-devkit/**",
"**/@angular/**",
"**/@vue/**",
"**/vue",
"**/vue-class-component",
"**/vue-property-decorator",
"**/vue-router",
"**/vuex",
"**/vue-template-compiler"
]
},
"description": "Porsche Design System Monorepo",
"repository": {
"type": "git",
"url": "git+https://github.com/porsche-design-system/porsche-design-system.git"
},
"author": "Dr. Ing. h.c. F. Porsche AG",
"scripts": {
"preinstall": "yarn preinstall:assets && yarn preinstall:components-manager-cli && yarn preinstall:components-js && yarn preinstall:components-angular && yarn preinstall:components-react && yarn preinstall:components-vue && yarn preinstall:shared",
"preinstall:assets": "mkdir -p ./packages/assets/bin && touch ./packages/assets/bin/serve-cdn.js",
"preinstall:components-manager-cli": "mkdir -p ./packages/components-js/projects/components-manager-cli/dist/bin && touch ./packages/components-js/projects/components-manager-cli/dist/bin/cm.js",
"preinstall:components-js": "TARGET=./packages/components-js/dist/components-wrapper && mkdir -p $TARGET && cp ./packages/components-js/projects/components-wrapper/package.json $TARGET",
"preinstall:components-angular": "TARGET=./packages/components-angular/dist/angular-wrapper && mkdir -p $TARGET && cp ./packages/components-angular/projects/angular-wrapper/package.json $TARGET",
"preinstall:components-react": "TARGET=./packages/components-react/dist/react-wrapper && mkdir -p $TARGET && cp ./packages/components-react/projects/react-wrapper/package.json $TARGET && mkdir -p $TARGET/bin && touch $TARGET/bin/patchRemixRunProcessBrowserGlobalIdentifier.js",
"preinstall:components-vue": "TARGET=./packages/components-vue/dist/vue-wrapper && mkdir -p $TARGET && cp ./packages/components-vue/projects/vue-wrapper/package.json $TARGET",
"preinstall:shared": "TARGET=./packages/shared/dist && mkdir -p $TARGET && sed -E -e \"s^shared^@porsche-design-system/shared^\" ./packages/shared/package.json > $TARGET/package.json && mkdir -p ./packages/shared/bin && touch ./packages/shared/bin/serve-dummyassets.js",
"start:assets:fallbacks": "yarn --cwd ./packages/assets/project/fallbacks start",
"start:components": "yarn --cwd ./packages/components start",
"start:components-js": "yarn --cwd ./packages/components-js start",
"start:components-angular": "yarn --cwd ./packages/components-angular start",
"start:components-react": "yarn --cwd ./packages/components-react start",
"start:components-react/nextjs": "yarn --cwd ./packages/components-react/projects/nextjs start",
"start:components-react/remix": "yarn --cwd ./packages/components-react/projects/remix start",
"start:components-vue": "yarn --cwd ./packages/components-vue start",
"start:crawler": "yarn --cwd ./packages/crawler start",
"start:storefront": "yarn --cwd ./packages/storefront start",
"build": "yarn build:core-dependencies && concurrently -n 'components' 'yarn build:components' && concurrently -n 'components-js' 'yarn build:components-js' && concurrently --kill-others-on-fail -n 'components-angular,components-react,components-vue' 'yarn build:components-angular' 'yarn build:components-react' 'yarn build:components-vue' && yarn build:storefront",
"build-prod": "yarn build:core-dependencies && concurrently -n 'components' 'yarn build:components-prod' && concurrently -n 'components-js' 'yarn build:components-js-prod' && concurrently --kill-others-on-fail -n 'components-angular,components-react,components-vue' 'yarn build:components-angular' 'yarn build:components-react' 'yarn build:components-vue' && yarn build:storefront",
"build:core-dependencies": "concurrently -n 'shared' 'yarn build:shared' && concurrently --kill-others-on-fail -n 'assets,utilities' 'yarn build:assets' 'yarn build:utilities' && concurrently -n 'component-meta' 'yarn build:component-meta'",
"build:assets": "yarn --cwd ./packages/assets build",
"build:assetsCopyComponentsOnly": "yarn --cwd ./packages/assets buildCopyComponentsOnly",
"build:component-meta": "yarn --cwd ./packages/component-meta build",
"build:components": "yarn --cwd ./packages/components build",
"build:components-prod": "yarn --cwd ./packages/components build-prod",
"build:components-js": "yarn --cwd ./packages/components-js build && yarn build:assetsCopyComponentsOnly",
"build:components-js-prod": "yarn --cwd ./packages/components-js build-prod && yarn build:assetsCopyComponentsOnly",
"build:components-angular": "yarn --cwd ./packages/components-angular build",
"build:components-react": "yarn --cwd ./packages/components-react build",
"build:components-react/nextjs": "yarn --cwd ./packages/components-react/projects/nextjs build-app",
"build:components-react/remix": "yarn --cwd ./packages/components-react/projects/remix build-app",
"build:components-vue": "yarn --cwd ./packages/components-vue build",
"build:shared": "yarn --cwd ./packages/shared build",
"build:storefront": "yarn --cwd ./packages/storefront build",
"build:utilities": "yarn --cwd ./packages/utilities build",
"format": "biome format",
"lint": "biome lint",
"lint:components": "biome lint",
"lint:components-vue": "biome lint",
"lint:storefront": "biome lint",
"test:unit:assets": "yarn --cwd ./packages/assets test:unit",
"test:unit:assets:assets": "yarn --cwd ./packages/assets test:unit:assets",
"test:unit:assets:fallbacks": "yarn --cwd ./packages/assets/projects/fallbacks test:unit",
"test:unit:assets:icons": "yarn --cwd ./packages/assets/projects/icons test:unit",
"test:unit:assets:font-face": "yarn --cwd ./packages/assets/projects/font-face test:unit",
"test:unit:component-meta": "yarn --cwd ./packages/component-meta test:unit",
"test:unit:components": "yarn --cwd ./packages/components test:unit",
"test:unit:components-js": "yarn --cwd ./packages/components-js test:unit",
"test:unit:components-js:components-manager-cli": "yarn --cwd ./packages/components-js test:unit:components-manager-cli",
"test:unit:components-js:components-manager-core": "yarn --cwd ./packages/components-js test:unit:components-manager-core",
"test:unit:components-js:components-wrapper": "yarn --cwd ./packages/components-js test:unit:components-js",
"test:unit:components-js:jsdom-polyfill": "yarn --cwd ./packages/components-js test:unit:jsdom-polyfill",
"test:unit:components-js:partials": "yarn --cwd ./packages/components-js test:unit:partials",
"test:unit:components-angular": "yarn --cwd ./packages/components-angular test:unit",
"test:unit:components-angular:jest": "yarn --cwd ./packages/components-angular test:unit:jest",
"test:unit:components-angular:karma": "yarn --cwd ./packages/components-angular test:unit:karma",
"test:unit:components-angular:karma-ci": "yarn --cwd ./packages/components-angular test:unit:karma-ci",
"test:unit:components-react": "yarn --cwd ./packages/components-react test:unit",
"test:unit:components-react:react-wrapper": "yarn --cwd ./packages/components-react test:unit:react-wrapper",
"test:unit:components-react:react-ssr-wrapper": "yarn --cwd ./packages/components-react test:unit:react-ssr-wrapper",
"test:unit:components-react:uxpin-wrapper": "yarn --cwd ./packages/components-react test:unit:uxpin-wrapper",
"test:unit:components-vue": "yarn --cwd ./packages/components-vue test:unit",
"test:unit:components-vue:vue-wrapper": "yarn --cwd ./packages/components-vue test:unit:vue-wrapper",
"test:unit:shared": "yarn --cwd ./packages/shared test:unit",
"test:unit:storefront": "yarn --cwd ./packages/storefront test:unit",
"test:unit:vitest:storefront": "yarn --cwd ./packages/storefront test:unit:vitest",
"test:unit:utilities": "yarn --cwd ./packages/utilities test:unit",
"test:e2e:components-js": "yarn --cwd ./packages/components-js test:e2e",
"test:e2e:components-js:chrome": "yarn --cwd ./packages/components-js test:e2e:chrome",
"test:e2e:components-js:chrome:1/2": "yarn --cwd ./packages/components-js test:e2e:chrome:1/2",
"test:e2e:components-js:chrome:2/2": "yarn --cwd ./packages/components-js test:e2e:chrome:2/2",
"test:e2e:components-js:firefox": "yarn --cwd ./packages/components-js test:e2e:firefox",
"test:e2e:components-js:firefox:1/2": "yarn --cwd ./packages/components-js test:e2e:firefox:1/2",
"test:e2e:components-js:firefox:2/2": "yarn --cwd ./packages/components-js test:e2e:firefox:2/2",
"test:e2e:components-js:safari": "yarn --cwd ./packages/components-js test:e2e:safari",
"test:e2e:components-js:safari:1/2": "yarn --cwd ./packages/components-js test:e2e:safari:1/2",
"test:e2e:components-js:safari:2/2": "yarn --cwd ./packages/components-js test:e2e:safari:2/2",
"test:e2e:components-angular": "yarn --cwd ./packages/components-angular test:e2e",
"test:e2e:components-react": "yarn --cwd ./packages/components-react test:e2e",
"test:e2e:components-react/nextjs": "yarn --cwd ./packages/components-react/projects/nextjs test:e2e",
"test:e2e:components-react/remix": "yarn --cwd ./packages/components-react/projects/remix test:e2e",
"test:e2e:components-vue": "yarn --cwd ./packages/components-vue test:e2e",
"test:e2e:crawler": "yarn --cwd ./packages/crawler test:e2e",
"test:e2e:storefront": "yarn --cwd ./packages/storefront test:e2e",
"test:e2e:storefront:1/4": "yarn --cwd ./packages/storefront test:e2e:1/4",
"test:e2e:storefront:2/4": "yarn --cwd ./packages/storefront test:e2e:2/4",
"test:e2e:storefront:3/4": "yarn --cwd ./packages/storefront test:e2e:3/4",
"test:e2e:storefront:4/4": "yarn --cwd ./packages/storefront test:e2e:4/4",
"test:e2e:storefront:sitemap": "yarn --cwd ./packages/storefront test:e2e:sitemap",
"test:a11y:components-js": "yarn --cwd ./packages/components-js test:a11y",
"test:a11y:storefront": "yarn --cwd ./packages/storefront test:a11y",
"test:a11y:storefront:1/3": "yarn --cwd ./packages/storefront test:a11y:1/3",
"test:a11y:storefront:2/3": "yarn --cwd ./packages/storefront test:a11y:2/3",
"test:a11y:storefront:3/3": "yarn --cwd ./packages/storefront test:a11y:3/3",
"test:vrt:assets:fallbacks": "yarn --cwd ./packages/assets/projects/fallbacks test:vrt",
"test:vrt:components-js": "yarn --cwd ./packages/components-js test:vrt",
"test:vrt:components-js:chrome": "yarn --cwd ./packages/components-js test:vrt:chrome",
"test:vrt:components-js:chrome:1/4": "yarn --cwd ./packages/components-js test:vrt:chrome:1/4",
"test:vrt:components-js:chrome:2/4": "yarn --cwd ./packages/components-js test:vrt:chrome:2/4",
"test:vrt:components-js:chrome:3/4": "yarn --cwd ./packages/components-js test:vrt:chrome:3/4",
"test:vrt:components-js:chrome:4/4": "yarn --cwd ./packages/components-js test:vrt:chrome:4/4",
"test:vrt:components-js:safari": "yarn --cwd ./packages/components-js test:vrt:safari",
"test:vrt:components-angular": "yarn --cwd ./packages/components-angular test:vrt",
"test:vrt:components-react": "yarn --cwd ./packages/components-react test:vrt",
"test:vrt:components-react/nextjs": "yarn --cwd ./packages/components-react/projects/nextjs test:vrt",
"test:vrt:components-react/remix": "yarn --cwd ./packages/components-react/projects/remix test:vrt",
"test:vrt:components-vue": "yarn --cwd ./packages/components-vue test:vrt",
"test:vrt:storefront": "yarn --cwd ./packages/storefront test:vrt",
"test:smoke:components-js": "yarn --cwd ./packages/components-js test:smoke",
"test:smoke:components-react": "yarn --cwd ./packages/components-react test:smoke",
"test:smoke:components-vue": "yarn --cwd ./packages/components-vue test:smoke",
"updateAlgolia": "yarn --cwd ./packages/storefront updateAlgolia",
"clean": "yarn clean:node_modules && yarn clean:build",
"clean:node_modules": "find . -name 'node_modules' -type d -prune -print -exec rm -rf '{}' \\;",
"clean:build": "yarn clean:assets:build && yarn clean:component-meta:build && yarn clean:components:build && yarn clean:components-angular:build && yarn clean:components-js:build && yarn clean:components-react:build && yarn clean:components-vue:build && yarn clean:shared:build && yarn clean:storefront:build && yarn clean:utilities:build",
"clean:assets:build": "yarn --cwd ./packages/assets clean:build",
"clean:component-meta:build": "yarn --cwd ./packages/component-meta clean:build",
"clean:components:build": "yarn --cwd ./packages/components clean:build",
"clean:components-angular:build": "yarn --cwd ./packages/components-angular clean:build",
"clean:components-js:build": "yarn --cwd ./packages/components-js clean:build",
"clean:components-react:build": "yarn --cwd ./packages/components-react clean:build",
"clean:components-vue:build": "yarn --cwd ./packages/components-vue clean:build",
"clean:shared:build": "yarn --cwd ./packages/shared clean:build",
"clean:storefront:build": "yarn --cwd ./packages/storefront clean:build",
"clean:utilities:build": "yarn --cwd ./packages/utilities clean:build"
},
"dependencies": {
"change-case": "^5.4.4",
"jss": "^10.10.0",
"jss-plugin-sort-css-media-queries": "^1.0.1-beta.0",
"jss-preset-default": "^10.10.0"
},
"devDependencies": {
"@axe-core/playwright": "^4.10.1",
"@biomejs/biome": "^1.9.4",
"@playwright/test": "1.49.1",
"@porsche-design-system/prettier-config": "^1.0.1",
"@rollup/plugin-commonjs": "^28.0.2",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-replace": "^6.0.2",
"@rollup/plugin-typescript": "^12.1.2",
"@types/jest": "^29.5.14",
"@types/jest-expect-message": "^1.1.0",
"@types/madge": "^5.0.3",
"@types/node": "^22.10.3",
"@vitest/ui": "^2.1.8",
"concurrently": "^9.1.2",
"globby": "^14.0.2",
"gzip-size": "^7.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"madge": "^8.0.0",
"prettier": "^3.4.2",
"rollup": "^4.29.1",
"rollup-plugin-bin": "^1.0.0",
"rollup-plugin-copy": "^3.5.0",
"rollup-plugin-generate-package-json": "^3.2.0",
"rollup-plugin-modify": "^3.0.0",
"rollup-plugin-preserve-directives": "^0.4.0",
"rollup-plugin-preserve-shebang": "^1.0.1",
"rollup-plugin-terser": "^7.0.2",
"sass": "^1.83.0",
"svgo": "^3.2.0",
"ts-jest": "^29.2.5",
"tsup": "^8.3.5",
"tsx": "^4.19.2",
"typescript": "~5.6.3",
"vite": "^6.0.6",
"vitest": "^2.1.8",
"webpack": "^5.97.1"
},
"resolutions": {
"**/@types/scheduler": "0.16.8",
"**/@vue/cli-plugin-unit-jest/jest": ">=29 <30",
"**/@vue/cli-plugin-unit-jest/ts-jest": ">=29 <30",
"**/@vue/cli-shared-utils/@achrinza/node-ipc": "^10.1.11",
"**/vite/rollup": "^4.29.1",
"**/workbox-build/rollup": "^4.29.1"
},
"volta": {
"node": "22.12.0",
"yarn": "1.22.22"
}
}