forked from carbon-design-system/ibm-products
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
214 lines (214 loc) · 9.96 KB
/
Copy pathpackage.json
File metadata and controls
214 lines (214 loc) · 9.96 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
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
{
"name": "ibm-products",
"engines": {
"node": ">=20.x"
},
"private": true,
"version": "0.0.0",
"repository": "git@github.com:carbon-design-system/ibm-products.git",
"license": "Apache-2.0",
"workspaces": {
"packages": [
"config/*",
"packages/*"
]
},
"scripts": {
"audit": "node scripts/audit.js '--environment production' moderate",
"avt": "AVT=true yarn playwright test --project chromium --grep @avt",
"build": "run-s -s 'build:*' storybook:build && node tasks/generate-repo-structure.js",
"build:packages": "yarn run-all --include-dependencies build",
"ci-check": "run-s -s 'ci-check:*' storybook:build",
"ci-check:build": "run-s -s 'build:*' 'run-all --no-sort ci-check'",
"ci-check:lint": "run-p -s audit lint",
"ci-check:tests": "run-p -s 'ci-check:test:*'",
"ci-check:test:c4p": "yarn test:c4p --ci",
"ci-check:test:c4p:snapshot": "yarn test:c4p:snapshot --ci",
"ci-check:test:c4p-wc:build": "lerna run build --scope @carbon/ibm-products-web-components --include-dependencies --stream",
"ci-check:test:c4p-wc": "yarn test:c4p-wc",
"ci-check:spellcheck": "yarn spellcheck",
"clean": "run-p -s 'clean:*' && run-p -s 'clean:finally:*'",
"clean:cache": "yarn cache clean",
"clean:finally:files": "rimraf coverage node_modules results",
"clean:lerna": "lerna clean --yes",
"clean:packages": "yarn run-all --no-sort clean",
"coverage": "echo 'you can pass a name argument to specify which tests are ran such as `yarn coverage decorator` and then view the results with `yarn coverage:report`'; yarn test:c4p --coverage",
"coverage:report": "open ./packages/ibm-products/coverage/index.html",
"format": "prettier . --cache --write -u",
"format:diff": "prettier . --list-different -u",
"generate": "lerna run generate --loglevel success --scope \"@carbon/ibm-products\" --",
"lint": "run-p -s 'lint:*'",
"lint:license": "scripts/check-license.cjs -a",
"lint:license:staged": "scripts/check-license.cjs -w",
"lint:js": "eslint packages --fix",
"lint:styles": "stylelint '**/*.scss' --fix",
"prepare": "husky",
"postinstall": "husky",
"run-all": "lerna run --stream --prefix --loglevel success",
"release-telemetry": "cd packages/ibm-products && yarn telemetry-config && cd ../ibm-products-web-components && yarn telemetry-config",
"test": "run-p -s 'test:*'",
"test:c4p": "lerna run --stream --scope @carbon/ibm-products test --",
"test:c4p:snapshot": "yarn test:c4p-styles styles -u",
"test:c4p-styles": "lerna run --stream --scope @carbon/ibm-products-styles test --",
"test:c4p-wc": "lerna run --stream --scope @carbon/ibm-products-web-components test --",
"spellcheck": "cspell '**' -e './examples' --gitignore --quiet --no-must-find-files",
"storybook": "cd packages/ibm-products && yarn storybook:start",
"storybook:build": "cd packages/ibm-products && yarn storybook:build",
"storybook-wc": "cd packages/ibm-products-web-components && yarn storybook",
"storybook-wc:build": "cd packages/ibm-products-web-components && run-s build build:storybook",
"sync": "carbon-cli sync",
"update-gallery-config": "node scripts/example-gallery-builder/index.js; prettier examples/carbon-for-ibm-products/**/src/**/*.{js,jsx,md,mdx,scss,json} --write --loglevel=silent",
"upgrade:dependencies:examples": "npm-check-updates -u --dep dev,peer,prod --color --target minor --packageFile 'scripts/example-gallery-builder/update-example/**/package.json'",
"upgrade:carbon": "npm-check-updates -u --dep dev,peer,prod --packageFile '{package.json,{config/**,packages/**}/package.json}' --filter '/carbon/' --target minor",
"visual-snapshot": "cd packages/ibm-products && yarn vrt",
"wc-coverage": "cd packages/ibm-products-web-components && yarn coverage"
},
"devDependencies": {
"@babel/core": "^7.29.6",
"@babel/eslint-parser": "^7.26.10",
"@babel/preset-react": "^7.26.3",
"@carbon/grid": "^11.57.0",
"@carbon/layout": "^11.54.0",
"@carbon/motion": "^11.47.0",
"@carbon/pictograms-react": "^11.105.0",
"@carbon/react": "^1.111.1",
"@carbon/themes": "^11.76.1",
"@carbon/type": "^11.62.0",
"@commitlint/cli": "^21.0.0",
"@commitlint/config-conventional": "^21.0.0",
"@eslint/compat": "^1.2.7",
"@eslint/eslintrc": "^3.3.0",
"@eslint/js": "^9.22.0",
"@playwright/test": "^1.56.1",
"@stackblitz/sdk": "^1.11.0",
"@testing-library/dom": "^8.11.4",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3",
"@types/carbon__layout": "^0.0.3",
"@typescript-eslint/eslint-plugin": "^8.26.1",
"accessibility-checker": "^4.0.12",
"chromatic": "^15.2.0",
"commander": "^14.0.0",
"copyfiles": "^2.4.1",
"cspell": "^9.0.0",
"eslint": "^9.22.0",
"eslint-config-carbon": "^3.25.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.4",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-ssr-friendly": "^1.3.0",
"gitignore-to-glob": "^0.3.0",
"globals": "^17.0.0",
"globby": "^15.0.0",
"husky": "^9.1.7",
"jest": "^30.0.5",
"jest-canvas-mock": "2.5.8",
"jest-junit": "^16.0.0",
"json": "^11.0.0",
"lerna": "^9.0.6",
"lint-staged": "^16.0.0",
"lottie-web": "^5.13.0",
"npm-check-updates": "^19.0.0",
"npm-run-all2": "^8.0.0",
"postcss": "^8.5.3",
"prettier": "^3.5.3",
"prettier-config-carbon": "^0.12.0",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"rimraf": "^6.0.1",
"stylelint": "^17.0.0",
"stylelint-config-carbon": "^1.22.0",
"stylelint-use-logical": "^2.1.2",
"typescript": "^6.0.0",
"typescript-eslint": "^8.26.1",
"webpack": "^5.98.0"
},
"//resolutions:@isaacs/brace-expansion": "DoS via unbounded brace range expansion (versions <=5.0.0).",
"//resolutions:flatted": "CVE-2026-33228 (prototype pollution) and CVE-2026-32141 (stack overflow) fixed in 3.4.2",
"//resolutions:minimatch": "CVE-2026-27904 (catastrophic backtracking) and CVE-2026-27903 (unbounded recursion) fixed in 3.1.4, 5.1.8, 9.0.7; minimatch@5.x and @9.x use brace-expansion@^2 which has no fix for CVE-2026-13149/CVE-2026-14257 in 2.x; bumped to 10.x (uses brace-expansion@^5.0.8)",
"//resolutions:lodash": "CVE-2026-4800 (template injection) and CVE-2026-2950 (prototype pollution) fixed in 4.18.0",
"//resolutions:picomatch": "CVE-2026-33671 (ReDoS) and CVE-2026-33672 (method injection) fixed in 4.0.4, 3.0.2, 2.3.2",
"//resolutions:brace-expansion": "CVE-2026-33750 (infinite loop DoS) fixed in 5.0.5, 3.0.2, 2.0.3, 1.1.13; CVE-2026-13149 and CVE-2026-14257 (DoS) only fixed in 5.0.8 — no fix exists in 2.x/3.x series; minimatch bumped to 10.x to eliminate brace-expansion@2.x entirely",
"//resolutions:uuid": "CVE-2026-41907 (buffer overflow) and CVE-2026-41988 (unexpected writes) fixed in 14.0.0+",
"//resolutions:axios": "Multiple CVEs (CVE-2026-42033 through CVE-2026-42044) fixed in 1.15.2; CVE-2026-67312 through CVE-2026-67321 (prototype pollution, DoS, SSRF, proxy routing) fixed in 1.18.0",
"//resolutions:basic-ftp": "CVE-2026-41324 (DoS via unbounded memory) fixed in 5.3.0",
"//resolutions:ws": "CVE-2026-45736 (uninitialized memory disclosure) fixed in 8.20.1; CVE-2026-62389 (memory exhaustion DoS) fixed in 8.21.1",
"//resolutions:tmp": "CVE-2026-44705 (path traversal vulnerability) fixed in 0.2.6",
"//resolutions:ip-address": "CVE-2026-42338 (XSS vulnerability) fixed in 10.1.1; CVE-2026-54272 fixed in 10.2.1; CVE-2026-69198 fixed in 10.2.2; CVE-2026-69192 fixed in 10.3.1",
"//resolutions:unzipper": "CVE-2026-17514 (path traversal) fixed in 0.12.5",
"//resolutions:@babel/plugin-transform-modules-systemjs": "CVE-2026-44728 (arbitrary code execution) fixed in 7.29.4",
"//resolutions:@babel/core": "CVE-2026-49356 (arbitrary file read via sourceMappingURL) fixed in 7.29.6",
"//resolutions:postcss-selector-parser": "CVE-2026-9358 (DoS via uncontrolled recursion) - low risk per vendor",
"//resolutions:form-data": "CVE-2026-12143 (CRLF injection) fixed in 4.0.6",
"resolutions": {
"form-data": "4.0.6",
"micromatch": "4.0.8",
"react-is": "^19.0.0",
"semver": "7.8.2",
"ws": "^8.21.1",
"@babel/runtime": "7.29.7",
"brace-expansion@^1.1.7": "1.1.18",
"brace-expansion@^3.0.0": "3.0.4",
"brace-expansion@^5.0.0": "^5.0.8",
"@isaacs/brace-expansion": "^5.0.8",
"axios": "^1.18.0",
"uuid": "14.0.0",
"uuid@^8.0.0": "14.0.0",
"uuid@^9.0.0": "14.0.0",
"basic-ftp": "^6.0.0",
"tar": "^7.5.19",
"lodash": "^4.18.0",
"lodash-amd": "^4.18.0",
"lodash-es": "^4.18.0",
"lodash.template": "^4.18.0",
"ajv@^6.0.0": "^6.14.0",
"ajv@^8.0.0": "^8.18.0",
"minimatch@^3.0.0": "^3.1.4",
"minimatch@^5.0.0": "^10.2.6",
"minimatch@^5.0.1": "^10.2.6",
"minimatch@^5.1.0": "^10.2.6",
"minimatch@^9.0.0": "^10.2.6",
"minimatch@^9.0.3": "^10.2.6",
"minimatch@^9.0.4": "^10.2.6",
"minimatch@^9.0.5": "^10.2.6",
"minimatch@3.1.3": "3.1.5",
"immutable": "^5.1.8",
"yauzl": "^3.2.1",
"js-yaml": "^4.3.0",
"js-yaml@^3.0.0": "^3.15.0",
"js-yaml@^4.0.0": "^4.3.0",
"flatted": "^3.4.2",
"picomatch": "^4.0.4",
"picomatch@^2.0.0": "^2.3.2",
"picomatch@^3.0.0": "^3.0.2",
"picomatch@^4.0.0": "^4.0.4",
"brace-expansion@^5.0.2": "^5.0.8",
"tmp": "^0.2.6",
"ip-address": "^10.3.1",
"unzipper": "^0.12.5",
"@babel/plugin-transform-modules-systemjs": "^7.29.4",
"@babel/core": "^7.29.6"
},
"lint-staged": {
"*": [
"npx prettier --cache --write -u"
],
"*.{js,jsx,ts,tsx,mjs}": [
"npx eslint --fix",
"npx cspell --no-must-find-files",
"yarn lint:license:staged"
],
"*.scss": [
"npx stylelint --allow-empty-input --fix"
],
"*.{md,mdx}": [
"npx cspell --no-must-find-files",
"yarn lint:license:staged"
]
},
"dependencies": {
"stylelint-plugin-carbon-tokens": "^4.0.6",
"stylelint-use-logical": "^2.1.2"
},
"packageManager": "yarn@4.10.3"
}