/
githubmirror
/
gutenberg
Обзор
Документация
Войти
/
githubmirror
/
gutenberg
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
trunk
package.json
197 строк
10 KB
Nik Tsekouras
Remove content types experiment (#81340)
10 авг 2026, 10:09
Не верифицирован
10 авг 2026, 10:09
226f1e8
Код
Авторство
О чём код?
{ "name": "gutenberg", "version": "23.7.1", "private": true, "description": "A new WordPress editor experience.", "author": "The WordPress Contributors", "license": "GPL-2.0-or-later", "keywords": [ "WordPress", "editor" ], "homepage": "https://github.com/WordPress/gutenberg/", "repository": "git+https://github.com/WordPress/gutenberg.git", "bugs": { "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { "node": ">=20.19.0", "npm": ">=10.2.3" }, "devEngines": { "runtime": { "name": "node", "version": ">=20.19.0" }, "packageManager": { "name": "npm", "version": ">=10.2.3" } }, "wpPlugin": { "name": "gutenberg", "scriptGlobal": "wp", "packageNamespace": "wordpress", "handlePrefix": "wp", "pages": [ "font-library", "options-connectors", { "id": "dashboard", "init": [ "@wordpress/dashboard-init" ], "experimental": true }, { "id": "experiments", "experimental": true }, { "id": "guidelines", "experimental": true }, { "id": "media-editor", "init": [ "@wordpress/edit-site-init" ], "experimental": true }, { "id": "site-editor-v2", "init": [ "@wordpress/edit-site-init" ], "experimental": true } ] }, "config": { "IS_GUTENBERG_PLUGIN": true }, "devDependencies": { "@playwright/test": "^1.62.1", "@types/react": "^18.3.27", "@types/react-dom": "^18.3.1", "@typescript/native": "npm:typescript@^7.0.2", "@wordpress/env": "file:./packages/env", "@wordpress/eslint-tools": "file:./tools/eslint", "@wordpress/release-tools": "file:./tools/release", "@wordpress/scripts": "file:./packages/scripts", "@wordpress/stylelint-tools": "file:./tools/stylelint", "concurrently": "^9.2.1", "cross-env": "^7.0.3", "husky": "^7.0.0", "lerna": "^9.0.7", "lint-staged": "^16.4.0", "npm-run-all": "^4.1.5", "patch-package": "^8.0.0", "syncpack": "^15.3.1", "wait-on": "^8.0.1" }, "overrides": { "jsdom": "26.1.0" }, "scripts": { "agents:setup": "node ./tools/agents/setup-skills.mjs", "build": "npm run --workspace @wordpress/build-scripts build:all --", "build:plugin-zip": "bash ./bin/build-plugin-zip.sh", "clean:package-types": "npm run --workspace @wordpress/build-scripts clean:package-types --", "clean:packages": "npm run --workspace @wordpress/build-scripts clean:packages --", "dev": "npm run --workspace @wordpress/build-scripts dev --", "distclean": "git clean --force -d -X", "docs:api-ref": "npm run --workspace @wordpress/docs-tools docs:api-ref --", "docs:blocks": "npm run --workspace @wordpress/docs-tools docs:blocks --", "docs:blocks-detail": "npm run --workspace @wordpress/docs-tools docs:blocks-detail --", "docs:build": "npm-run-all docs:components docs:gen docs:blocks docs:blocks-detail docs:api-ref docs:theme-ref", "docs:check-api-docs-unstaged": "npm run --workspace @wordpress/docs-tools docs:check-api-docs-unstaged --", "docs:components": "npm run --workspace @wordpress/docs-tools docs:components --", "docs:gen": "npm run --workspace @wordpress/docs-tools docs:gen --", "docs:theme-ref": "npm run --workspace @wordpress/docs-tools docs:theme-ref --", "env": "wp-env", "fixtures:clean": "npm run --workspace @wordpress/integration-tests fixtures:clean --", "fixtures:generate": "cross-env GENERATE_MISSING_FIXTURES=y npm run test:unit -- test/integration/full-content/ && npm run format test/integration/fixtures/blocks/*.json", "fixtures:regenerate": "npm-run-all fixtures:clean fixtures:generate", "format": "wp-scripts format", "preformat:php": "npm run other:update-packages:php", "format:php": "wp-env run --env-cwd='wp-content/plugins/gutenberg' cli composer run-script format", "prelint:js": "npm run --if-present --workspaces prelint:js", "lint": "concurrently \"npm run lint:lockfile\" \"npm run lint:tsconfig\" \"npm run lint:js\" \"npm run lint:pkg-json\" \"npm run lint:deps\" \"npm run lint:css\"", "lint:css": "wp-scripts lint-style --suppress-location=tools/stylelint/stylelint-suppressions.json \"**/*.{css,pcss,scss}\"", "lint:css:fix": "npm run lint:css -- --fix", "lint:css:update-suppressions": "npm run lint:css -- --suppress && wp-scripts format tools/stylelint/stylelint-suppressions.json", "lint:deps": "syncpack lint", "lint:deps:fix": "syncpack fix", "lint:js": "node ./tools/eslint/lint-js.cjs --concurrency=auto", "lint:js:fix": "npm run lint:js -- --fix", "lint:js:prune-suppressions": "npm run lint:js -- --prune-suppressions", "lint:lockfile": "npm run --workspace @wordpress/validation-tools validate-package-lock --", "lint:package-contents": "npm run --if-present --workspaces lint:package-contents", "lint:tsconfig": "npm run --workspace @wordpress/validation-tools validate-tsconfig --", "lint:md:docs": "wp-scripts lint-md-docs", "prelint:php": "npm run other:update-packages:php", "lint:php": "wp-env run --env-cwd='wp-content/plugins/gutenberg' cli composer run-script lint", "lint:pkg-json": "wp-scripts lint-pkg-json . 'packages/*/package.json'", "lint:published-deps": "npm run --workspace @wordpress/validation-tools dependency-audit --", "other:changelog": "npm exec --no release-cli -- changelog", "other:check-licenses": "concurrently \"npm run --workspace @wordpress/validation-tools check-licenses --\" \"wp-scripts check-licenses --dev\"", "preother:check-local-changes": "npm run docs:build && npm run --workspace @wordpress/theme build", "other:check-local-changes": "npm run --workspace @wordpress/validation-tools check-local-changes --", "other:cherry-pick": "npm run --workspace @wordpress/release-tools cherry-pick --", "other:generate-php-sync-issue": "npm run --workspace @wordpress/release-tools generate-php-sync-issue --", "other:update-packages:php": "wp-env run --env-cwd='wp-content/plugins/gutenberg' cli composer update --no-interaction", "postinstall": "patch-package && npm run agents:setup -- --if-safe", "prepare": "husky install", "prepublishOnly": "npm run build", "rtc:http": "node ./test/e2e/bin/rtc-dev.mjs --mode=http", "rtc:ws": "node ./test/e2e/bin/rtc-dev.mjs --mode=websockets", "rtc:ws:slow": "cross-env RTC_WS_DELAY=50 npm run rtc:ws", "start": "npm run dev", "prestorybook:build": "npm run build -- --skip-types", "storybook:build": "npm run --workspace @wordpress/storybook storybook:build", "storybook:dev": "concurrently \"npm run dev\" \"wait-on .dev-ready && npm run --workspace @wordpress/storybook storybook:dev\"", "storybook:e2e:dev": "concurrently \"npm run dev\" \"wait-on .dev-ready && npm run --workspace @wordpress/storybook-playwright storybook:dev\"", "storybook:e2e:build": "npm run --workspace @wordpress/storybook-playwright storybook:build", "storybook:manifest-snapshot": "npm run --workspace @wordpress/storybook manifest-snapshot", "test": "npm-run-all lint test:unit", "test:create-block": "npm run --workspace @wordpress/validation-tools test-create-block --", "test:e2e": "npm exec --workspace @wordpress/e2e-tests-playwright -- wp-scripts test-e2e --config playwright.config.ts", "test:e2e:debug": "npm exec --workspace @wordpress/e2e-tests-playwright -- wp-scripts test-e2e --config playwright.config.ts --ui", "test:e2e:playwright": "npm run test:e2e", "test:e2e:playwright:debug": "npm run test:e2e:debug", "test:e2e:rtc-websocket": "npm exec --workspace @wordpress/e2e-tests-playwright -- wp-scripts test-e2e --config playwright.rtc-websocket.config.ts", "test:e2e:rtc-websocket:debug": "npm exec --workspace @wordpress/e2e-tests-playwright -- wp-scripts test-e2e --config playwright.rtc-websocket.config.ts --ui", "test:e2e:storybook": "npm exec --workspace @wordpress/storybook-playwright -- playwright test --config playwright.config.ts", "test:e2e:watch": "npm run test:e2e -- --watch", "test:performance": "npm exec --workspace @wordpress/performance-tests -- wp-scripts test-e2e --config playwright.config.ts", "test:performance:debug": "npm exec --workspace @wordpress/performance-tests -- wp-scripts test-e2e --config playwright.config.ts --debug", "test:php": "npm-run-all lint:php test:unit:php", "test:php:watch": "wp-env --config .wp-env.test.json run --env-cwd='wp-content/plugins/gutenberg' cli composer run-script test:watch", "test:unit": "npm run --workspace @wordpress/unit-tests test:unit --", "test:unit:routing": "npm run --workspace @wordpress/unit-tests test:unit:routing", "test:unit:date": "bash ./bin/unit-test-date.sh", "test:unit:debug": "npm run --workspace @wordpress/unit-tests test:unit:debug --", "test:unit:profile": "npm run --workspace @wordpress/unit-tests test:unit:profile --", "test:unit:php:setup": "wp-env --config .wp-env.test.json start", "test:unit:php:setup:debug": "wp-env --config .wp-env.test.json start --xdebug", "test:unit:php:base": "wp-env --config .wp-env.test.json run --env-cwd='wp-content/plugins/gutenberg' wordpress vendor/bin/phpunit -c phpunit.xml.dist --verbose", "test:unit:php": "npm-run-all test:unit:php:setup test:unit:php:base", "test:unit:php:debug": "npm-run-all test:unit:php:setup:debug test:unit:php:base", "test:unit:php:multisite:base": "wp-env --config .wp-env.test.json run --env-cwd='wp-content/plugins/gutenberg' wordpress vendor/bin/phpunit -c phpunit/multisite.xml --verbose", "test:unit:php:multisite": "npm-run-all test:unit:php:setup test:unit:php:multisite:base", "test:unit:php:multisite:debug": "npm-run-all test:unit:php:setup:debug test:unit:php:multisite:base", "test:unit:update": "npm run --workspace @wordpress/unit-tests test:unit -- --updateSnapshot", "test:unit:watch": "npm run --workspace @wordpress/unit-tests test:unit:watch --", "wp-env": "wp-env", "wp-env-test": "wp-env --config .wp-env.test.json" }, "workspaces": [ "packages/*", "routes/*", "storybook", "test/*", "tools/*", "widgets/*" ] }