-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcomposer.json
68 lines (68 loc) · 2.45 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": "ampersand/magento2-log-correlation-id",
"description": "Magento 2 correlation id for requests and logs",
"type": "magento2-module",
"config": {
"sort-packages": true,
"allow-plugins": {
"magento/*": true
},
"process-timeout": 1200
},
"repositories": [
{
"type": "composer",
"url": "https://repo-magento-mirror.fooman.co.nz/"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": ">=7.3.0",
"magento/framework": "*"
},
"autoload": {
"files": [
"src/registration.php"
],
"psr-4": {
"Ampersand\\LogCorrelationId\\" : "src"
}
},
"scripts": {
"pre-update-cmd": "mkdir -p app/etc",
"post-install-cmd": "([ $COMPOSER_DEV_MODE -eq 0 ] || vendor/bin/phpcs --config-set installed_paths ../../magento/magento-coding-standard/)",
"post-update-cmd": "rm app/etc/*; rmdir app/etc app; ([ $COMPOSER_DEV_MODE -eq 0 ] || vendor/bin/phpcs --config-set installed_paths ../../magento/magento-coding-standard/)",
"fix": "vendor/bin/php-cs-fixer fix --diff",
"test:static": "vendor/bin/phpstan analyse --no-interaction --no-progress && vendor/bin/phpcs --standard=Magento2 src -s",
"test:lint": "vendor/bin/php-cs-fixer fix --dry-run --diff",
"test:unit": "vendor/bin/phpunit --debug",
"test-static-analysis": [
"@test:static",
"@test:lint"
],
"test": [
"@test-static-analysis",
"@test:unit"
],
"test:integration:install-magento": [
"COMPOSER_AFTER_INSTALL_COMMAND='mkdir -p app/etc/ampersand_magento2_log_correlation; cp /current_extension/dev/ampersand_magento2_log_correlation/di_integration_test_suite.xml app/etc/ampersand_magento2_log_correlation/di.xml ; composer dump-autoload --optimize ;' CURRENT_EXTENSION=\".\" vendor/bin/mtest-make $TEST_GROUP"
]
},
"require-dev": {
"ampersand/magento-docker-test-instance": "^0.1",
"bitexpert/phpstan-magento": "^0.11",
"friendsofphp/php-cs-fixer": "^3.4",
"magento/magento-coding-standard": "^15",
"magento/magento2-base": "*",
"phpstan/phpstan": "^1.5",
"phpunit/phpunit": "^9.5"
},
"extra": {
"magento-deploy-ignore": {
"*": [
"/"
]
}
}
}