forked from Automattic/jetpack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
226 lines (226 loc) · 9.26 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
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
{
"name": "Jetpack",
"version": "8.4.0-alpha",
"description": "[Jetpack](https://jetpack.com/) is a WordPress plugin that supercharges your self-hosted WordPress site with the awesome cloud power of [WordPress.com](https://wordpress.com).",
"homepage": "https://jetpack.com",
"author": "Automattic",
"license": "GPL-2.0-or-later",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/Automattic/jetpack.git"
},
"browserslist": [
"extends @wordpress/browserslist-config"
],
"bugs": {
"url": "https://github.com/Automattic/jetpack/issues"
},
"scripts": {
"watch": "yarn build && yarn gulp watch",
"clean": "yarn clean-client && yarn clean-extensions && yarn clean-composer",
"clean-client": "rm -rf _inc/build/ css/",
"clean-composer": "rm -rf vendor/",
"clean-extensions": "rm -rf _inc/blocks/ ",
"install-if-deps-outdated": "yarn check 2> /dev/null || yarn install --check-files --production=false --frozen-lockfile",
"distclean": "rm -rf node_modules && yarn clean",
"build": "yarn install-if-deps-outdated && yarn clean && yarn build-client && yarn build-php && yarn build-extensions && yarn build-search",
"build-client": "gulp",
"build-extensions": "webpack --config ./webpack.config.extensions.js",
"build-search": "webpack --config ./webpack.config.search.js",
"build-php": "composer install --ignore-platform-reqs",
"build-production-php": "COMPOSER_MIRROR_PATH_REPOS=1 composer install -o --no-dev --classmap-authoritative --prefer-dist",
"build-production-client": "NODE_ENV=production BABEL_ENV=production yarn build-client",
"build-production": "yarn distclean && yarn install --production=false && yarn build-production-client && yarn build-production-php && NODE_ENV=production yarn build-extensions && NODE_ENV=production yarn build-search && gulp languages:extract",
"build-languages": "gulp languages",
"docker:compose": "yarn docker:env && docker-compose -f docker/docker-compose.yml",
"docker:up": "yarn docker:compose up",
"docker:ngrok": "yarn docker:compose -f docker/docker-compose-ngrok.yml",
"docker:ngrok-up": "yarn docker:ngrok up",
"docker:ngrok-down": "yarn docker:ngrok down",
"docker:stop": "yarn docker:compose stop",
"docker:down": "yarn docker:compose down",
"docker:build": "docker run -it --rm -v ${PWD}:/usr/src/app -w /usr/src/app node yarn build",
"docker:build-image": "yarn docker:compose build",
"docker:wp": "yarn docker:compose exec wordpress wp --allow-root --path=/var/www/html/",
"docker:install": "yarn docker:compose exec wordpress bash -c \"/var/scripts/install.sh\"",
"docker:uninstall": "yarn docker:compose exec wordpress bash -c \"/var/scripts/uninstall.sh\"",
"docker:multisite-convert": "yarn docker:compose exec wordpress bash -c \"/var/scripts/multisite-convert.sh\"",
"docker:sh": "yarn docker:compose exec wordpress bash",
"docker:phpunit": "yarn docker:compose exec wordpress phpunit --configuration=/var/www/html/wp-content/plugins/jetpack/phpunit.xml.dist",
"docker:phpunit:multisite": "yarn docker:compose exec wordpress phpunit --configuration=/var/www/html/wp-content/plugins/jetpack/tests/php.multisite.xml",
"docker:tail": "yarn docker:compose exec wordpress bash -c \"/var/scripts/tail.sh\"",
"docker:clean": "yarn docker:compose down --rmi all -v && rm -rf docker/wordpress/* docker/wordpress/.htaccess docker/wordpress-develop/* docker/logs/* docker/data/mysql/*",
"docker:env": "node -e \"require('fs').createWriteStream( 'docker/.env', { flags: 'a' } );\"",
"docker:update-core-unit-tests": "yarn docker:compose exec wordpress svn up /tmp/wordpress-develop/tests/phpunit/data/ /tmp/wordpress-develop/tests/phpunit/includes",
"lint": "eslint --ext .js,.jsx . _inc extensions modules",
"php:compatibility": "composer php:compatibility",
"php:lint": "composer php:lint",
"php:autofix": "composer php:autofix",
"test-adminpage": "yarn test-client && yarn test-gui",
"test-client": "NODE_ENV=test NODE_PATH=tests:_inc/client tests/runner.js",
"test-decrypt-config": "openssl enc -md sha1 -aes-256-cbc -d -pass env:CONFIG_KEY -in ./tests/e2e/config/encrypted.enc -out ./tests/e2e/config/local-test.js",
"test-encrypt-config": "openssl enc -md sha1 -aes-256-cbc -pass env:CONFIG_KEY -in ./tests/e2e/config/local-test.js -out ./tests/e2e/config/encrypted.enc",
"test-extensions": "jest extensions",
"test-e2e": "NODE_CONFIG_DIR='./tests/e2e/config' NODE_CONFIG_ENV=test JEST_PUPPETEER_CONFIG=tests/e2e/jest-puppeteer.config.js jest --config tests/e2e/jest.config.js",
"test-spelling": "mdspell -n -a -x --en-us **/*.md",
"add-textdomain": "wpi18n addtextdomain --textdomain=jetpack --glob-pattern='!(docker|node_modules|tests|tools|vendor){*.php,**/*.php}'",
"test-gui": "NODE_ENV=test NODE_PATH=tests:_inc/client tests/runner.js gui",
"test-modules": "NODE_ENV=test NODE_PATH=tests:_inc/client tests/runner.js modules",
"test-dangerci-and-adminpage-and-extensions": "yarn danger ci && yarn test-adminpage && yarn test-extensions",
"test-search": "jest modules/search",
"reformat-files": "./node_modules/.bin/prettier --ignore-path .eslintignore --write \"**/*.{js,jsx,json}\"",
"version-packages": "bash ./bin/version-packages.sh"
},
"husky": {
"hooks": {
"pre-commit": "node bin/pre-commit-hook.js",
"prepare-commit-msg": "node bin/prepare-commit-msg.js"
}
},
"dependencies": {
"@automattic/calypso-build": "6.1.0",
"@automattic/calypso-color-schemes": "1.0.0",
"@automattic/custom-colors-loader": "automattic/custom-colors-loader",
"@automattic/format-currency": "1.0.0-alpha.0",
"@automattic/viewport": "1.0.0",
"@babel/core": "7.8.4",
"@babel/preset-env": "7.8.4",
"@babel/register": "7.7.7",
"@wordpress/base-styles": "1.4.0",
"@wordpress/browserslist-config": "2.6.0",
"@wordpress/compose": "3.11.0",
"@wordpress/data": "4.14.2",
"@wordpress/element": "2.11.0",
"@wordpress/i18n": "3.9.0",
"@wordpress/url": "2.11.0",
"babel-jest": "24.9.0",
"babel-loader": "8.0.6",
"bounding-client-rect": "1.0.5",
"cache": "2.1.0",
"classnames": "2.2.6",
"click-outside": "2.0.2",
"clipboard": "2.0.6",
"component-uid": "0.0.2",
"cookie": "0.4.0",
"copy-webpack-plugin": "5.1.1",
"create-react-class": "15.6.3",
"cross-env": "7.0.2",
"debug": "4.1.1",
"del": "5.1.0",
"email-validator": "2.0.4",
"fancy-log": "1.3.3",
"fast-json-stable-stringify": "2.1.0",
"focus-trap": "5.1.0",
"gridicons": "3.3.1",
"gulp": "4.0.2",
"gulp-append-prepend": "1.0.8",
"gulp-autoprefixer": "7.0.1",
"gulp-clean-css": "4.3.0",
"gulp-concat": "2.6.1",
"gulp-if": "3.0.0",
"gulp-json-transform": "0.4.7",
"gulp-minify": "3.1.0",
"gulp-modify-css-urls": "2.0.0",
"gulp-po2json": "1.0.0",
"gulp-rename": "2.0.0",
"gulp-rm-lines": "0.0.10",
"gulp-rtlcss": "1.4.1",
"gulp-sass": "4.0.2",
"gulp-sourcemaps": "2.6.5",
"gulp-tap": "2.0.0",
"history": "3.3.0",
"i18n-calypso": "4.0.0",
"i18n-calypso-cli": "1.0.0",
"jsdom": "15.2.1",
"jsdom-global": "3.0.2",
"json-loader": "0.5.7",
"mapbox-gl": "1.9.1",
"markdown-it": "10.0.0",
"node-sass": "4.13.1",
"page": "1.7.1",
"photon": "2.1.0",
"plugin-error": "1.0.1",
"postcss-custom-properties": "9.1.1",
"preact": "10.3.4",
"prop-types": "15.7.2",
"q-flat": "1.0.7",
"qss": "2.0.3",
"react-pure-render": "1.0.2",
"react-redux": "6.0.1",
"react-router": "3.2.6",
"react-router-redux": "4.0.8",
"react-tagsinput": "3.19.0",
"redux": "4.0.5",
"redux-thunk": "2.3.0",
"refx": "3.1.1",
"resize-observer-polyfill": "1.5.1",
"static-site-generator-webpack-plugin": "3.4.2",
"strip": "3.0.0",
"swiper": "4.5.1",
"tinycolor2": "1.4.1",
"uglify-save-license": "0.4.1",
"unfetch": "4.1.0",
"url-polyfill": "1.1.8",
"webpack": "4.42.1",
"webpack-cli": "3.3.11"
},
"optionalDependencies": {
"react": "16.13.1",
"react-dom": "16.13.1"
},
"devDependencies": {
"@automattic/color-studio": "2.2.1",
"@slack/web-api": "5.8.0",
"@testing-library/jest-dom": "5.3.0",
"@testing-library/preact": "1.0.2",
"@wordpress/components": "9.2.6",
"@wordpress/core-data": "2.12.3",
"@wordpress/dependency-extraction-webpack-plugin": "2.4.0",
"@wordpress/e2e-test-utils": "4.3.1",
"@wordpress/editor": "9.12.7",
"@wordpress/eslint-plugin": "4.0.0",
"@wordpress/server-side-render": "1.8.6",
"babel-eslint": "10.0.2",
"chai": "4.2.0",
"commander": "5.0.0",
"config": "3.3.1",
"css-loader": "3.4.2",
"danger": "10.1.0",
"enzyme": "3.11.0",
"eslint": "6.8.0",
"eslint-config-prettier": "6.10.1",
"eslint-config-wpcalypso": "5.0.0",
"eslint-loader": "3.0.4",
"eslint-plugin-es5": "1.5.0",
"eslint-plugin-jest": "22.21.0",
"eslint-plugin-jsdoc": "22.1.0",
"eslint-plugin-jsx-a11y": "6.2.3",
"eslint-plugin-lodash": "6.0.0",
"eslint-plugin-react": "7.19.0",
"eslint-plugin-wpcalypso": "4.1.0",
"glob": "7.1.6",
"husky": "4.2.3",
"jest": "24.9.0",
"jest-puppeteer": "4.4.0",
"lodash": "4.17.15",
"markdown-spellcheck": "1.3.1",
"mocha": "6.2.3",
"mockery": "2.1.0",
"nock": "12.0.3",
"node-wp-i18n": "1.2.3",
"prettier": "npm:[email protected]",
"puppeteer": "1.20.0",
"react-click-outside": "3.0.1",
"react-test-renderer": "16.13.1",
"sass-loader": "7.3.1",
"sinon": "7.5.0",
"sinon-chai": "3.5.0",
"style-loader": "0.23.1",
"url-loader": "1.1.2"
},
"engines": {
"node": ">=10",
"yarn": "^1.3.2"
}
}