{
    "name": "awaeducation/website",
    "description": "A website by AWA",
    "authors": [
        {
            "name": "Bruno teffot",
            "email": "bruno.teffot@awa.education"
        }
    ],
    "repositories": [
         {
            "type": "package",
            "package": {
                "name": "wordpress/wordpress",
                "type": "webroot",
                "version": "5.5.1",
                "dist": {
                    "type": "zip",
                    "url": "https://github.com/WordPress/WordPress/archive/5.5.1.zip"
                }
            }
        },
       {
            "type":"composer",
            "url":"https://wpackagist.org"
        },
        {
            "type":"vcs",
	    "no-api": true,
            "url":"git@github.com:awaeducation/wp-childtheme-awaeducation.git"
        }
    ],
    "require": {
        "awaeducation/wp-childtheme-awaeducation": "master-dev",
        "oscarotero/env": "^1.2.0",
        "vlucas/phpdotenv": "^3.4.0",
 	"wordpress/wordpress": "5.5.1",
        "fancyguy/webroot-installer": "1.0.0",
    	"wpackagist-plugin/backwpup":"3.8.0",
	"wpackagist-theme/onetake": "1.3.1",
	"wpackagist-plugin/contact-form-7": "5.2.2",
	"wpackagist-plugin/facebook-pagelike-widget": "6.1",
	"wpackagist-plugin/feed-them-social": "2.8.9",
	"wpackagist-plugin/google-maps-easy": "1.9.30",
	"wpackagist-plugin/mailchimp-for-wp": "4.8.1",
	"wpackagist-plugin/open-external-links-in-a-new-window": "1.4",
	"wpackagist-plugin/rotatingtweets": "1.9.10",
	"wpackagist-plugin/simple-share-buttons-adder": "8.0.1",
	"wpackagist-plugin/twitter": "2.0.5",
	"wpackagist-plugin/weglot": "3.1.9",
	"wpackagist-plugin/wordpress-seo": "15.0",
	"wpackagist-plugin/wordfence": "7.4.11",
	"wpackagist-plugin/classic-editor": "1.6"
    },
    "extra": {
        "webroot-dir": "site/wp",
        "webroot-package": "wordpress/wordpress",
        "installer-paths": {
            "site/wp-content/plugins/{$name}/": ["type:wordpress-plugin"], 
            "site/wp-content/themes/{$name}/": ["type:wordpress-theme"]
        }

    },
    "scripts": {
	"post-root-package-install": [
		"php -r \"copy('.env.example', '.env');\"",
		"chmod 775 -R site/wp-content"
	]
    }
}
