This repository has been archived by the owner on May 26, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
83 lines (83 loc) · 2.63 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
{
"name": "project/magento2-project-name",
"description": "Magento Project Name",
"type": "project",
"license": "proprietary",
"authors": [
{
"name": "Matthias Walter",
"email": "[email protected]"
}
],
"config": {
"vendor-dir": "www/vendor",
"use-include-path": true
},
"require": {
"magento/product-community-edition": "2.2.3",
"composer/composer": "@alpha",
"my-namespace/my-local-module": "*",
"mwltr/ext-magento2-mwltr-filesystem-filedriver": "^1.0.1"
},
"require-dev": {
"phpunit/phpunit": "~6.2.0",
"squizlabs/php_codesniffer": "3.2.2",
"phpmd/phpmd": "@stable",
"pdepend/pdepend": "2.5.2",
"friendsofphp/php-cs-fixer": "~2.2.0",
"lusitanian/oauth": "~0.8.10",
"sebastian/phpcpd": "2.0.4"
},
"extra": {
"magento-root-dir": "www/",
"magento-force": "override"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Magento\\Setup\\": "www/setup/src/Magento/Setup/"
},
"files": [
"www/app/etc/NonComposerComponentRegistration.php"
]
},
"autoload-dev": {
"psr-4": {
"Magento\\Sniffs\\": "www/dev/tests/static/framework/Magento/Sniffs/",
"Magento\\Tools\\": "www/dev/tools/Magento/Tools/",
"Magento\\Tools\\Sanity\\": "www/dev/build/publication/sanity/Magento/Tools/Sanity/",
"Magento\\TestFramework\\Inspection\\": "www/dev/tests/static/framework/Magento/TestFramework/Inspection/",
"Magento\\TestFramework\\Utility\\": "www/dev/tests/static/framework/Magento/TestFramework/Utility/"
}
},
"scripts": {
"preventRunningComposerInMagentoFolder": "[ ! $(basename `pwd`) = 'www' ] || { echo 'Checking current dir is not magento folder'; exit 1; }",
"setPermissionsBin": "chmod -R +x www/bin www/vendor/bin",
"setSymlinks": "cd www && ln -sf ../composer.* .",
"pre-install-cmd": [
"@preventRunningComposerInMagentoFolder"
],
"pre-update-cmd": [
"@preventRunningComposerInMagentoFolder"
],
"post-install-cmd": [
"@setPermissionsBin",
"@setSymlinks"
],
"post-update-cmd": [
"@setPermissionsBin",
"@setSymlinks"
]
},
"repositories": [
{
"type": "path",
"url": "src/*/*"
},
{
"type": "composer",
"url": "https://repo.magento.com/"
}
]
}