composer.json 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. {
  2. "name": "roots/bedrock",
  3. "type": "project",
  4. "license": "MIT",
  5. "description": "WordPress boilerplate with modern development tools, easier configuration, and an improved folder structure",
  6. "homepage": "https://roots.io/bedrock/",
  7. "authors": [
  8. {
  9. "name": "Scott Walkinshaw",
  10. "email": "scott.walkinshaw@gmail.com",
  11. "homepage": "https://github.com/swalkinshaw"
  12. },
  13. {
  14. "name": "Ben Word",
  15. "email": "ben@benword.com",
  16. "homepage": "https://github.com/retlehs"
  17. }
  18. ],
  19. "keywords": [
  20. "bedrock", "composer", "roots", "wordpress", "wp", "wp-config"
  21. ],
  22. "support": {
  23. "issues": "https://github.com/roots/bedrock/issues",
  24. "forum": "https://discourse.roots.io/category/bedrock"
  25. },
  26. "repositories": [
  27. {
  28. "type": "composer",
  29. "url": "https://wpackagist.org",
  30. "only": ["wpackagist-plugin/*", "wpackagist-theme/*"]
  31. }
  32. ],
  33. "require": {
  34. "php": ">=7.3",
  35. "composer/installers": "^1.8",
  36. "vlucas/phpdotenv": "^4.1.3",
  37. "oscarotero/env": "^1.2.0",
  38. "roots/wordpress": "5.5.1",
  39. "roots/wp-config": "1.0.0",
  40. "roots/wp-password-bcrypt": "1.0.0",
  41. "wpackagist-plugin/advanced-custom-fields": "^5.9.1",
  42. "wpackagist-plugin/classic-editor": "^1.5",
  43. "wpackagist-plugin/timber-library": "^1.18",
  44. "twbs/bootstrap": "4.5.0",
  45. "twig/extensions": "^1.5",
  46. "wpackagist-plugin/advanced-forms": "^1.7",
  47. "wpackagist-plugin/wp-mail-smtp": "^2.4"
  48. },
  49. "require-dev": {
  50. "squizlabs/php_codesniffer": "^3.5.4",
  51. "roave/security-advisories": "dev-master"
  52. },
  53. "config": {
  54. "optimize-autoloader": true,
  55. "preferred-install": "dist"
  56. },
  57. "minimum-stability": "dev",
  58. "prefer-stable": true,
  59. "extra": {
  60. "installer-paths": {
  61. "web/app/mu-plugins/{$name}/": ["type:wordpress-muplugin"],
  62. "web/app/plugins/{$name}/": ["type:wordpress-plugin"],
  63. "web/app/themes/{$name}/": ["type:wordpress-theme"]
  64. },
  65. "wordpress-install-dir": "web/wp"
  66. },
  67. "scripts": {
  68. "post-root-package-install": [
  69. "php -r \"copy('.env.example', '.env');\""
  70. ],
  71. "post-install-bootstrap": [
  72. "mkdir web/app/themes/la_mine/asset",
  73. "cp -R vendor/twbs/bootstrap/dist web/app/themes/la_mine/asset"
  74. ],
  75. "test": [
  76. "phpcs"
  77. ]
  78. }
  79. }