-
-
Notifications
You must be signed in to change notification settings - Fork 31
/
composer.json
60 lines (60 loc) · 1.7 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
{
"name": "graycore/magento2-cors",
"description": "A Magento 2 module that enables CORS on the GraphQL and REST Apis",
"type": "magento2-module",
"license": "MIT",
"authors": [
{
"name": "Damien Retzinger",
"email": "[email protected]"
}
],
"scripts": {
"test": "phpunit --bootstrap vendor/autoload.php test",
"unit-test": "vendor/bin/phpunit ./Test/Unit",
"lint": "phpcs . --standard=Magento2 --ignore='vendor/*'",
"post-install-cmd": [
"([ $COMPOSER_DEV_MODE -eq 0 ] || vendor/bin/phpcs --config-set installed_paths ../../magento/magento-coding-standard/)"
],
"post-update-cmd": [
"([ $COMPOSER_DEV_MODE -eq 0 ] || vendor/bin/phpcs --config-set installed_paths ../../magento/magento-coding-standard/)"
]
},
"archive": {
"exclude": [
"/docs",
"/Test",
"README.md"
]
},
"minimum-stability": "stable",
"autoload": {
"psr-4": {
"Graycore\\Cors\\": ""
},
"files": [
"registration.php"
]
},
"require": {
"magento/framework": "^102.0 || ^103.0"
},
"require-dev": {
"magento/magento-coding-standard": ">=6.0",
"phpunit/phpunit": "^8.2 || ^9.0",
"squizlabs/php_codesniffer": "^3.4"
},
"repositories": {
"0": {
"type": "composer",
"url": "https://repo.magento.com/"
}
},
"config": {
"preferred-install": "dist",
"sort-packages": true,
"allow-plugins": {
"magento/composer-dependency-version-audit-plugin": true
}
}
}