create-block-theme/package.json
github-actions[bot] 7549ecb14d
Some checks failed
Run checks / Compute previous WordPress version (push) Successful in 3s
Run checks / E2E Tests (push) Failing after 1s
Run checks / PHP 7.4 (push) Failing after 0s
Run checks / PHP 7.4 (WP previous major version) (push) Failing after 0s
Run checks / PHP 8.0 (push) Failing after 0s
Run checks / PHP 8.0 (WP previous major version) (push) Failing after 0s
Run checks / PHP 8.1 (push) Failing after 0s
Run checks / PHP 8.1 (WP previous major version) (push) Failing after 1s
Run checks / PHP 8.2 (push) Failing after 1s
Run checks / PHP 8.2 (WP previous major version) (push) Failing after 0s
Run checks / PHP 8.3 (push) Failing after 0s
Run checks / PHP 8.3 (WP previous major version) (push) Failing after 0s
Run checks / Lint (push) Failing after 1m25s
[Automation] New minor Release: 2.9.0 (#816)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-13 11:47:28 +00:00

86 lines
2.6 KiB
JSON

{
"name": "create-block-theme",
"version": "2.9.0",
"private": true,
"description": "Create a block-based theme",
"author": "The WordPress Contributors",
"license": "GPL-2.0-or-later",
"keywords": [
"WordPress",
"block"
],
"homepage": "https://wordpress.org/plugins/create-block-theme/",
"repository": "git+https://github.com/WordPress/create-block-theme.git",
"bugs": {
"url": "https://wordpress.org/support/plugin/create-block-theme/"
},
"engines": {
"node": ">=20.10.0",
"npm": ">=10.2.3"
},
"dependencies": {
"@codemirror/lang-json": "^6.0.2",
"@uiw/react-codemirror": "^4.25.4",
"@wordpress/icons": "^11.7.0",
"lib-font": "^3.0.0"
},
"devDependencies": {
"@actions/core": "^1.10.1",
"@emotion/babel-plugin": "^11.13.5",
"@playwright/test": "^1.58.2",
"@wordpress/base-styles": "^6.16.0",
"@wordpress/e2e-test-utils-playwright": "^1.40.0",
"@wordpress/env": "^10.0.0",
"@wordpress/scripts": "^31.5.0",
"babel-plugin-inline-json-import": "^0.3.2",
"eslint-plugin-unicorn": "^56.0.0",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"prettier": "npm:wp-prettier@3.0.3",
"simple-git": "^3.32.2"
},
"scripts": {
"build": "wp-scripts build src/admin-landing-page.js src/plugin-sidebar.js",
"format": "wp-scripts format",
"lint:css": "wp-scripts lint-style",
"lint:css:fix": "npm run lint:css -- --fix",
"lint:js": "wp-scripts lint-js",
"lint:js:fix": "npm run lint:js -- --fix",
"lint:php": "composer run-script lint",
"lint:php:fix": "composer run-script format",
"lint:md-docs": "wp-scripts lint-md-docs",
"lint:pkg-json": "wp-scripts lint-pkg-json",
"test:unit:php:setup": "wp-env start",
"test:unit:php:base": "wp-env run tests-wordpress --env-cwd='wp-content/plugins/create-block-theme' vendor/bin/phpunit -c phpunit.xml.dist --verbose",
"test:unit:php": "npm run test:unit:php:setup && npm run test:unit:php:base",
"packages-update": "wp-scripts packages-update",
"start": "wp-scripts start src/admin-landing-page.js src/plugin-sidebar.js",
"composer": "wp-env run cli --env-cwd=wp-content/plugins/create-block-theme composer",
"update-version": "node update-version-and-changelog.js",
"prepare": "husky",
"wp-env": "wp-env",
"test:unit": "wp-scripts test-unit-js --config test/unit/jest.config.js",
"test:e2e": "wp-scripts test-playwright",
"test:e2e:debug": "wp-scripts test-playwright --ui"
},
"lint-staged": {
"*.{js,json,yml}": [
"wp-scripts format"
],
"*.js": [
"npm run lint:js"
],
"*.{css,scss}": [
"npm run lint:css"
],
"*.php": [
"npm run lint:php"
],
"*.md": [
"npm run lint:md-docs"
],
"package.json": [
"npm run lint:pkg-json"
]
}
}