-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathcomposer.json
executable file
·88 lines (88 loc) · 2.81 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
84
85
86
87
88
{
"name": "jalogut/deployment-magento-2-2",
"description": "Magento 2.2 shop for deployments demo",
"type": "project",
"license": [
"proprietary"
],
"authors": [
{
"name": "Juan Alonso",
"email": "[email protected]"
}
],
"config": {
"bin-dir": "bin",
"vendor-dir": "magento/vendor",
"use-include-path": true,
"preferred-install": {
"staempfli/*": "source",
"*": "dist"
}
},
"repositories": [
{"type": "composer", "url": "https://repo.magento.com/"}
],
"require": {
"staempfli/magento2-builder-tool": "^2.0",
"n98/magerun2": "^1.4",
"magento/product-community-edition": "2.2.1",
"composer/composer": "@alpha",
"staempfli/symlinker-pro": "~1.0",
"avstudnitz/scopehint2": "~1.0.1"
},
"require-dev": {
"phpunit/phpunit": "~6.2.0"
},
"extra": {
"magento-root-dir": "magento/",
"magento-force": "override"
},
"autoload": {
"psr-4": {
"Magento\\Framework\\": "magento/lib/internal/Magento/Framework/",
"Magento\\Setup\\": "magento/setup/src/Magento/Setup/",
"Magento\\": "magento/app/code/Magento/"
},
"psr-0": {
"": "magento/app/code/"
},
"files": [
"magento/app/etc/NonComposerComponentRegistration.php"
]
},
"autoload-dev": {
"psr-4": {
"Magento\\Sniffs\\": "magento/dev/tests/static/framework/Magento/Sniffs/",
"Magento\\Tools\\": "magento/dev/tools/Magento/Tools/",
"Magento\\Tools\\Sanity\\": "magento/dev/build/publication/sanity/Magento/Tools/Sanity/",
"Magento\\TestFramework\\Inspection\\": "magento/dev/tests/static/framework/Magento/TestFramework/Inspection/",
"Magento\\TestFramework\\Utility\\": "magento/dev/tests/static/framework/Magento/TestFramework/Utility/"
}
},
"scripts": {
"preventRunningComposerInMagentoFolder": "[ ! $(basename `pwd`) = 'magento' ] || { echo 'Checking current dir is not magento folder'; exit 1; }",
"setPermissionsBin": "chmod -R +x bin magento/bin",
"setSymlinks": "bin/symlinker-pro create:from:file config/symlinks/magento.symlinks -f --enable-wildcards",
"grumphpInitProject": "[ ! `which grumphp` ] || grumphp git:init",
"grumphpInitModules": "[ ! `which grumphp` ] || find magento/vendor/staempfli/* -type f -name grumphp.yml -maxdepth 1 -exec dirname {} \\; | xargs -I{} bash -c \"cd '{}' && grumphp git:init\"",
"pre-install-cmd": [
"@preventRunningComposerInMagentoFolder"
],
"pre-update-cmd": [
"@preventRunningComposerInMagentoFolder"
],
"post-install-cmd": [
"@setPermissionsBin",
"@setSymlinks",
"@grumphpInitProject",
"@grumphpInitModules"
],
"post-update-cmd": [
"@setPermissionsBin",
"@setSymlinks",
"@grumphpInitProject",
"@grumphpInitModules"
]
}
}