-
Notifications
You must be signed in to change notification settings - Fork 163
Expand file tree
/
Copy pathpackage.json
More file actions
178 lines (178 loc) · 7.25 KB
/
package.json
File metadata and controls
178 lines (178 loc) · 7.25 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
{
"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",
"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.26.10",
"@babel/eslint-parser": "^7.26.10",
"@babel/preset-react": "^7.26.3",
"@carbon/grid": "^11.51.0",
"@carbon/layout": "^11.49.0",
"@carbon/motion": "^11.42.0",
"@carbon/react": "^1.102.0",
"@carbon/themes": "^11.69.0",
"@carbon/type": "^11.55.0",
"@commitlint/cli": "^20.0.0",
"@commitlint/config-conventional": "^20.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": "^29.7.0",
"jest-canvas-mock": "2.5.2",
"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.21.0",
"stylelint-use-logical": "^2.1.2",
"typescript-eslint": "^8.26.1",
"webpack": "^5.98.0"
},
"//resolutions:http-signature": "package 'request' deprecated but still used, asks for http-signature ~1.2.0 which indirectly has vulnerabilities",
"//resolutions:minimist": "https://security.snyk.io/vuln/SNYK-JS-MINIMIST-2429795 (version <=1.2.5)",
"//resolutions:@isaacs/brace-expansion": "DoS via unbounded brace range expansion (versions <=5.0.0).",
"resolutions": {
"body-parser": "2.2.2",
"braces": "^3.0.3",
"cross-spawn": "7.0.6",
"form-data": "4.0.4",
"micromatch": "4.0.8",
"react-is": "^19.0.0",
"semver": "7.7.4",
"ws": "^8.17.1",
"@babel/runtime": "7.28.6",
"brace-expansion@^1.1.7": "1.1.12",
"brace-expansion@^2.0.1": "2.0.2",
"@isaacs/brace-expansion": "^5.0.1",
"axios": "^1.13.5",
"tar": "^7.5.11",
"lodash": "^4.17.23",
"lodash-amd": "^4.17.23",
"lodash-es": "^4.17.23",
"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": "^5.1.8",
"minimatch@^9.0.0": "^9.0.7",
"immutable": "^5.1.5",
"yauzl": "^3.2.1",
"js-yaml": "^4.1.1",
"js-yaml@^3.0.0": "^3.14.2",
"js-yaml@^4.0.0": "^4.1.1"
},
"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"
}