-
Notifications
You must be signed in to change notification settings - Fork 29
/
package.json
196 lines (196 loc) · 10.1 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
188
189
190
191
192
193
194
195
196
{
"name": "merchant-center-application-kit",
"version": "0.0.0",
"description": "Merchant Center Application Kit (monorepo)",
"private": true,
"scripts": {
"preinstall": "npx only-allow pnpm",
"postinstall": "./scripts/postinstall.sh",
"auth": "npm_config_registry=https://registry.npmjs.org npm whoami",
"clean": "manypkg exec rm -rf build dist test-utils/dist experimental/dist task/dist add-commands/dist",
"extract-intl": "formatjs extract --format=transifex --out-file=./packages/i18n/data/core.json 'packages/**/*messages.ts'",
"compile-intl": "pnpm --filter @commercetools-frontend/i18n run compile-data",
"l10n:build": "pnpm --filter @commercetools-frontend/l10n run generate-data",
"lint": "jest --projects jest.{eslint,stylelint}.config.js",
"lint:js": "jest --config jest.eslint.config.js",
"lint:css": "jest --config jest.stylelint.config.js",
"typecheck": "tsc --noEmit",
"typecheck:cypress": "pnpm typecheck -p cypress",
"typecheck:starter:custom-applications": "pnpm typecheck -p application-templates/starter-typescript",
"typecheck:starter:custom-views": "pnpm typecheck -p custom-views-templates/starter-typescript",
"typecheck:starters": "pnpm typecheck:starter:custom-applications && pnpm typecheck:starter:custom-views",
"format": "pnpm format:js && pnpm format:css && pnpm format:md && pnpm format:yaml && pnpm format:graphql",
"format:js": "prettier --write '**/*.{js,ts,tsx}'",
"format:css": "prettier --write --parser css '**/*.css'",
"format:md": "prettier --write --parser markdown '**/*.md'",
"format:yaml": "prettier --write --parser yaml '**/*.{yaml,yml}'",
"format:graphql": "prettier --write --parser graphql '**/*.graphql'",
"start": "pnpm playground:start",
"changeset": "changeset",
"changeset:version-and-format": "changeset version && prettier --write --parser json '**/package.json' && pnpm install --lockfile-only",
"test": "jest --config jest.test.config.js",
"test:watch": "jest --config jest.test.config.js --watch",
"test:visual": "jest --config jest.visual.config.js --runInBand --testTimeout 10000",
"test:jest-preview": "jest-preview",
"test:e2e": "cypress run",
"test:e2e:playground": "cypress run --spec 'cypress/e2e/playground/**/*.cy.ts'",
"test:e2e:template-custom-application-starter": "cypress run --spec 'cypress/e2e/custom-application-template-starter/**/*.cy.ts'",
"test:e2e:template-custom-view-starter": "cypress run --spec 'cypress/e2e/custom-view-template-starter/**/*.cy.ts'",
"vrt:components": "percy exec -- pnpm test:visual",
"playground:build": "pnpm --filter @commercetools-local/playground run build",
"playground:start": "pnpm --filter @commercetools-local/playground run start",
"playground:start:prod:local": "pnpm --filter @commercetools-local/playground run start:prod:local",
"visual-testing-app:start": "pnpm --filter @commercetools-local/visual-testing-app run start",
"visual-testing-app:build": "pnpm --filter @commercetools-local/visual-testing-app run build",
"visual-testing-app:preview": "pnpm --filter @commercetools-local/visual-testing-app run preview",
"template-custom-application-starter:build": "pnpm --filter @commercetools-applications/merchant-center-template-starter run build",
"template-custom-application-starter:start": "pnpm --filter @commercetools-applications/merchant-center-template-starter run start",
"template-custom-application-starter:start:prod:local": "pnpm --filter @commercetools-applications/merchant-center-template-starter run start:prod:local",
"template-custom-application-starter-typescript:build": "pnpm --filter @commercetools-applications/merchant-center-template-starter-typescript run build",
"template-custom-application-starter-typescript:start": "pnpm --filter @commercetools-applications/merchant-center-template-starter-typescript run start",
"template-custom-application-starter-typescript:start:prod:local": "pnpm --filter @commercetools-applications/merchant-center-template-starter-typescript run start:prod:local",
"template-custom-view-starter:build": "pnpm --filter @commercetools-applications/merchant-center-custom-view-template-starter run build",
"template-custom-view-starter:start": "pnpm --filter @commercetools-applications/merchant-center-custom-view-template-starter run start",
"template-custom-view-starter:start:prod:local": "pnpm --filter @commercetools-applications/merchant-center-custom-view-template-starter run start:prod:local",
"template-custom-view-starter-typescript:build": "pnpm --filter @commercetools-applications/merchant-center-custom-view-template-starter-typescript run build",
"template-custom-view-starter-typescript:start": "pnpm --filter @commercetools-applications/merchant-center-custom-view-template-starter-typescript run start",
"template-custom-view-starter-typescript:start:prod:local": "pnpm --filter @commercetools-applications/merchant-center-custom-view-template-starter-typescript run start:prod:local",
"build": "./scripts/build_packages.sh",
"build:watch": "pnpm build --watch",
"vercel-build": "echo \"Nothing to do, the build and deployment is managed in GH actions.\"",
"labels:sync": "github-labels sync",
"generate-types:mc": "graphql-codegen -r dotenv/config --config codegen.mc.yml",
"generate-types:ctp": "graphql-codegen -r dotenv/config --config codegen.ctp.yml",
"generate-types:core": "graphql-codegen -r dotenv/config --config codegen.core.yml",
"generate-types:settings": "graphql-codegen -r dotenv/config --config codegen.settings.yml",
"generate-types:proxy": "graphql-codegen -r dotenv/config --config codegen.proxy.yml",
"generate-types": "pnpm generate-types:mc && pnpm generate-types:ctp && pnpm generate-types:core && pnpm generate-types:settings && pnpm generate-types:proxy",
"omlet:scan": "pnpm omlet analyze --hook-script ./scripts/omlet-hook-script.js"
},
"preconstruct": {
"packages": [
"packages/*",
"packages-backend/*",
"!packages/assets",
"!packages/babel-preset-mc-app",
"!packages/codemod",
"!packages/eslint-config-mc-app",
"!packages/jest-preset-mc-app",
"!packages/jest-stylelint-runner",
"!packages-backend/eslint-config-node"
]
},
"dependencies": {
"@babel/cli": "^7.22.15",
"@babel/core": "^7.22.17",
"@changesets/changelog-github": "0.5.0",
"@changesets/cli": "2.27.5",
"@commercetools-frontend/application-config": "workspace:*",
"@commercetools-frontend/babel-preset-mc-app": "workspace:*",
"@commercetools-frontend/constants": "workspace:*",
"@commercetools-frontend/cypress": "workspace:*",
"@commercetools-frontend/eslint-config-mc-app": "workspace:*",
"@commercetools-frontend/jest-preset-mc-app": "workspace:*",
"@commercetools-frontend/jest-stylelint-runner": "workspace:*",
"@commercetools-frontend/mc-scripts": "workspace:*",
"@commercetools-test-data/core": "8.5.0",
"@commercetools-uikit/design-system": "^19.17.1",
"@commercetools/github-labels": "1.1.0",
"@commitlint/cli": "17.8.1",
"@commitlint/config-conventional": "17.8.1",
"@faker-js/faker": "8.4.1",
"@formatjs/cli": "6.2.12",
"@graphql-codegen/add": "3.2.3",
"@graphql-codegen/cli": "2.16.5",
"@graphql-codegen/introspection": "2.2.3",
"@graphql-codegen/typescript": "2.8.8",
"@graphql-codegen/typescript-graphql-files-modules": "2.2.1",
"@graphql-codegen/typescript-operations": "2.5.13",
"@manypkg/cli": "0.21.4",
"@manypkg/find-root": "2.2.1",
"@manypkg/get-packages": "1.1.3",
"@omlet/cli": "^1.12.0",
"@percy/cli": "1.30.2",
"@percy/core": "1.30.2",
"@percy/cypress": "3.1.2",
"@percy/puppeteer": "2.0.2",
"@preconstruct/cli": "2.6.2",
"@svgr/cli": "6.5.1",
"@svgr/plugin-jsx": "6.5.1",
"@svgr/plugin-svgo": "6.5.1",
"@testing-library/cypress": "8.0.7",
"@testing-library/dom": "^9.3.1",
"@testing-library/react": "12.1.5",
"@tsconfig/cypress": "^1.0.1",
"@types/eslint": "^8.44.2",
"@types/jest": "^29.5.4",
"@types/node": "^18.17.14",
"@types/rosie": "^0.0.45",
"@types/testing-library__jest-dom": "^5.14.9",
"@types/uuid": "^9.0.3",
"@types/webpack-env": "1.18.5",
"autoprefixer": "^10.4.15",
"babel-plugin-import-graphql": "^2.8.1",
"babel-plugin-transform-rename-import": "^2.3.0",
"babel-plugin-typescript-to-proptypes": "1.4.2",
"cac": "6.7.14",
"cross-env": "7.0.3",
"cypress": "12.17.4",
"dotenv": "16.4.5",
"eslint": "8.57.0",
"eslint-formatter-pretty": "4.1.0",
"eslint-plugin-graphql": "^4.0.0",
"find-up": "5.0.0",
"graphql": "16.8.2",
"husky": "7.0.4",
"jest": "29.7.0",
"jest-each": "29.7.0",
"jest-environment-puppeteer": "8.0.6",
"jest-preview": "^0.3.1",
"jest-puppeteer": "8.0.6",
"jest-runner-eslint": "2.2.0",
"jest-runner-executor": "1.0.0",
"jest-silent-reporter": "0.6.0",
"jest-watch-typeahead": "2.2.2",
"lint-staged": "11.2.6",
"postcss": "8.4.38",
"postcss-load-config": "3.1.4",
"prettier": "2.8.8",
"puppeteer": "20.9.0",
"qss": "2.0.3",
"react": "17.0.2",
"react-dom": "17.0.2",
"replace": "1.2.2",
"rosie": "2.1.1",
"shelljs": "0.8.5",
"start-server-and-test": "2.0.4",
"stylelint": "14.16.1",
"stylelint-config-prettier": "9.0.5",
"stylelint-config-standard": "26.0.0",
"stylelint-order": "5.0.0",
"stylelint-value-no-unknown-custom-properties": "4.0.0",
"tsc-files": "1.1.4",
"typescript": "5.0.4",
"vfile-message": "3.1.4"
},
"pnpm": {
"overrides": {
"@types/eslint": "^8.2.2",
"@types/react": "^17.0.56",
"@types/react-dom": "17.0.25",
"@types/react-router": "5.1.20",
"@typescript-eslint/eslint-plugin": "^5.52.0",
"@typescript-eslint/parser": "^5.52.0"
},
"patchedDependencies": {
"[email protected]": "patches/[email protected]",
"[email protected]": "patches/[email protected]"
}
},
"engines": {
"node": "18.x",
"npm": ">=6",
"pnpm": ">=8"
},
"packageManager": "[email protected]"
}