-
Notifications
You must be signed in to change notification settings - Fork 27
/
package.json
144 lines (144 loc) 路 5.87 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
{
"name": "merchant-center-application-kit",
"version": "0.0.0",
"description": "Merchant Center Application Kit (monorepo)",
"license": "MIT",
"private": true,
"scripts": {
"changelog": "node scripts/changelog.js",
"i18n:build": "./packages/mc-scripts/bin/mc-scripts.js extract-intl --output-path=$(pwd)/packages/i18n/data 'packages/**/!(*.spec).js'",
"l10n:build": "pushd packages/l10n; yarn generate-data",
"lint": "jest --projects jest.eslint.config.js jest.stylelint.config.js",
"lint:js": "jest --config jest.eslint.config.js",
"lint:css": "jest --config jest.stylelint.config.js",
"typecheck": "tsc --noEmit",
"format": "yarn format:js && yarn format:css & yarn format:md & yarn format:yaml",
"format:js": "prettier --write '**/*.{js,ts,tsx}'",
"format:css": "prettier --write --parser css '**/*.css'",
"format:md": "prettier --write --parser markdown '**/*.{md,mdx}'",
"format:yaml": "prettier --write --parser yaml '**/*.yaml'",
"start": "yarn playground:start",
"prerelease": "yarn build",
"release": "lerna publish --exact --dist-tag next",
"release:canary": "lerna publish --exact --dist-tag canary --canary --preid canary --yes",
"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'",
"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",
"run-if:percy": "node scripts/run-percy.js",
"vrt": "percy exec -- jest --config jest.visual.config.js --runInBand",
"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:build": "yarn --cwd visual-testing-app build",
"visual-testing-app:start": "yarn --cwd visual-testing-app start",
"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:es": "NODE_ENV=production lerna run build:es --no-private",
"build:es:watch": "NODE_ENV=development lerna run --no-private --parallel build:es:watch",
"labels:sync": "github-labels sync"
},
"workspaces": [
"application-templates/*",
"packages/*",
"playground",
"visual-testing-app",
"website"
],
"devDependencies": {
"@commercetools/github-labels": "1.1.0",
"@commitlint/cli": "8.1.0",
"@commitlint/config-conventional": "8.1.0",
"@percy/puppeteer": "1.0.8",
"@testing-library/react": "8.0.4",
"@types/enzyme": "3.10.3",
"@types/graphql": "14.2.2",
"@types/history": "4.7.2",
"@types/jest": "24.0.15",
"@types/lodash": "4.14.136",
"@types/moment-timezone": "0.5.12",
"@types/node": "10.14.13",
"@types/prop-types": "15.7.1",
"@types/react": "16.8.23",
"@types/react-dom": "16.8.4",
"@types/react-intl": "2.3.18",
"@types/react-router-dom": "4.3.4",
"@typescript-eslint/eslint-plugin": "1.11.0",
"@typescript-eslint/parser": "1.11.0",
"babel-eslint": "10.0.2",
"babel-plugin-import-graphql": "2.7.0",
"babel-plugin-transform-rename-import": "2.3.0",
"babel-plugin-typescript-to-proptypes": "0.17.1",
"cross-env": "5.2.0",
"cypress": "3.4.0",
"cypress-testing-library": "3.0.1",
"dotenv": "8.0.0",
"enzyme": "3.10.0",
"eslint": "5.16.0",
"eslint-config-airbnb-base": "13.2.0",
"eslint-config-prettier": "6.0.0",
"eslint-formatter-pretty": "2.1.1",
"eslint-import-resolver-typescript": "1.1.1",
"eslint-plugin-babel": "5.3.0",
"eslint-plugin-cypress": "2.6.0",
"eslint-plugin-import": "2.18.2",
"eslint-plugin-jest": "22.13.1",
"eslint-plugin-jsx-a11y": "6.2.3",
"eslint-plugin-prefer-object-spread": "1.2.1",
"eslint-plugin-prettier": "3.1.0",
"eslint-plugin-react": "7.14.2",
"eslint-plugin-react-hooks": "1.6.1",
"husky": "2.7.0",
"jest": "24.8.0",
"jest-each": "24.8.0",
"jest-puppeteer": "4.3.0",
"jest-runner-eslint": "0.7.4",
"jest-runner-prettier": "0.2.6",
"jest-runner-shellcheck": "1.0.2",
"jest-silent-reporter": "0.1.2",
"jest-watch-typeahead": "0.3.1",
"lerna": "3.15.0",
"lerna-changelog": "0.8.2",
"lint-staged": "8.2.1",
"mri": "1.1.4",
"postcss": "7.0.17",
"postcss-custom-properties": "9.0.1",
"postcss-import": "12.0.1",
"prettier": "1.18.2",
"puppeteer": "1.18.1",
"rcfile": "1.0.3",
"read-pkg-up": "6.0.0",
"replace": "1.1.0",
"rollup": "1.16.7",
"rollup-plugin-babel": "4.3.3",
"rollup-plugin-commonjs": "10.0.1",
"rollup-plugin-json": "4.0.0",
"rollup-plugin-node-builtins": "2.1.2",
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-peer-deps-external": "2.2.0",
"rollup-plugin-postcss": "2.0.3",
"rollup-plugin-replace": "2.2.0",
"shelljs": "0.8.3",
"start-server-and-test": "1.9.1",
"stylelint": "10.1.0",
"stylelint-config-prettier": "5.2.0",
"stylelint-config-standard": "18.3.0",
"stylelint-order": "3.0.1",
"stylelint-value-no-unknown-custom-properties": "2.0.0",
"typescript": "3.5.2"
},
"resolutions": {
"@types/react": "16.8.23"
},
"engines": {
"node": ">=8.9",
"npm": ">=5",
"yarn": ">=1.10"
}
}