-
Notifications
You must be signed in to change notification settings - Fork 26
/
package.json
183 lines (183 loc) Β· 6.71 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
{
"name": "ui-kit",
"version": "0.0.0",
"description": "UI component library based on our Design System",
"homepage": "https://uikit.commercetools.com/",
"bugs": "https://github.com/commercetools/ui-kit/issues",
"private": true,
"keywords": ["javascript", "frontend", "ui-kit", "design-system", "react"],
"sideEffects": false,
"scripts": {
"auth": "npm_config_registry=https://registry.npmjs.org npm whoami",
"clean": "manypkg exec rm -rf dist",
"generate-readmes": "yarn generate-readme --all-workspace-packages",
"generate-icons": "manypkg run icons generate-icons && manypkg run checkbox-input generate-icons && manypkg run rich-text-utils generate-icons && prettier --write '**/generated/*.{ts,tsx}'",
"design-tokens:build": "manypkg run design-system build:tokens",
"design-tokens:build:watch": "manypkg run design-system build:tokens:watch",
"build": "./scripts/build.sh",
"build:watch": "./scripts/build_watch.sh",
"start": "yarn workspace @commercetools-local/storybook run start",
"extract-intl": "formatjs extract --format=transifex --out-file=./packages/i18n/data/core.json '{packages,src/components}/**/messages.ts'",
"compile-intl": "yarn workspace @commercetools-uikit/i18n compile-data",
"lint": "jest --projects jest.eslint.config.js",
"lint:js": "jest --config jest.eslint.config.js",
"lint:css": "jest --config jest.stylelint.config.js",
"format:js": "prettier --write '**/*.{js,ts,tsx}'",
"format:md": "prettier --write --parser markdown '**/*.md'",
"format:yaml": "prettier --write --parser yaml '**/*.yaml'",
"test": "jest --projects jest.{ts-test,test}.config.js",
"test:watch": "yarn test --watch",
"test:bundle": "jest --config jest.bundle.config.js",
"test:visual": "jest --config jest.visual.config.js --runInBand",
"vrt:components": "percy exec -- yarn test:visual",
"bundlesize": "bundlesize",
"test:bundle:watch": "jest --config jest.bundle.config.js --watch",
"changeset": "changeset",
"changeset:version-and-format": "changeset version && yarn prettier --write --parser json '**/package.json' && YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn install",
"visual-testing-app:start": "yarn workspace visual-testing-app start",
"visual-testing-app:build": "yarn workspace visual-testing-app build",
"visual-testing-app:preview": "yarn workspace visual-testing-app preview",
"labels:sync": "github-labels sync",
"typecheck": "tsc --noEmit --skipLibCheck",
"omlet:scan": "yarn omlet analyze --hook-script ./scripts/omlet-hook-script.js"
},
"workspaces": [
"design-system",
"storybook",
"generators/*",
"packages/*",
"packages/components/*",
"packages/components/buttons/*",
"packages/components/dropdowns/*",
"packages/components/fields/*",
"packages/components/inputs/*",
"packages/components/spacings/*",
"presets/*",
"visual-testing-app"
],
"preconstruct": {
"packages": [
"design-system",
"packages/*",
"packages/components/*",
"packages/components/buttons/*",
"packages/components/dropdowns/*",
"packages/components/fields/*",
"packages/components/inputs/*",
"packages/components/spacings/*",
"presets/*"
]
},
"resolutions": {
"@babel/preset-env": "^7.18.6",
"@jest/types": "29.6.3",
"@types/eslint": "^9.0.0",
"@types/react": "17.0.83",
"@types/react-dom": "17.0.26",
"@types/react-router": "5.1.20",
"@types/unist": "3.0.3",
"@typescript-eslint/eslint-plugin": "8.18.0",
"@typescript-eslint/parser": "8.18.0",
"core-js-compat": "^3.23.4",
"glob-parent": "^6.0.0",
"minimatch": "^10.0.0",
"json5": "^2.0.0",
"react-from-dom": "0.6.2"
},
"engines": {
"node": ">=18 <19",
"npm": ">=6",
"yarn": ">=3"
},
"packageManager": "[email protected]",
"devDependencies": {
"@babel/core": "7.26.0",
"@changesets/changelog-github": "0.5.0",
"@changesets/cli": "2.27.10",
"@commercetools-frontend/babel-preset-mc-app": "22.37.0",
"@commercetools-frontend/eslint-config-mc-app": "22.37.0",
"@commercetools-local/generator-package-json": "*",
"@commercetools-local/generator-readme": "*",
"@commercetools/github-labels": "1.1.0",
"@commitlint/cli": "19.6.1",
"@commitlint/config-conventional": "19.6.0",
"@formatjs/cli": "6.3.14",
"@formatjs/intl-relativetimeformat": "11.4.8",
"@manypkg/cli": "0.23.0",
"@manypkg/get-packages": "1.1.3",
"@omlet/cli": "^1.12.0",
"@percy/cli": "1.30.5",
"@percy/puppeteer": "2.0.2",
"@preconstruct/cli": "2.8.10",
"@svgr/babel-plugin-svg-dynamic-title": "^8.0.0",
"@svgr/cli": "8.1.0",
"@svgr/core": "8.1.0",
"@svgr/plugin-jsx": "8.1.0",
"@svgr/plugin-svgo": "8.1.0",
"@testing-library/jest-dom": "5.17.0",
"@testing-library/react": "12.1.5",
"@testing-library/react-hooks": "8.0.1",
"@types/is-hotkey": "^0.1.7",
"@types/node": "18.19.68",
"@types/prettier": "^2.7.3",
"@typescript-eslint/eslint-plugin": "8.18.0",
"@typescript-eslint/parser": "8.18.0",
"babel-jest": "29.7.0",
"babel-loader": "9.2.1",
"babel-plugin-typescript-to-proptypes": "1.4.2",
"browserslist": "4.24.3",
"bundlesize": "0.18.2",
"cac": "6.7.14",
"colors": "1.4.0",
"conventional-changelog-cli": "5.0.0",
"cross-env": "7.0.3",
"eslint": "8.57.1",
"eslint-formatter-pretty": "4.1.0",
"execa": "6.1.0",
"formik": "^2.2.9",
"glob": "8.1.0",
"global": "4.4.0",
"husky": "8.0.3",
"identity-obj-proxy": "3.0.0",
"intl-pluralrules": "1.3.1",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"jest-localstorage-mock": "2.4.26",
"jest-puppeteer": "8.0.6",
"jest-runner-eslint": "1.2.0",
"jest-runner-stylelint": "2.3.7",
"jest-silent-reporter": "0.6.0",
"jest-validate": "29.7.0",
"jest-watch-typeahead": "2.2.2",
"lint-staged": "13.3.0",
"moment": "2.30.1",
"moment-timezone": "0.5.46",
"omit-empty-es": "1.2.0",
"patch-package": "6.5.1",
"postcss": "8.4.49",
"postcss-styled-syntax": "^0.7.0",
"postcss-syntax": "^0.36.2",
"postcss-value-parser": "4.2.0",
"pptr-testing-library": "0.8.0",
"prettier": "2.8.8",
"puppeteer": "22.15.0",
"qs": "6.13.1",
"rcfile": "1.0.3",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-intl": "^6.3.2",
"react-router-dom": "5.3.4",
"react-test-renderer": "17.0.2",
"react-value": "0.2.0",
"replace": "1.2.2",
"rimraf": "3.0.2",
"shelljs": "0.8.5",
"stylelint": "16.12.0",
"stylelint-config-standard": "36.0.1",
"stylelint-order": "5.0.0",
"ts-jest": "29.2.5",
"ts-node": "10.9.2",
"tsc-files": "1.1.4",
"typescript": "5.7.2"
}
}