-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathpackage.json
More file actions
181 lines (181 loc) Β· 7.52 KB
/
Copy pathpackage.json
File metadata and controls
181 lines (181 loc) Β· 7.52 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
{
"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": "pnpm -r exec rm -rf dist",
"generate-readmes": "pnpm generate-readme --all-workspace-packages",
"generate-icons": "pnpm --filter @commercetools-uikit/icons run generate-icons && pnpm --filter @commercetools-uikit/checkbox-input run generate-icons && pnpm --filter @commercetools-uikit/rich-text-utils run generate-icons && prettier --write '**/generated/*.{ts,tsx}'",
"design-tokens:build": "pnpm --filter @commercetools-uikit/design-system run build:tokens",
"design-tokens:build:watch": "pnpm --filter @commercetools-uikit/design-system run build:tokens:watch",
"build": "./scripts/build.sh",
"build:watch": "./scripts/build_watch.sh",
"start": "pnpm --filter @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": "pnpm --filter @commercetools-uikit/i18n run 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",
"lint:publint": "node scripts/check-publint.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": "pnpm test --watch",
"test:bundle": "jest --config jest.bundle.config.js",
"test:visual": "jest --config jest.visual.config.js --runInBand",
"vrt:components": "percy exec -- pnpm test:visual",
"bundlewatch": "bundlewatch --config bundlewatch.config.json",
"test:bundle:watch": "jest --config jest.bundle.config.js --watch",
"changeset": "changeset",
"changeset:version-and-format": "changeset version && pnpm prettier --write --parser json '**/package.json' && pnpm install --no-frozen-lockfile",
"visual-testing-app:start": "pnpm --filter visual-testing-app run start",
"visual-testing-app:build": "pnpm --filter visual-testing-app run build",
"visual-testing-app:preview": "pnpm --filter visual-testing-app run preview",
"typecheck": "tsc --noEmit --skipLibCheck",
"prepare": "husky",
"postinstall": "./scripts/postinstall.sh"
},
"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/*"
]
},
"engines": {
"node": ">=24",
"npm": ">=6"
},
"packageManager": "pnpm@11.10.0+sha512.0b7f8b98060031904c017e3a41eb187a16d40eeb829b95c4f8cb03681761fc4ab53dd219115b9b447f4dce1a05a214764461e7d3703392a9f32f9511ce8c86c8",
"devDependencies": {
"@babel/core": "catalog:build",
"@changesets/changelog-github": "catalog:repo",
"@changesets/cli": "catalog:repo",
"@commercetools-frontend/babel-preset-mc-app": "catalog:repo",
"@commercetools-frontend/eslint-config-mc-app": "catalog:repo",
"@commercetools-frontend/ui-kit": "workspace:^",
"@commercetools-local/generator-package-json": "workspace:*",
"@commercetools-local/generator-readme": "workspace:*",
"@commercetools-uikit/design-system": "workspace:^",
"@commercetools-uikit/hooks": "workspace:^",
"@commercetools-uikit/i18n": "workspace:^",
"@commercetools-uikit/utils": "workspace:^",
"@commitlint/cli": "catalog:repo",
"@commitlint/config-conventional": "catalog:repo",
"@emotion/react": "catalog:build",
"@emotion/styled": "catalog:build",
"@formatjs/cli": "catalog:react",
"@formatjs/intl-relativetimeformat": "catalog:react",
"@manypkg/cli": "catalog:repo",
"@manypkg/get-packages": "catalog:repo",
"@percy/cli": "catalog:test",
"@percy/puppeteer": "catalog:test",
"@preconstruct/cli": "catalog:build",
"@svgr/babel-plugin-svg-dynamic-title": "catalog:build",
"@svgr/cli": "catalog:build",
"@svgr/core": "catalog:build",
"@svgr/plugin-jsx": "catalog:build",
"@svgr/plugin-svgo": "catalog:build",
"@testing-library/dom": "catalog:test",
"@testing-library/jest-dom": "catalog:test",
"@testing-library/react": "catalog:test",
"@types/history": "catalog:",
"@types/is-hotkey": "catalog:",
"@types/is-url": "catalog:",
"@types/jest": "catalog:test",
"@types/lodash": "catalog:",
"@types/node": "catalog:",
"@types/prettier": "catalog:",
"@types/react": "catalog:react",
"@types/react-dom": "catalog:react",
"@types/react-router-dom": "catalog:react",
"@types/shelljs": "catalog:",
"@typescript-eslint/eslint-plugin": "catalog:lint",
"@typescript-eslint/parser": "catalog:lint",
"babel-jest": "catalog:test",
"babel-plugin-formatjs": "catalog:react",
"browserslist": "catalog:build",
"bundlewatch": "catalog:build",
"colors": "catalog:",
"commander": "catalog:",
"conventional-changelog-cli": "catalog:repo",
"cross-env": "catalog:",
"eslint": "catalog:lint",
"eslint-formatter-pretty": "catalog:lint",
"execa": "catalog:",
"formik": "catalog:react",
"glob": "catalog:",
"global": "catalog:",
"history": "catalog:",
"husky": "catalog:repo",
"identity-obj-proxy": "catalog:test",
"intl-pluralrules": "catalog:react",
"is-url": "catalog:",
"jest": "catalog:test",
"jest-environment-jsdom": "catalog:test",
"jest-localstorage-mock": "catalog:test",
"jest-puppeteer": "catalog:test",
"jest-runner-eslint": "catalog:test",
"jest-runner-stylelint": "catalog:test",
"jest-silent-reporter": "catalog:test",
"jest-validate": "catalog:test",
"jest-watch-typeahead": "catalog:test",
"lint-staged": "catalog:repo",
"lodash": "catalog:",
"moment": "catalog:",
"moment-timezone": "catalog:",
"omit-empty-es": "catalog:",
"postcss": "catalog:build",
"postcss-styled-syntax": "catalog:build",
"postcss-syntax": "catalog:build",
"postcss-value-parser": "catalog:build",
"pptr-testing-library": "catalog:test",
"prettier": "catalog:lint",
"prop-types": "catalog:react",
"publint": "catalog:",
"puppeteer": "catalog:test",
"qs": "catalog:",
"rcfile": "catalog:",
"react": "catalog:react",
"react-dom": "catalog:react",
"react-intl": "catalog:react",
"react-router-dom": "catalog:react",
"react-value": "catalog:react",
"replace": "catalog:",
"rimraf": "catalog:",
"shelljs": "catalog:",
"stylelint": "catalog:lint",
"stylelint-config-standard": "catalog:lint",
"stylelint-order": "catalog:lint",
"ts-node": "catalog:build",
"tsc-files": "catalog:build",
"typescript": "catalog:build"
}
}