Created
September 23, 2023 12:31
-
-
Save ianpegg/016cfa919eec3653093fd119d24f9c32 to your computer and use it in GitHub Desktop.
Custom WordPress Composer configuration boilerplate.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "eggcup-web-design/wordpress-boilerplate", | |
"type": "project", | |
"license": "MIT", | |
"description": "Custom WordPress Composer configuration boilerplate.", | |
"homepage": "https://eggcupwebdesign.com", | |
"authors": [ | |
{ | |
"name": "Ian Pegg", | |
"homepage": "https://eggcupwebdesign.com" | |
} | |
], | |
"repositories": [ | |
{ | |
"type": "composer", | |
"url": "https://wpackagist.org" | |
} | |
], | |
"require": { | |
"php": "^8.0", | |
"composer/installers": "^2.2", | |
"vlucas/phpdotenv": "^5", | |
"roots/bedrock-autoloader": "^1", | |
"roots/wordpress": "^6.1", | |
"wpackagist-plugin/contact-form-7": "^5.5", | |
"wpackagist-plugin/duplicate-post": "^4", | |
"wpackagist-plugin/imsanity": "^2", | |
"wpackagist-plugin/litespeed-cache": "^5", | |
"wpackagist-plugin/members": "^3", | |
"wpackagist-plugin/post-smtp": "^2", | |
"wpackagist-plugin/safe-svg": "^2", | |
"wpackagist-plugin/search-exclude": "^2", | |
"wpackagist-plugin/wordfence": "^7", | |
"wpackagist-plugin/wordpress-seo": "^21", | |
"wpackagist-plugin/wp-crontrol": "^1", | |
"wpackagist-plugin/wp-youtube-lyte": "^1", | |
"wpackagist-theme/twentytwentythree": "^1" | |
}, | |
"require-dev": { | |
"squizlabs/php_codesniffer": "^2.5", | |
"roave/security-advisories": "dev-master", | |
"wpackagist-plugin/better-search-replace": "^1", | |
"wpackagist-plugin/bulk-delete": "^6", | |
"wpackagist-plugin/custom-post-type-ui": "^1", | |
"wpackagist-plugin/disable-wp-rest-api": "^2", | |
"wpackagist-plugin/health-check": "^1", | |
"wpackagist-plugin/query-monitor": "^3", | |
"wpackagist-plugin/theme-check": "*", | |
"wpackagist-plugin/wordpress-importer": "^0", | |
"wpackagist-plugin/wp-mailhog-smtp": "^1", | |
"wpackagist-plugin/wp-sweep": "^1" | |
}, | |
"config": { | |
"optimize-autoloader": true, | |
"preferred-install": "dist", | |
"sort-packages": true, | |
"allow-plugins": { | |
"composer/installers": true, | |
"roots/wordpress-core-installer": true | |
} | |
}, | |
"minimum-stability": "dev", | |
"prefer-stable": true, | |
"extra": { | |
"installer-paths": { | |
"public_html/assets/mu-plugins/{$name}/": [ | |
"type:wordpress-muplugin", | |
"wpackagist-plugin/disable-wp-rest-api" | |
], | |
"public_html/assets/plugins/{$name}/": [ | |
"type:wordpress-plugin" | |
], | |
"public_html/assets/themes/{$name}/": [ | |
"type:wordpress-theme" | |
] | |
}, | |
"wordpress-install-dir": "public_html/wp" | |
}, | |
"scripts": { | |
"test": [ | |
"phpcs" | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment