-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
147 lines (141 loc) · 4.3 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
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
{
"name": "pixelgrade/style-manager",
"description": "Style Manager is an auto-magical system to style your entire WordPress site.",
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "Vlad Olaru",
"email": "[email protected]",
"homepage": "https://pixelgrade.com/"
},
{
"name": "Razvan Onofrei",
"email": "[email protected]",
"homepage": "https://pixelgrade.com/"
},
{
"name": "George Olaru",
"email": "[email protected]",
"homepage": "https://pixelgrade.com/"
}
],
"support": {
"issues": "https://github.com/pixelgrade/style-manager/issues",
"source": "https://github.com/pixelgrade/style-manager"
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true
},
"prefer-stable": true,
"repositories": {
"wordpress": {
"type": "vcs",
"url": "https://github.com/WordPress/wordpress-develop",
"no-api": true
},
"wp-test-suite": {
"type": "vcs",
"url": "https://github.com/cedaro/wp-test-suite"
}
},
"require": {
"cedaro/wp-plugin": "^0.4.0",
"htmlburger/carbon-fields": "^3.3",
"instituteweb/composer-scripts": "^1.1",
"php": ">=7.1",
"pimple/pimple": "^3.2",
"psr/container": "^1.1",
"psr/log": "^1.0",
"symfony/polyfill-mbstring": "^1.23.1",
"symfony/polyfill-php72": "^1.23.0"
},
"require-dev": {
"brain/monkey": "^2.2",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.1",
"pclzip/pclzip": "^2.8",
"php-stubs/wordpress-stubs": "^5.7",
"phpcompatibility/php-compatibility": "^9.3",
"phpunit/phpunit": "^7.5",
"rector/rector": "dev-main",
"roave/security-advisories": "dev-master",
"squizlabs/php_codesniffer": "^3.3",
"szepeviktor/phpstan-wordpress": "^1.0",
"vlucas/phpdotenv": "^5.3",
"wordpress/wordpress": "^5.9",
"wp-coding-standards/wpcs": "^2.3.0"
},
"autoload": {
"psr-4": {
"Pixelgrade\\StyleManager\\": "src/"
},
"classmap": [
"vendor_prefixed"
],
"files": [
"src/functions.php",
"src/sm-functions.php",
"src/cloud-filter-functions.php",
"src/deprecated.php",
"vendor_prefixed/symfony/polyfill-mbstring/bootstrap.php",
"vendor_prefixed/symfony/polyfill-php72/bootstrap.php"
]
},
"autoload-dev": {
"psr-4": {
"Pixelgrade\\StyleManager\\Tests\\": "tests/phpunit/"
},
"files": [
]
},
"scripts": {
"phpcs": "./vendor/bin/phpcs",
"tests": "./vendor/bin/phpunit --colors=always",
"tests-unit": "./vendor/bin/phpunit --testsuite=Unit --colors=always",
"tests-integration": "./vendor/bin/phpunit --testsuite=Integration --colors=always",
"php-compatibility" : [
"\\InstituteWeb\\ComposerScripts\\ImprovedScriptExecution::apply",
"vendor/bin/phpcs -p ./*.php ./src/* --standard=PHPCompatibility --runtime-set ignore_warnings_on_exit true --runtime-set testVersion 7.0-"
],
"pre-install-cmd": "@create-vendor-prefix-folder",
"pre-update-cmd": "@create-vendor-prefix-folder",
"create-vendor-prefix-folder": "npm run gulp composer:create_vendor_prefixed_folder",
"phpcs-install-standards": [
"\\InstituteWeb\\ComposerScripts\\ImprovedScriptExecution::apply",
"vendor/bin/phpcs --config-set installed_paths vendor/wp-coding-standards/wpcs,vendor/phpcompatibility/php-compatibility"
],
"prefix-dependencies": [
"\\InstituteWeb\\ComposerScripts\\ImprovedScriptExecution::apply",
"@composer --working-dir=php-scoper install",
"php-scoper/vendor/bin/php-scoper add-prefix --config=php-scoper/config.php --output-dir=./vendor_prefixed --force",
"npm run gulp composer:delete_prefixed_vendor_libraries",
"npm run gulp composer:prefix_outside_files",
"@composer dump-autoload"
],
"downgrade-to-php-71": [
"\\InstituteWeb\\ComposerScripts\\ImprovedScriptExecution::apply",
"vendor/bin/rector process --autoload-file=vendor/php-stubs/wordpress-stubs/wordpress-stubs.php"
],
"dev-install": [
"npm install",
"@create-vendor-prefix-folder",
"@composer install --prefer-dist --no-scripts",
"@prefix-dependencies",
"@phpcs-install-standards"
],
"pre-build": [
"npm install",
"npm run gulp composer:delete_lock_and_vendor",
"@composer install --prefer-dist --no-scripts",
"@prefix-dependencies",
"@downgrade-to-php-71",
"@composer dump-autoload --no-dev --optimize"
],
"zip": [
"@pre-build",
"npm run gulp zip"
]
}
}