forked from commercetools/merchant-center-application-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
183 lines (183 loc) · 8.17 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": "merchant-center-application-kit",
"version": "0.0.0",
"description": "Merchant Center Application Kit (monorepo)",
"private": true,
"scripts": {
"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=./packages/i18n/transifex-transformer.js --out-file=./packages/i18n/data/core.json 'packages/**/*messages.ts'",
"compile-intl": "yarn workspace @commercetools-frontend/i18n compile-data",
"compile-css-modules": "yarn workspace @commercetools-frontend/application-shell compile-css-modules --no-private",
"l10n:build": "yarn workspace @commercetools-frontend/l10n generate-data",
"lint": "jest --projects jest.{eslint,stylelint,text}.config.js",
"lint:js": "jest --config jest.eslint.config.js",
"lint:css": "jest --config jest.stylelint.config.js",
"lint:text": "jest --config jest.text.config.js",
"typecheck": "tsc --noEmit",
"typecheck:cypress": "yarn typecheck -p cypress",
"typecheck:starter": "yarn typecheck -p application-templates/starter-typescript",
"format": "yarn format:js && yarn format:css && yarn format:md && yarn format:yaml && yarn 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": "yarn playground:start",
"changeset": "changeset",
"changeset:version-and-format": "changeset version && prettier --write --parser json '**/package.json' && YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn install",
"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",
"test:e2e": "cypress run",
"test:e2e:playground": "cypress run --spec 'cypress/integration/playground/**/*.ts'",
"test:e2e:template-starter": "cypress run --spec 'cypress/integration/template-starter/**/*.ts'",
"vrt:components": "percy exec -- yarn test:visual",
"playground:build": "yarn workspace playground build",
"playground:start": "yarn workspace playground start",
"playground:start:prod:local": "yarn workspace playground start:prod:local",
"visual-testing-app:start": "yarn workspace @commercetools-local/visual-testing-app start",
"visual-testing-app:build": "yarn workspace @commercetools-local/visual-testing-app build",
"visual-testing-app:preview": "yarn workspace @commercetools-local/visual-testing-app preview",
"template-starter:build": "yarn workspace merchant-center-application-template-starter build",
"template-starter:start": "yarn workspace merchant-center-application-template-starter start",
"template-starter:start:prod:local": "yarn workspace merchant-center-application-template-starter start:prod:local",
"template-starter-typescript:build": "yarn workspace merchant-center-application-template-starter-typescript build",
"template-starter-typescript:start": "yarn workspace merchant-center-application-template-starter-typescript start",
"template-starter-typescript:start:prod:local": "yarn workspace merchant-center-application-template-starter-typescript start:prod:local",
"build": "./scripts/build_packages.sh",
"build:watch": "yarn build --watch",
"build:website": "./scripts/build_website.sh",
"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": "yarn generate-types:mc && yarn generate-types:ctp && yarn generate-types:core && yarn generate-types:settings && yarn generate-types:proxy",
"versions:uikit": "manypkg upgrade @commercetools-uikit",
"versions:docskit": "manypkg upgrade @commercetools-docs"
},
"workspaces": {
"packages": [
"packages/*",
"packages-backend/*",
"application-templates/*",
"playground",
"visual-testing-app",
"website",
"website-components-playground"
]
},
"preconstruct": {
"packages": [
"packages/*",
"packages-backend/*",
"!packages/assets",
"!packages/babel-preset-mc-app",
"!packages/create-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.18.6",
"@babel/core": "^7.18.6",
"@changesets/changelog-github": "0.4.4",
"@changesets/cli": "2.22.0",
"@commercetools-docs/writing-style": "3.1.1",
"@commercetools-test-data/core": "3.1.2",
"@commercetools-uikit/design-system": "^15.1.0",
"@commercetools/github-labels": "1.1.0",
"@commitlint/cli": "16.2.4",
"@commitlint/config-conventional": "16.2.4",
"@faker-js/faker": "7.3.0",
"@formatjs/cli": "4.8.4",
"@graphql-codegen/add": "3.1.1",
"@graphql-codegen/cli": "2.6.2",
"@graphql-codegen/introspection": "2.1.1",
"@graphql-codegen/typescript": "2.4.11",
"@graphql-codegen/typescript-graphql-files-modules": "2.1.1",
"@graphql-codegen/typescript-operations": "2.4.0",
"@manypkg/cli": "0.19.1",
"@percy/cli": "1.1.4",
"@percy/cypress": "3.1.1",
"@percy/puppeteer": "2.0.2",
"@preconstruct/cli": "2.1.5",
"@svgr/cli": "6.2.1",
"@svgr/plugin-jsx": "6.2.1",
"@svgr/plugin-svgo": "6.2.0",
"@testing-library/cypress": "8.0.2",
"@testing-library/react": "12.1.5",
"@tsconfig/cypress": "^1.0.0",
"@types/jest-environment-puppeteer": "^5.0.2",
"@types/node": "^16.11.33",
"@types/uuid": "8.3.4",
"@types/webpack-env": "1.17.0",
"apollo-server-errors": "3.3.1",
"autoprefixer": "^10.4.7",
"babel-plugin-import-graphql": "^2.8.1",
"babel-plugin-transform-rename-import": "^2.3.0",
"babel-plugin-typescript-to-proptypes": "1.4.2",
"cross-env": "7.0.3",
"cypress": "9.6.1",
"dotenv": "16.0.0",
"eslint": "8.19.0",
"eslint-formatter-pretty": "4.1.0",
"eslint-plugin-graphql": "^4.0.0",
"graphql": "16.5.0",
"husky": "7.0.4",
"jest": "27.5.1",
"jest-each": "27.5.1",
"jest-puppeteer": "6.1.0",
"jest-runner-eslint": "1.0.1",
"jest-runner-executor": "1.0.0",
"jest-silent-reporter": "0.5.0",
"jest-watch-typeahead": "1.1.0",
"lint-staged": "11.2.6",
"mri": "1.2.0",
"patch-package": "6.4.7",
"postcss": "8.4.14",
"postcss-load-config": "3.1.4",
"postcss-modules": "4.3.1",
"prettier": "2.6.2",
"puppeteer": "14.1.0",
"rcfile": "1.0.3",
"replace": "1.2.1",
"rosie": "2.1.0",
"shelljs": "0.8.5",
"start-server-and-test": "1.14.0",
"stylelint": "14.9.1",
"stylelint-config-prettier": "9.0.3",
"stylelint-config-standard": "26.0.0",
"stylelint-order": "5.0.0",
"stylelint-value-no-unknown-custom-properties": "4.0.0",
"tsc-files": "1.1.3",
"typescript": "4.7.4",
"vfile-message": "3.1.2"
},
"resolutions": {
"@babel/preset-env": "^7.18.6",
"@formatjs/ecma402-abstract": "^1.11.8",
"@jest/types": "27.5.1",
"@pmmmwh/react-refresh-webpack-plugin": "0.5.5",
"@types/eslint": "^8.2.2",
"@types/react": "17.0.45",
"@types/react-dom": "17.0.16",
"@types/react-router": "5.1.18",
"@typescript-eslint/eslint-plugin": "^5.10.0",
"@typescript-eslint/parser": "^5.10.0",
"core-js-compat": "^3.23.4",
"intl-messageformat-parser": "6.4.4"
},
"engines": {
"node": ">=14",
"npm": ">=6",
"yarn": ">=1.10"
},
"packageManager": "[email protected]"
}