five-for-the-future/package.json
Kelly Dwan ad7b430c21
Tools: Remove repo-tools
The config is slightly different, and the setup command does not currently support the different install path.
2024-09-13 15:33:53 -04:00

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"
]
}