-
Notifications
You must be signed in to change notification settings - Fork 4
/
composer.json
117 lines (117 loc) · 3.77 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
117
{
"name": "pantheon-systems/example-wordpress-composer",
"description": "",
"type": "project",
"keywords": [],
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org"
},
{
"type": "vcs",
"url": "https://github.com/pantheon-systems/wordpress-composer"
},
{
"type": "vcs",
"url": "https://github.com/thetwopct/load-media-from-production"
}
],
"require": {
"php": ">=7.2",
"composer/installers": "^1.3.0",
"erusev/parsedown": "^1.7",
"pantheon-systems/quicksilver-pushback": "^2.0.1",
"pantheon-systems/wordpress-composer": "*",
"roots/wp-password-bcrypt": "^1.0.0",
"rvtraveller/qs-composer-installer": "^1.1",
"vlucas/phpdotenv": "^5.5.0",
"wpackagist-plugin/autodescription": "^5.0",
"wpackagist-plugin/clone-page-tree": "^0.1.2",
"wpackagist-plugin/find-my-blocks": "^4.0",
"wpackagist-plugin/flying-pages": "^2.4",
"wpackagist-plugin/flying-scripts": "^1.2",
"wpackagist-plugin/leadin": "^11.1",
"wpackagist-plugin/pantheon-advanced-page-cache": "^2.0",
"wpackagist-plugin/photonic": "^3.10",
"wpackagist-plugin/post-meta-controls": "^1.4",
"wpackagist-plugin/post-type-switcher": "^3.3",
"wpackagist-plugin/publishpress-checklists": "^2.10",
"wpackagist-plugin/redirection": "^5.4",
"wpackagist-plugin/safe-svg": "^2.2",
"wpackagist-plugin/shortpixel-image-optimiser": "^5.6",
"wpackagist-plugin/simple-history": "^5",
"wpackagist-plugin/svg-autocrop": "^0.1.2",
"wpackagist-plugin/wp-mail-smtp": "^4.0",
"wpackagist-plugin/wp-native-php-sessions": "^1.4",
"wpackagist-plugin/wp-nested-pages": "^3.2"
},
"require-dev": {
"roave/security-advisories": "dev-master",
"thetwopct/load-media-from-production": "dev-main",
"wp-coding-standards/wpcs": "^3.0.1",
"wpackagist-plugin/debug-bar": "^1.0",
"wpackagist-plugin/query-monitor": "^3.11"
},
"config": {
"vendor-dir": "vendor",
"preferred-install": "dist",
"optimize-autoloader": true,
"sort-packages": true,
"platform": {
"php": "7.2"
},
"allow-plugins": {
"composer/installers": true,
"johnpbloch/wordpress-core-installer": true,
"rvtraveller/qs-composer-installer": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"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 -i",
"./vendor/bin/phpcs --config-show",
"./vendor/bin/phpcs -nsv"
]
}
}