-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcomposer.json
More file actions
102 lines (102 loc) · 2.75 KB
/
composer.json
File metadata and controls
102 lines (102 loc) · 2.75 KB
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"name": "dartmoon/prestashop-module",
"description": "PrestaShop module by Dartmoon",
"type": "prestashop-module",
"license": "MIT",
"authors": [
{
"name": "Dartmoon S.r.l.",
"email": "hello@dartmoon.io",
"homepage": "https://dartmoon.io"
},
{
"name": "Alessandro Pasqualini",
"email": "alessandro@dartmoon.io"
}
],
"autoload": {
"psr-4": {
"___NAMESPACE_ESCAPED___\\": "src/"
},
"classmap": [
"vendor",
"vendor-prefixed"
]
},
"require": {
"dartmoon/prestashop-hooks": "^0.3.0",
"dartmoon/prestashop-tabmanager": "^0.1.2"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.4"
},
"config": {
"sort-packages": true,
"allow-plugins": {
"bamarni/composer-bin-plugin": true
}
},
"scripts": {
"pre-install-cmd": [
"@make-vendor-dir"
],
"pre-update-cmd": [
"@make-vendor-dir"
],
"post-install-cmd": [
"@composer bin all install --ansi",
"@prefix-vendor"
],
"post-update-cmd": [
"@composer bin all update --ansi",
"@prefix-vendor"
],
"post-create-project-cmd": [
"@configure-module"
],
"configure-module": [
"vendor-bin/prestashop-build-tools/vendor/bin/configure-module"
],
"make-vendor-dir": [
"mkdir -p vendor",
"mkdir -p vendor-prefixed"
],
"clean-vendor-dir": [
"rm -rf vendor/ vendor-prefixed/",
"@make-vendor-dir"
],
"bin": [
"echo 'bin not installed'"
],
"cs": [
"php vendor-bin/prestashop-build-tools/vendor/bin/php-cs-fixer fix -v --diff --dry-run"
],
"cs-fix": [
"php vendor-bin/prestashop-build-tools/vendor/bin/php-cs-fixer fix -v --diff"
],
"prefix-vendor": [
"vendor-bin/prestashop-build-tools/vendor/bin/prefix-vendor"
],
"build-assets": [
"yarn",
"yarn mix --production"
],
"build-module": [
"@cs-fix",
"@build-assets",
"@clean-vendor-dir",
"@composer install --no-dev --no-scripts --quiet",
"@prefix-vendor -m",
"vendor-bin/prestashop-build-tools/vendor/bin/build-module -a"
]
},
"extra": {
"bamarni-bin": {
"bin-links": false
},
"prestashop-build-tools": {
"name": "___NAME___",
"prefix": "___VENDOR_PREFIX_ESCAPED___"
}
}
}