-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcomposer.json
68 lines (68 loc) · 2.52 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
{
"name": "maithemewp/mai-engine",
"description": "The required plugin to power Mai themes",
"type": "wordpress-plugin",
"license": "gpl-2.0-or-later",
"repositories": [
{
"type": "composer",
"url": "https://connect.advancedcustomfields.com"
}
],
"require": {
"php": "^7|^8",
"ext-dom": "*",
"ext-json": "*",
"ext-libxml": "*",
"afragen/wp-dependency-installer": "^4",
"proteusthemes/wp-content-importer-v2": "^2.1",
"wpengine/advanced-custom-fields-pro": "^6.3.0",
"yahnis-elsts/plugin-update-checker": "^5"
},
"require-dev": {
"php": "^7|^8",
"brain/monkey": "^2.2",
"dealerdirect/phpcodesniffer-composer-installer": "v0.7.0",
"friendsofphp/php-cs-fixer": "^2.16",
"phpcompatibility/phpcompatibility-wp": "2.0.0",
"phpunit/phpunit": "^7|^8",
"squizlabs/php_codesniffer": "3.*",
"wp-coding-standards/wpcs": "^2.1.0",
"wp-phpunit/wp-phpunit": "^5.1",
"sirbrillig/phpcs-variable-analysis": "^2.10"
},
"autoload-dev": {
"psr-4": {
"BizBudding\\MaiEngine\\Tests\\Unit\\": "tests/php/unit/",
"BizBudding\\MaiEngine\\Tests\\Integration\\": "tests/php/integration/"
}
},
"config": {
"preferred-install": {
"*": "dist"
},
"sort-order": true,
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"extra": {
"installer-paths": {
"vendor/{$vendor}/{$name}/": ["wpengine/advanced-custom-fields-pro"]
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"stylelint": "stylelint './assets/scss/**/*.scss' --config .stylelintscssrc --syntax scss --fix --color",
"i18n": "wp i18n make-pot ./ ./assets/lang/mai-engine.pot",
"setup": "export NVM_DIR=\"$HOME/.nvm\" && [ -s \"/usr/local/opt/nvm/nvm.sh\" ] && . \"/usr/local/opt/nvm/nvm.sh\" && nvm install 11.15.0 && nvm use 11.15.0; nvm use 11.15.0",
"install-codestandards": "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run",
"phpcs": "vendor/bin/phpcs --standard=WordPress --extensions=php -p -s lib config",
"phpcbf": "vendor/bin/phpcbf --standard=WordPress --extensions=php -p lib config",
"fixer": "vendor/bin/php-cs-fixer fix lib/ && php-cs-fixer fix config/",
"test-unit": "composer dump && vendor/bin/phpunit --testsuite unit --color=always",
"test-integration": "composer dump && vendor/bin/phpunit --testsuite integration --configuration tests/phpunit/integration/phpunit.xml.dist --color=always"
}
}