-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathcomposer.json
More file actions
154 lines (154 loc) · 4.76 KB
/
Copy pathcomposer.json
File metadata and controls
154 lines (154 loc) · 4.76 KB
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
{
"name": "moderntribe/modernpress",
"description": "A WordPress starter framework for Modern Tribe projects.",
"type": "project",
"license": "GPL-2.0-or-later",
"config": {
"sort-packages": true,
"preferred-install": "dist",
"allow-plugins": {
"ffraenz/private-composer-installer": true,
"composer/installers": true,
"cweagans/composer-patches": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
},
"platform": {
"php": "8.4"
},
"platform-check": false
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"create-auth": "op inject -i auth.template.json -o auth.json",
"create-local-configs": "php ./dev/scripts/create-local-configs.php",
"install-wordpress": "./dev/scripts/install-wordpress.sh",
"sync-vscode-launch": "mkdir -p .vscode && cp ./dev/configs/.vscode/launch.json ./.vscode/launch.json",
"phpcbf": "./vendor/bin/phpcbf -s",
"phpcs": "./vendor/bin/phpcs",
"phpstan": "./vendor/bin/phpstan analyse --memory-limit=-1",
"update-db": "./vendor/bin/wp core update-db",
"post-install-cmd": [
"@install-wordpress"
],
"post-update-cmd": [
"@install-wordpress"
]
},
"scripts-descriptions": {
"create-auth": "Create or update the auth.json file for Composer via 1Password CLI.",
"create-local-configs": "Creates local config files for the project.",
"install-wordpress": "Runs the WP CLI command to download and install WordPress. To change the WordPress version, run `composer config extra.wordpress-version <new-version>`.",
"sync-vscode-launch": "Copies dev/configs/.vscode/launch.json to .vscode/ at the project root, creating .vscode if it does not exist.",
"phpcs": "Run PHPCS on the project.",
"phpcbf": "Run PHPCBF on the project.",
"phpstan": "Run PHPStan on the project.",
"update-db": "Runs the wpcli command to update the WordPress database. This is sometimes required after a version update."
},
"repositories": {
"0": {
"type": "composer",
"url": "https://composer.gravity.io"
},
"1": {
"type": "composer",
"url": "https://connect.advancedcustomfields.com"
},
"2": {
"type": "composer",
"url": "https://wpackagist.org"
},
"3": {
"type": "vcs",
"url": "https://github.com/moderntribe/tribe-glomar.git"
},
"4": {
"type": "package",
"package": {
"name": "block-editor-custom-alignments/block-editor-custom-alignments",
"version": "1.1.3",
"type": "wordpress-plugin",
"dist": {
"type": "zip",
"url": "https://github.com/moderntribe/block-editor-custom-alignments/releases/download/v1.1.3/block-editor-custom-alignments.1.1.3.zip"
},
"require": {
"ffraenz/private-composer-installer": "^5.0"
}
}
},
"5": {
"type": "package",
"package": {
"name": "moderntribe/tribe_embed",
"version": "1.1.0",
"type": "wordpress-plugin",
"dist": {
"type": "zip",
"url": "https://github.com/moderntribe/tribe-embeds/releases/download/v1.1.0/tribe-embed.1.1.0.zip"
},
"require": {
"ffraenz/private-composer-installer": "^5.0"
}
}
}
},
"require-dev": {
"codeception/module-asserts": "^3.2",
"codeception/module-cli": "^2.0",
"codeception/module-db": "^3.2",
"codeception/module-filesystem": "^3.0",
"codeception/module-phpbrowser": "^3.0",
"codeception/module-webdriver": "^4.0",
"codeception/util-universalframework": "^2.0",
"lucatume/wp-browser": "^4.5",
"moderntribe/coding-standards": "^3.2",
"php-stubs/acf-pro-stubs": "^6.0",
"php-stubs/wordpress-tests-stubs": "^7.0",
"phpstan/extension-installer": "^1.3",
"phpstan/phpstan": "^2.1",
"szepeviktor/phpstan-wordpress": "^2.0"
},
"require": {
"php": "~8.4.0",
"ext-exif": "*",
"ext-gd": "*",
"ext-intl": "*",
"ext-json": "*",
"block-editor-custom-alignments/block-editor-custom-alignments": "^1.0",
"composer/installers": "^2.2",
"gravity/gravityforms": "^2.10",
"johnbillion/extended-cpts": "^5.0",
"moderntribe/tribe-glomar": "dev-main",
"moderntribe/tribe_embed": "^1.1",
"php-di/php-di": "^7.1",
"vinkla/extended-acf": "^15.0",
"vlucas/phpdotenv": "^5.5",
"wp-cli/wp-cli-bundle": "^2.12",
"wpackagist-plugin/disable-emojis": "^1.9",
"wpackagist-plugin/duplicate-post": "^4.5",
"wpackagist-plugin/safe-svg": "^2.4",
"wpackagist-plugin/social-sharing-block": "^1.0",
"wpackagist-plugin/view-transitions": "^1.2",
"wpengine/advanced-custom-fields-pro": "^6.4"
},
"extra": {
"wordpress-version": "7.0.3",
"installer-paths": {
"wp-content/plugins/{$name}": [
"type:wordpress-plugin"
],
"wp-content/mu-plugins/{$name}": [
"type:wordpress-muplugin"
]
},
"enable-patching": true
},
"autoload": {
"psr-4": {
"Tribe\\Plugin\\": "wp-content/plugins/core/src",
"Tribe\\Theme\\": "wp-content/themes/core"
}
}
}