-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcomposer.json
More file actions
83 lines (83 loc) · 2.83 KB
/
Copy pathcomposer.json
File metadata and controls
83 lines (83 loc) · 2.83 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
{
"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"
},
{
"type": "vcs",
"url": "https://github.com/maithemewp/mai-cache"
},
{
"type": "vcs",
"url": "https://github.com/bizbudding/deployable-guard"
}
],
"require": {
"php": "^8.1",
"ext-dom": "*",
"ext-json": "*",
"ext-libxml": "*",
"afragen/wp-dependency-installer": "^4",
"maithemewp/mai-cache": "dev-develop",
"proteusthemes/wp-content-importer-v2": "^2.1",
"wpengine/advanced-custom-fields-pro": "^6.6.0",
"yahnis-elsts/plugin-update-checker": "^5"
},
"require-dev": {
"php": "^8.1",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"friendsofphp/php-cs-fixer": "^3.0",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"squizlabs/php_codesniffer": "3.*",
"wp-coding-standards/wpcs": "^3.0",
"sirbrillig/phpcs-variable-analysis": "^2.10",
"bizbudding/deployable-guard": "^1"
},
"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/ && vendor/bin/php-cs-fixer fix config/",
"test-setup": "composer install -d tests",
"test-unit": "tests/vendor/bin/phpunit --testsuite unit --color=always",
"test-integration": "tests/vendor/bin/phpunit --configuration tests/phpunit/integration/phpunit.xml.dist --color=always",
"test": [
"@test-unit",
"@test-integration"
],
"install-git-hooks": [
"sh -c 'test -f vendor/bin/deployable-guard && php vendor/bin/deployable-guard install-hook || true'"
],
"post-install-cmd": [
"@install-git-hooks"
],
"post-update-cmd": [
"@install-git-hooks"
]
}
}