This repository has been archived by the owner on Jul 21, 2019. It is now read-only.
/
composer.json
66 lines (66 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
61
62
63
64
65
66
{
"name": "danielsousa/magento1-skeleton",
"description": "Magento 1 skeleton project",
"license": "GPL-2.0",
"type": "project",
"keywords": ["magento"],
"require": {
"php": ">=5.3",
"aoepeople/composer-installers": "0.0.1",
"tugagento/magento-mirror": "1.9.2.4"
},
"minimum-stability": "stable",
"repositories": [
{
"type": "package",
"package": {
"name": "tugagento/magento-mirror",
"version": "1.9.2.4",
"type": "magento-source",
"dist": {
"url": "https://github.com/tugagento/magento-mirror/raw/master/magento-1.9.2.4.tar.gz",
"type": "tar"
}
}
},
{
"type": "composer",
"url": "https://packages.firegento.com"
}
],
"authors": [
{
"name": "Daniel Sousa",
"email": "danielosousa@gmail.com"
}
],
"extra": {
"installer-paths": {
"htdocs": ["type:magento-source"],
".modman/{$name}/": ["type:magento-module"]
}
},
"scripts": {
"pre-install-cmd": [
"mkdir -p .modman",
"echo 'htdocs/' > .modman/.basedir",
"mkdir -p dev/storage/etc"
],
"post-install-cmd": [
"mv ./htdocs/var ./dev/storage/var",
"mv ./htdocs/media ./dev/storage/media"
],
"post-update-cmd": [
"find ./htdocs -type l -exec unlink {} \\;",
"find ./vendor -type d -name \".git\" -exec rm -rf {} \\;"
],
"reset-symlinks": [
"ln -sf dev/storage storage",
"ln -sf ../storage/media htdocs/media",
"ln -sf ../storage/var htdocs/var",
"ln -sf ../storage/sitemap htdocs/sitemap",
"ln -sf ../../../storage/etc/local.xml htdocs/app/etc/local.xml",
"cd .modman && modman deploy-all"
]
}
}