wordpress/package.json
Riad Benguella 07fc9b2d74 Block Editor: Updated the WordPress packages to include Gutenberg 15.1.0 changes.
In addition to all the packages being updated to the latest versions, 
this commit also includes some mandatory changes to avoid editor breakage:

 - Update React to to 18.2.0.
 - Add the right stylesheets to support iframed block editors.

Props ntsekouras, mamaduka, flixos90, desrosj, peterwilsoncc.
See #57471.


git-svn-id: https://develop.svn.wordpress.org/trunk@55246 602fd350-edb4-49c9-b593-d223f7449a82
2023-02-07 07:01:56 +00:00

186 lines
6.2 KiB
JSON

{
"name": "WordPress",
"version": "6.2.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": ">=14.15.0",
"npm": ">=6.14.8 <7"
},
"author": "The WordPress Contributors",
"license": "GPL-2.0-or-later",
"browserslist": [
"> 1%",
"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": {
"@lodder/grunt-postcss": "^3.1.1",
"@pmmmwh/react-refresh-webpack-plugin": "0.5.5",
"@wordpress/babel-preset-default": "7.10.1",
"@wordpress/dependency-extraction-webpack-plugin": "4.9.1",
"@wordpress/e2e-test-utils": "9.3.1",
"@wordpress/scripts": "25.3.1",
"autoprefixer": "^10.4.13",
"chalk": "5.2.0",
"check-node-version": "4.2.1",
"copy-webpack-plugin": "11.0.0",
"cssnano": "5.1.14",
"dotenv": "16.0.3",
"dotenv-expand": "10.0.0",
"grunt": "~1.5.3",
"grunt-banner": "^0.6.0",
"grunt-contrib-clean": "~2.0.1",
"grunt-contrib-concat": "2.1.0",
"grunt-contrib-copy": "~1.0.0",
"grunt-contrib-cssmin": "~4.0.0",
"grunt-contrib-imagemin": "~4.0.0",
"grunt-contrib-jshint": "3.2.0",
"grunt-contrib-qunit": "~6.2.1",
"grunt-contrib-uglify": "~5.2.2",
"grunt-contrib-watch": "~1.1.0",
"grunt-file-append": "0.0.7",
"grunt-jsdoc": "2.4.1",
"grunt-jsvalidate": "~0.2.2",
"grunt-legacy-util": "^2.0.1",
"grunt-patch-wordpress": "~3.0.0",
"grunt-replace-lts": "~1.1.0",
"grunt-rtlcss": "~2.0.2",
"grunt-sass": "~3.1.0",
"grunt-webpack": "5.0.0",
"ink-docstrap": "1.3.2",
"install-changed": "1.1.0",
"jest-image-snapshot": "3.0.1",
"matchdep": "~2.0.0",
"postcss": "^8.4.21",
"prettier": "npm:wp-prettier@2.6.2",
"qunit": "~2.19.4",
"react-refresh": "0.10.0",
"sass": "^1.58.0",
"sinon": "~15.0.1",
"sinon-test": "~3.1.5",
"source-map-loader": "4.0.1",
"terser-webpack-plugin": "5.3.6",
"uglify-js": "^3.17.4",
"uuid": "9.0.0",
"wait-on": "7.0.1",
"webpack": "5.75.0",
"webpack-livereload-plugin": "3.0.2"
},
"dependencies": {
"@wordpress/a11y": "3.26.1",
"@wordpress/annotations": "2.26.1",
"@wordpress/api-fetch": "6.23.1",
"@wordpress/autop": "3.26.1",
"@wordpress/blob": "3.26.1",
"@wordpress/block-directory": "4.3.1",
"@wordpress/block-editor": "11.3.1",
"@wordpress/block-library": "8.3.1",
"@wordpress/block-serialization-default-parser": "4.26.1",
"@wordpress/blocks": "12.3.1",
"@wordpress/components": "23.3.1",
"@wordpress/compose": "6.3.1",
"@wordpress/core-data": "6.3.1",
"@wordpress/customize-widgets": "4.3.1",
"@wordpress/data": "8.3.1",
"@wordpress/data-controls": "2.26.1",
"@wordpress/date": "4.26.1",
"@wordpress/deprecated": "3.26.1",
"@wordpress/dom": "3.26.1",
"@wordpress/dom-ready": "3.26.1",
"@wordpress/edit-post": "7.3.1",
"@wordpress/edit-site": "5.3.1",
"@wordpress/edit-widgets": "5.3.1",
"@wordpress/editor": "13.3.1",
"@wordpress/element": "5.3.1",
"@wordpress/escape-html": "2.26.1",
"@wordpress/experiments": "0.8.1",
"@wordpress/format-library": "4.3.1",
"@wordpress/hooks": "3.26.1",
"@wordpress/html-entities": "3.26.1",
"@wordpress/i18n": "4.26.1",
"@wordpress/icons": "9.17.1",
"@wordpress/interface": "5.3.1",
"@wordpress/is-shallow-equal": "4.26.1",
"@wordpress/keyboard-shortcuts": "4.3.1",
"@wordpress/keycodes": "3.26.1",
"@wordpress/list-reusable-blocks": "4.3.1",
"@wordpress/media-utils": "4.17.1",
"@wordpress/notices": "3.26.1",
"@wordpress/nux": "6.0.0",
"@wordpress/plugins": "5.3.1",
"@wordpress/preferences": "3.3.1",
"@wordpress/preferences-persistence": "1.18.1",
"@wordpress/primitives": "3.24.1",
"@wordpress/priority-queue": "2.26.1",
"@wordpress/redux-routine": "4.26.1",
"@wordpress/reusable-blocks": "4.3.1",
"@wordpress/rich-text": "6.3.1",
"@wordpress/server-side-render": "4.3.1",
"@wordpress/shortcode": "3.26.1",
"@wordpress/style-engine": "1.9.1",
"@wordpress/token-list": "2.26.1",
"@wordpress/url": "3.27.1",
"@wordpress/viewport": "5.3.1",
"@wordpress/warning": "2.26.1",
"@wordpress/widgets": "3.3.1",
"@wordpress/wordcount": "3.26.1",
"backbone": "1.4.1",
"clipboard": "2.0.11",
"core-js-url-browser": "3.6.4",
"element-closest": "^2.0.2",
"formdata-polyfill": "4.0.10",
"hoverintent": "2.2.1",
"imagesloaded": "4.1.4",
"jquery": "3.6.3",
"jquery-color": "2.2.0",
"jquery-form": "4.3.0",
"jquery-hoverintent": "1.10.2",
"json2php": "^0.0.7",
"lodash": "4.17.21",
"masonry-layout": "4.2.2",
"moment": "2.29.4",
"objectFitPolyfill": "2.3.5",
"polyfill-library": "4.4.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"regenerator-runtime": "0.13.9",
"underscore": "1.13.6",
"whatwg-fetch": "3.6.2",
"wicg-inert": "3.1.2"
},
"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 -T php composer update -W && node ./tools/local-env/scripts/docker.js run php ./vendor/bin/phpunit",
"test:e2e": "node ./tests/e2e/run-tests.js",
"test:visual": "node ./tests/visual-regression/run-tests.js",
"sync-gutenberg-packages": "grunt sync-gutenberg-packages",
"postsync-gutenberg-packages": "grunt wp-packages:sync-stable-blocks && grunt build --dev && grunt build"
}
}