forked from commercetools/merchant-center-application-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
204 lines (204 loc) · 8.59 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
197
198
199
200
201
202
203
204
{
"name": "merchant-center-application-kit",
"version": "0.0.0",
"description": "Merchant Center Application Kit (monorepo)",
"license": "MIT",
"private": true,
"scripts": {
"auth": "npm_config_registry=https://registry.npmjs.org npm whoami",
"clean": "lerna exec 'rm -rf build dist'",
"i18n:build": "formatjs extract --format=$(pwd)/packages/i18n/transifex-transformer.js --out-file=$(pwd)/packages/i18n/data/core.json 'packages/**/*messages.ts'",
"i18n:compile": "yarn --cwd packages/i18n compile-data",
"l10n:build": "pushd packages/l10n; yarn generate-data",
"lint": "jest --projects jest.eslint.config.js jest.stylelint.config.js jest.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",
"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",
"release:from-next-to-latest": "lerna exec --no-bail --no-private --no-sort --stream -- '[ -n \"$(npm v . dist-tags.next)\" ] && npm dist-tag add ${LERNA_PACKAGE_NAME}@$(npm v . dist-tags.next) latest'",
"pretest": "yarn i18n:compile",
"pretest:watch": "yarn i18n:compile",
"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/**/*.js",
"test:e2e:template-starter": "cypress run --spec cypress/integration/template-starter/**/*.js",
"vrt:components": "percy exec -- yarn test:visual",
"playground:build": "yarn --cwd playground build",
"playground:start": "yarn --cwd playground start",
"playground:start:prod:local": "yarn --cwd playground start:prod:local",
"visual-testing-app:start": "yarn --cwd visual-testing-app start",
"visual-testing-app:build": "yarn --cwd visual-testing-app build",
"visual-testing-app:serve": "yarn --cwd visual-testing-app serve",
"template-starter:build": "yarn --cwd application-templates/starter build",
"template-starter:start": "yarn --cwd application-templates/starter start",
"template-starter:start:prod:local": "yarn --cwd application-templates/starter start:prod:local",
"build": "NODE_ENV=production lerna run build --no-private",
"build:typings": "NODE_ENV=production lerna run build:typings --no-private",
"build:bundles": "NODE_ENV=production lerna run build:bundles --no-private",
"build:bundles:watch": "NODE_ENV=development lerna run --no-private --parallel build:bundles:watch",
"build:website": "yarn build --scope '@commercetools-frontend/application-components' --include-dependencies && yarn --cwd website build && yarn --cwd website-components-playground build",
"now-build": "yarn build:website && rm -rf public && mv website/public public",
"labels:sync": "github-labels sync",
"generate-types:mc": "./scripts/graphql-cli.sh codegen --project mc",
"generate-types:ctp": "./scripts/graphql-cli.sh codegen --project ctp",
"generate-types:settings": "./scripts/graphql-cli.sh codegen --project settings",
"generate-types:proxy": "./scripts/graphql-cli.sh codegen --project proxy",
"generate-types": "yarn generate-types:mc && yarn generate-types:ctp && yarn generate-types:settings && yarn generate-types:proxy",
"versions:uikit": "bulk-update-versions --match '@commercetools-uikit/(.*)'"
},
"workspaces": {
"packages": [
"application-templates/*",
"packages-backend/*",
"packages/*",
"playground",
"visual-testing-app",
"website",
"website-components-playground"
],
"nohoist": [
"**/react-apollo"
]
},
"devDependencies": {
"@babel/cli": "7.11.6",
"@babel/core": "7.11.6",
"@changesets/changelog-github": "0.2.7",
"@changesets/cli": "2.10.3",
"@commercetools-docs/writing-style": "3.0.2",
"@commercetools-test-data/core": "1.0.1",
"@commercetools-uikit/design-system": "10.18.4",
"@commercetools/github-labels": "1.1.0",
"@commitlint/cli": "11.0.0",
"@commitlint/config-conventional": "11.0.0",
"@formatjs/cli": "2.12.0",
"@graphql-cli/codegen": "1.17.9",
"@graphql-cli/coverage": "2.1.0",
"@graphql-cli/validate": "2.1.0",
"@graphql-codegen/add": "1.17.7",
"@graphql-codegen/cli": "1.17.9",
"@graphql-codegen/introspection": "1.18.0",
"@graphql-codegen/typescript": "1.17.10",
"@graphql-codegen/typescript-graphql-files-modules": "1.18.0",
"@graphql-codegen/typescript-operations": "1.17.8",
"@percy/cypress": "2.3.1",
"@percy/puppeteer": "1.1.0",
"@rollup/plugin-babel": "5.2.1",
"@rollup/plugin-commonjs": "15.1.0",
"@rollup/plugin-json": "4.1.0",
"@rollup/plugin-node-resolve": "9.0.0",
"@testing-library/cypress": "7.0.1",
"@testing-library/react": "11.0.4",
"@types/enzyme": "3.10.6",
"@types/jquery": "3.5.1",
"@types/node": "14.11.2",
"@types/react": "16.9.49",
"@types/react-dom": "16.9.8",
"@types/react-redux": "7.1.9",
"@types/react-router": "5.1.8",
"@types/react-router-dom": "5.1.5",
"@types/uuid": "8.3.0",
"@types/webpack": "4.41.22",
"@types/webpack-env": "1.15.3",
"@typescript-eslint/eslint-plugin": "4.3.0",
"@typescript-eslint/parser": "4.3.0",
"apollo-server-errors": "2.4.2",
"babel-eslint": "10.1.0",
"babel-plugin-import-graphql": "2.7.0",
"babel-plugin-transform-rename-import": "2.3.0",
"babel-plugin-typescript-to-proptypes": "1.4.1",
"bulk-update-versions": "1.1.0",
"cross-env": "7.0.2",
"cypress": "5.3.0",
"dotenv": "8.2.0",
"enzyme": "3.11.0",
"eslint": "7.10.0",
"eslint-config-airbnb-base": "14.2.0",
"eslint-config-prettier": "6.12.0",
"eslint-formatter-pretty": "4.0.0",
"eslint-import-resolver-typescript": "2.3.0",
"eslint-plugin-babel": "5.3.1",
"eslint-plugin-cypress": "2.11.2",
"eslint-plugin-graphql": "4.0.0",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-jest": "24.0.2",
"eslint-plugin-jest-dom": "3.2.3",
"eslint-plugin-jsx-a11y": "6.3.1",
"eslint-plugin-prefer-object-spread": "1.2.1",
"eslint-plugin-prettier": "3.1.4",
"eslint-plugin-react": "7.21.2",
"eslint-plugin-react-hooks": "4.1.2",
"eslint-plugin-testing-library": "3.9.0",
"faker": "5.1.0",
"gatsby-plugin-emotion": "4.3.12",
"gatsby-plugin-mdx": "1.2.42",
"graphql-cli": "4.0.0",
"husky": "4.3.0",
"jest": "26.4.2",
"jest-each": "26.4.2",
"jest-puppeteer": "4.4.0",
"jest-runner-eslint": "0.10.0",
"jest-runner-executor": "1.0.0",
"jest-runner-prettier": "0.3.6",
"jest-silent-reporter": "0.2.1",
"jest-watch-typeahead": "0.6.1",
"lerna": "3.22.1",
"lint-staged": "10.4.0",
"mri": "1.1.6",
"postcss": "8.1.1",
"postcss-custom-properties": "10.0.0",
"postcss-import": "12.0.1",
"prettier": "2.1.2",
"puppeteer": "5.3.1",
"rcfile": "1.0.3",
"read-pkg-up": "7.0.1",
"replace": "1.2.0",
"rollup": "2.28.2",
"rollup-plugin-node-builtins": "2.1.2",
"rollup-plugin-peer-deps-external": "2.2.3",
"rollup-plugin-postcss": "3.1.8",
"rosie": "2.0.1",
"shelljs": "0.8.4",
"start-server-and-test": "1.11.4",
"stylelint": "13.7.2",
"stylelint-config-prettier": "8.0.2",
"stylelint-config-standard": "20.0.0",
"stylelint-order": "4.1.0",
"stylelint-value-no-unknown-custom-properties": "3.0.0",
"typescript": "3.9.7",
"vfile-message": "2.0.4"
},
"resolutions": {
"@mdx-js/mdx": "1.6.18",
"**/@mdx-js/mdx": "1.6.18",
"@mdx-js/react": "1.6.18",
"**/@mdx-js/react": "1.6.18",
"**/gatsby-link": "2.4.15",
"@sentry/types": "5.24.2",
"**/@sentry/types": "5.24.2",
"@types/react": "16.9.49",
"@types/react-router": "5.1.8",
"**/sharp": "0.26.1",
"cypress": "5.3.0",
"graphql": "14.7.0",
"pretty-format": "26.4.2",
"intl-messageformat-parser": "6.0.7",
"**/intl-messageformat-parser": "6.0.7",
"**/@commercetools-docs/gatsby-theme-docs/react-intl": "5.8.3"
},
"engines": {
"node": ">=12",
"npm": ">=5",
"yarn": ">=1.10"
}
}