forked from porsche-design-system/porsche-design-system
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
187 lines (187 loc) · 14.5 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
{
"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/icons",
"packages/assets/projects/marque",
"packages/assets/projects/meta-icons",
"packages/assets/projects/model-signatures",
"packages/assets/projects/styles",
"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/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",
"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-vue": "yarn --cwd ./packages/components-vue start",
"start:assets:fallbacks": "yarn --cwd ./packages/assets/project/fallbacks 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",
"lint:components": "yarn --cwd ./packages/components lint",
"lint:components-vue": "yarn --cwd ./packages/components-vue lint",
"lint:storefront": "yarn --cwd ./packages/storefront 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:styles": "yarn --cwd ./packages/assets/projects/styles 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:utilities": "yarn --cwd ./packages/utilities test:unit",
"test:e2e:puppeteer:components-js": "yarn --cwd ./packages/components-js test:e2e:puppeteer",
"test:e2e:playwright:components-js": "yarn --cwd ./packages/components-js test:e2e:playwright",
"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:a11y:storefront": "yarn --cwd ./packages/storefront test:a11y",
"test:vrt:playwright:components-js": "yarn --cwd ./packages/components-js test:vrt:playwright",
"test:vrt:playwright:components-js:chrome:common": "yarn --cwd ./packages/components-js test:vrt:playwright:chrome:common",
"test:vrt:playwright:components-js:chrome:customAndStates": "yarn --cwd ./packages/components-js test:vrt:playwright:chrome:customAndStates",
"test:vrt:playwright:components-js:safari": "yarn --cwd ./packages/components-js test:vrt:playwright: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:assets:fallbacks": "yarn --cwd ./packages/assets/projects/fallbacks test:vrt",
"test:vrt:storefront": "yarn --cwd ./packages/storefront test:vrt",
"test:smoke": "concurrently --kill-others-on-fail -n 'components-js,components-react' 'yarn test:smoke:components-js' 'yarn test:smoke:components-react'",
"test:smoke:components-js": "yarn --cwd ./packages/components-js test:smoke",
"test:smoke:components-react": "yarn --cwd ./packages/components-react test:smoke",
"updateAlgolia": "yarn --cwd ./packages/storefront updateAlgolia",
"clean": "yarn clean:node_modules && yarn clean:build",
"clean:node_modules": "rm -rf ./node_modules && rm -rf ./yarn-error.log && yarn clean:assets:node_modules && yarn clean:component-meta:node_modules && yarn clean:components:node_modules && yarn clean:components-angular:node_modules && yarn clean:components-js:node_modules && yarn clean:components-react:node_modules && yarn clean:components-vue:node_modules && yarn clean:crawler:node_modules && yarn clean:shared:node_modules && yarn clean:storefront:node_modules && yarn clean:utilities:node_modules",
"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:node_modules": "yarn --cwd ./packages/assets clean:node_modules",
"clean:assets:build": "yarn --cwd ./packages/assets clean:build",
"clean:component-meta:node_modules": "yarn --cwd ./packages/component-meta clean:node_modules",
"clean:component-meta:build": "yarn --cwd ./packages/component-meta clean:build",
"clean:components:node_modules": "yarn --cwd ./packages/components clean:node_modules",
"clean:components:build": "yarn --cwd ./packages/components clean:build",
"clean:components-angular:node_modules": "yarn --cwd ./packages/components-angular clean:node_modules",
"clean:components-angular:build": "yarn --cwd ./packages/components-angular clean:build",
"clean:components-js:node_modules": "yarn --cwd ./packages/components-js clean:node_modules",
"clean:components-js:build": "yarn --cwd ./packages/components-js clean:build",
"clean:components-react:node_modules": "yarn --cwd ./packages/components-react clean:node_modules",
"clean:components-react:build": "yarn --cwd ./packages/components-react clean:build",
"clean:components-vue:node_modules": "yarn --cwd ./packages/components-vue clean:node_modules",
"clean:components-vue:build": "yarn --cwd ./packages/components-vue clean:build",
"clean:crawler:node_modules": "yarn --cwd ./packages/crawler clean:node_modules",
"clean:shared:node_modules": "yarn --cwd ./packages/shared clean:node_modules",
"clean:shared:build": "yarn --cwd ./packages/shared clean:build",
"clean:storefront:node_modules": "yarn --cwd ./packages/storefront clean:node_modules",
"clean:storefront:build": "yarn --cwd ./packages/storefront clean:build",
"clean:utilities:node_modules": "yarn --cwd ./packages/utilities clean:node_modules",
"clean:utilities:build": "yarn --cwd ./packages/utilities clean:build"
},
"devDependencies": {
"@porsche-design-system/prettier-config": "^1.0.0",
"prettier": "^3.1.1"
},
"resolutions": {
"**/react-scripts/jest": ">=29 <30",
"**/react-scripts/jest-circus": ">=29 <30",
"**/@types/jest-environment-puppeteer/@jest/types": ">=29 <30",
"**/@types/jest-environment-puppeteer/jest-environment-node": ">=29 <30",
"**/@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.10",
"**/eslint-config-next/eslint-plugin-react-hooks": "^4.6.0",
"**/eslint-config-react-app/eslint-plugin-jest": "^27.6.0",
"**/ng-packagr/rollup": "^4.9.1",
"**/vite/rollup": "^4.9.1",
"**/workbox-build/rollup": "^4.9.1"
},
"volta": {
"node": "20.10.0",
"yarn": "1.22.21"
}
}