Wordpress/package.json
Jonathan Desrosiers a3bd11826a Build/Test Tools: Allow the desired version of PHPUnit to be passed to the local Docker environment.
This change introduces the `LOCAL_PHPUNIT` environment variable that allows the desired version of PHPUnit to be specified when running the PHP tests within the local Docker environment.

Because support for newer versions of PHPUnit is not backported, some versions of PHP need the ability to run multiple versions of PHPUnit for different branches. This adds the flexibility needed to use the Docker environment within those older branches to run the PHP tests.

Props johnbillion.
Fixes #50042.

git-svn-id: https://develop.svn.wordpress.org/trunk@49358 602fd350-edb4-49c9-b593-d223f7449a82
2020-10-28 19:01:19 +00:00

174 lines
5.7 KiB
JSON

{
"name": "WordPress",
"version": "5.6.0",
"description": "WordPress is open source software you can use to create a beautiful website, blog, or app.",
"repository": {
"type": "svn",
"url": "https://develop.svn.wordpress.org/trunk"
},
"engines": {
"node": "12.16.0",
"npm": "6.14.0"
},
"author": "The WordPress Contributors",
"license": "GPL-2.0-or-later",
"browserslist": [
"> 1%",
"ie >= 11",
"last 1 Android versions",
"last 1 ChromeAndroid versions",
"last 2 Chrome versions",
"last 2 Firefox versions",
"last 2 Safari versions",
"last 2 iOS versions",
"last 2 Edge versions",
"last 2 Opera versions"
],
"devDependencies": {
"@wordpress/custom-templated-path-webpack-plugin": "1.7.0",
"@wordpress/dependency-extraction-webpack-plugin": "2.8.0",
"@wordpress/e2e-test-utils": "4.15.0",
"@wordpress/library-export-default-webpack-plugin": "1.9.0",
"@wordpress/scripts": "12.4.0",
"autoprefixer": "9.6.2",
"chalk": "4.1.0",
"check-node-version": "4.0.1",
"copy-webpack-plugin": "^5.1.1",
"cssnano": "4.1.10",
"dotenv": "8.2.0",
"dotenv-expand": "5.1.0",
"grunt": "~1.1.0",
"grunt-banner": "^0.6.0",
"grunt-contrib-clean": "~2.0.0",
"grunt-contrib-concat": "1.0.1",
"grunt-contrib-copy": "~1.0.0",
"grunt-contrib-cssmin": "~3.0.0",
"grunt-contrib-imagemin": "~4.0.0",
"grunt-contrib-jshint": "2.1.0",
"grunt-contrib-qunit": "^3.1.0",
"grunt-contrib-uglify": "~4.0.1",
"grunt-contrib-watch": "~1.1.0",
"grunt-file-append": "0.0.7",
"grunt-includes": "~1.1.0",
"grunt-jsdoc": "2.4.0",
"grunt-jsvalidate": "~0.2.2",
"grunt-legacy-util": "^1.1.1",
"grunt-patch-wordpress": "~3.0.0",
"grunt-postcss": "~0.9.0",
"grunt-replace-lts": "~1.1.0",
"grunt-rtlcss": "~2.0.1",
"grunt-sass": "~3.1.0",
"grunt-webpack": "^3.1.3",
"ink-docstrap": "1.3.2",
"install-changed": "1.1.0",
"matchdep": "~2.0.0",
"node-sass": "~4.14.1",
"prettier": "npm:wp-prettier@2.0.5",
"puppeteer": "npm:puppeteer-core@3.0.0",
"qunit": "~2.9.0",
"sinon": "~9.0.0",
"sinon-test": "~3.0.0",
"source-map-loader": "^0.2.4",
"uglify-js": "^3.6.0",
"uglifyjs-webpack-plugin": "2.2.0",
"uuid": "8.2.0",
"wait-on": "3.3.0",
"webpack": "4.43.0",
"webpack-dev-server": "3.11.0",
"webpack-livereload-plugin": "2.3.0"
},
"dependencies": {
"@babel/polyfill": "7.10.1",
"@wordpress/a11y": "2.13.0",
"@wordpress/annotations": "1.23.0",
"@wordpress/api-fetch": "3.20.0",
"@wordpress/autop": "2.10.0",
"@wordpress/blob": "2.11.0",
"@wordpress/block-directory": "1.17.1",
"@wordpress/block-editor": "5.1.1",
"@wordpress/block-library": "2.26.1",
"@wordpress/block-serialization-default-parser": "3.8.0",
"@wordpress/blocks": "6.24.1",
"@wordpress/components": "11.1.1",
"@wordpress/compose": "3.22.0",
"@wordpress/core-data": "2.24.1",
"@wordpress/data": "4.25.0",
"@wordpress/data-controls": "1.19.0",
"@wordpress/date": "3.12.0",
"@wordpress/deprecated": "2.10.0",
"@wordpress/dom": "2.15.0",
"@wordpress/dom-ready": "2.11.0",
"@wordpress/edit-post": "3.25.1",
"@wordpress/editor": "9.24.1",
"@wordpress/element": "2.18.0",
"@wordpress/escape-html": "1.10.0",
"@wordpress/format-library": "1.25.1",
"@wordpress/hooks": "2.10.0",
"@wordpress/html-entities": "2.9.0",
"@wordpress/i18n": "3.16.0",
"@wordpress/icons": "2.8.0",
"@wordpress/is-shallow-equal": "2.3.0",
"@wordpress/keyboard-shortcuts": "1.12.0",
"@wordpress/keycodes": "2.16.0",
"@wordpress/list-reusable-blocks": "1.24.1",
"@wordpress/media-utils": "1.18.0",
"@wordpress/notices": "2.11.0",
"@wordpress/nux": "3.23.1",
"@wordpress/plugins": "2.23.0",
"@wordpress/primitives": "1.10.0",
"@wordpress/priority-queue": "1.9.0",
"@wordpress/redux-routine": "3.12.0",
"@wordpress/reusable-blocks": "1.0.1",
"@wordpress/rich-text": "3.23.0",
"@wordpress/server-side-render": "1.19.1",
"@wordpress/shortcode": "2.11.0",
"@wordpress/token-list": "1.13.0",
"@wordpress/url": "2.19.0",
"@wordpress/viewport": "2.24.0",
"@wordpress/warning": "1.3.0",
"@wordpress/wordcount": "2.13.0",
"backbone": "1.4.0",
"clipboard": "2.0.6",
"core-js-url-browser": "3.6.4",
"element-closest": "^2.0.2",
"formdata-polyfill": "3.0.13",
"hoverintent": "2.2.1",
"imagesloaded": "4.1.4",
"jquery-color": "https://github.com/jquery/jquery-color/archive/2.1.2.tar.gz",
"jquery-form": "4.2.1",
"jquery-hoverintent": "1.8.3",
"lodash": "4.17.19",
"masonry-layout": "4.2.2",
"moment": "2.27.0",
"polyfill-library": "3.42.0",
"react": "16.13.1",
"react-dom": "16.13.1",
"twemoji": "13.0.1",
"underscore": "1.8.3",
"whatwg-fetch": "3.0.0"
},
"scripts": {
"build": "grunt build",
"build:dev": "grunt build --dev",
"dev": "grunt watch --dev",
"test": "grunt test",
"watch": "grunt watch",
"grunt": "grunt",
"lint:jsdoc": "wp-scripts lint-js",
"lint:jsdoc:fix": "wp-scripts lint-js --fix",
"env:start": "node ./tools/local-env/scripts/start.js",
"env:stop": "node ./tools/local-env/scripts/docker.js down",
"env:restart": "npm run env:stop && npm run env:start",
"env:clean": "node ./tools/local-env/scripts/docker.js down -v --remove-orphans",
"env:reset": "node ./tools/local-env/scripts/docker.js down --rmi all -v --remove-orphans",
"env:install": "node ./tools/local-env/scripts/install.js",
"env:cli": "node ./tools/local-env/scripts/docker.js run cli",
"env:logs": "node ./tools/local-env/scripts/docker.js logs",
"env:pull": "node ./tools/local-env/scripts/docker.js pull",
"test:php": "node ./tools/local-env/scripts/docker.js run --rm phpunit phpunit",
"test:php-composer": "node ./tools/local-env/scripts/docker.js run --rm phpunit php ./vendor/bin/phpunit",
"test:e2e": "node ./tests/e2e/run-tests.js",
"wp-packages-update": "wp-scripts packages-update"
}
}