mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-04-12 06:53:44 +03:00

The config is slightly different, and the setup command does not currently support the different install path.
30 lines
1.1 KiB
JSON
30 lines
1.1 KiB
JSON
{
|
|
"name": "wporg-5ftf",
|
|
"version": "1.0.0",
|
|
"description": "The codebase and development environment for Five for the Future.",
|
|
"author": "WordPress.org",
|
|
"license": "GPL-2.0-or-later",
|
|
"private": true,
|
|
"devDependencies": {
|
|
"@wordpress/env": "10.6.0",
|
|
"@wordpress/scripts": "28.6.0"
|
|
},
|
|
"scripts": {
|
|
"setup:tools": "npm install && composer install",
|
|
"setup:wp": "wp-env run cli bash env/setup.sh",
|
|
"build:old-theme": "npm run build --workspace=wporg-5ftf",
|
|
"start:old-theme": "npm run watch --workspace=wporg-5ftf",
|
|
"build:theme": "npm run build --workspace=wporg-5ftf-2024",
|
|
"start:theme": "npm run start --workspace=wporg-5ftf-2024",
|
|
"update:tools": "composer update",
|
|
"wp-env": "wp-env",
|
|
"lint:php": "composer lint ./themes/wporg-5ftf ./themes/wporg-5ftf-2024 ./plugins/wporg-5ftf",
|
|
"format:php": "composer format ./themes/wporg-5ftf ./themes/wporg-5ftf-2024 ./plugins/wporg-5ftf",
|
|
"test:php": "wp-env run tests-cli ./wp-content/mu-plugins/vendor/bin/phpunit -c ./wp-content/phpunit.xml.dist"
|
|
},
|
|
"workspaces": [
|
|
"themes/wporg-5ftf",
|
|
"themes/wporg-5ftf-2024"
|
|
]
|
|
}
|