-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
116 lines (116 loc) · 3.73 KB
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"name": "pantheon-systems/example-wordpress-composer",
"description": "",
"version": "0.1.0",
"type": "project",
"keywords": [],
"minimum-stability": "alpha",
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org"
},
{
"type": "vcs",
"url": "[email protected]:patcon/meetup-widgets.git"
},
{
"type": "vcs",
"url": "https://github.com/pantheon-systems/wordpress-composer"
}
],
"require": {
"composer/installers": "^1.3.0",
"pantheon-systems/quicksilver-pushback": "^1.0",
"pantheon-systems/terminus": "^1.6",
"pantheon-systems/wordpress-composer": "^4.8.2",
"patcon/meetup-widgets": "dev-civictechto",
"roots/wp-password-bcrypt": "^1.0.0",
"rvtraveller/qs-composer-installer": "^1.1",
"vlucas/phpdotenv": "^2.4.0",
"wpackagist-plugin/add-meta-tags": "2.11.3",
"wpackagist-plugin/akismet": "^3.3.2",
"wpackagist-plugin/exclude-pages": "1.92",
"wpackagist-plugin/google-analyticator": "^6.5.3",
"wpackagist-plugin/iframe": "4.3",
"wpackagist-plugin/mailchimp-for-wp": "^4.1.4",
"wpackagist-plugin/pantheon-advanced-page-cache": "^0.3.0",
"wpackagist-plugin/redirection": "^2.7.3",
"wpackagist-plugin/storify": "1.0.9",
"wpackagist-plugin/tweet-old-post": "^7.4.8",
"wpackagist-plugin/updraftplus": "^1.13.4",
"wpackagist-plugin/wp-exclude-from-homepage": "1.1.3",
"wpackagist-plugin/wp-force-http": "0.1.3",
"wpackagist-plugin/wp-math-captcha": "1.2.7",
"wpackagist-plugin/wp-native-php-sessions": "^0.6.0",
"wpackagist-plugin/wp-redis": "^0.7.0",
"wpackagist-theme/zerif-lite": "1.8.3.5"
},
"require-dev": {
"roave/security-advisories": "dev-master",
"paulgibbs/behat-wordpress-extension": "0.8.0",
"behat/mink-goutte-driver": "^1.2",
"behat/mink-selenium2-driver": "^1.3",
"squizlabs/php_codesniffer": "^2.9.0",
"wp-coding-standards/wpcs": "dev-master",
"phpunit/phpunit": "^6.1",
"brain/monkey": "^1.4"
},
"config": {
"vendor-dir": "vendor",
"preferred-install": "dist",
"optimize-autoloader": true,
"sort-packages": true,
"platform": {
"php": "7.0"
}
},
"extra": {
"wordpress-install-dir": "web/wp",
"build-env": {
"install-cms": [
"wp core install --title={site-name} --url={site-url} --admin_user={account-name} --admin_email={account-mail} --admin_password={account-pass}",
"wp option update permalink_structure '/%postname%/'"
]
},
"installer-paths": {
"web/wp-content/plugins/{$name}/": ["type:wordpress-plugin"],
"web/wp-content/themes/{$name}/": ["type:wordpress-theme"],
"web/private/scripts/quicksilver/{$name}/": ["type:quicksilver-script"]
}
},
"autoload": {
"classmap": [
"scripts/composer/ScriptHandler.php"
]
},
"scripts": {
"build-assets": [
"@prepare-for-pantheon",
"composer install --no-dev --no-ansi --no-interaction --optimize-autoloader --no-progress"
],
"prepare-for-pantheon": "WordPressProject\\composer\\ScriptHandler::prepareForPantheon",
"cleanup": [
"./scripts/composer/cleanup-composer"
],
"post-install-cmd": [
"@cleanup",
"WordPressProject\\composer\\ScriptHandler::createRequiredFiles"
],
"post-update-cmd": [
"@cleanup",
"WordPressProject\\composer\\ScriptHandler::createRequiredFiles"
],
"post-create-project-cmd": [
"@cleanup",
"WordPressProject\\composer\\ScriptHandler::createRequiredFiles"
],
"code-sniff": [
"./vendor/bin/phpcs --config-set installed_paths ./vendor/wp-coding-standards/wpcs",
"./vendor/bin/phpcs ./web/wp-content"
],
"unit-test": [
"./vendor/bin/phpunit tests/unit/*"
]
}
}