-
Notifications
You must be signed in to change notification settings - Fork 145
/
composer.json
66 lines (66 loc) · 2.06 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
{
"name": "godaddy-wordpress/coblocks",
"description": "CoBlocks is a suite of professional page building content blocks for the WordPress Gutenberg block editor. Our blocks are hyper-focused on empowering makers to build beautifully rich pages in WordPress.",
"type": "wordpress-plugin",
"license": "GPL-2.0-only",
"config": {
"platform": {
"php": "7.4"
},
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"cweagans/composer-patches": true
}
},
"extra": {
"mozart": {
"dep_namespace": "GoDaddy\\WordPress\\Plugins\\CoBlocks\\Dependencies\\",
"dep_directory": "/includes/Dependencies/",
"classmap_directory": "/includes/classes/dependencies/",
"classmap_prefix": "CoBlocks_",
"packages": [
"godaddy-wordpress/styles"
]
}
},
"autoload": {
"psr-4": {
"GoDaddy\\WordPress\\Plugins\\CoBlocks\\": "includes"
}
},
"require": {
"php": ">=7.4",
"godaddy-wordpress/styles": "^2.0.2"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.7",
"godaddy-wordpress/json2po": "^1.0",
"godaddy-wordpress/pot2json": "^1.0",
"johnpbloch/wordpress-core": "^6.0.1",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"phpunit/phpunit": "^9.5.21",
"squizlabs/php_codesniffer": "^3.5",
"wp-cli/wp-cli-bundle": "^2.4",
"wp-coding-standards/wpcs": "^2.1",
"wp-phpunit/wp-phpunit": "^6.0.1",
"yoast/phpunit-polyfills": "^1.1.0",
"coenjacobs/mozart": "^0.3.0"
},
"scripts": {
"lint": "@php ./vendor/bin/phpcs --runtime-set ignore_warnings_on_exit 1",
"lint:fix": "@php ./vendor/bin/phpcbf",
"test": "@php ./vendor/bin/phpunit",
"mozart-compose": [
"\"vendor/bin/mozart\" compose",
"composer dump-autoload",
"find ./includes/Dependencies/GoDaddy/Styles -type f ! -name StylesLoader.php ! -name \"*.css\" -exec rm -rf {} 2> /dev/null \\; || true",
"rm -rf ./includes/Dependencies/GoDaddy/Styles/phpunit; rm -rf ./includes/Dependencies/GoDaddy/Styles/src;"
],
"post-install-cmd": [
"composer mozart-compose"
],
"post-update-cmd": [
"composer mozart-compose"
]
}
}