-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
100 lines (100 loc) · 3.33 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
89
90
91
92
93
94
95
96
97
98
99
100
{
"name": "codingmatters/zf-skeleton-app",
"description": "Integration for Zend Framework skeleton application",
"license": "MIT",
"type": "project",
"homepage": "https://github.com/CodingMatters/ZFSkeletonApp/",
"authors": [
{
"name": "Gab Amba",
"email": "[email protected]",
"homepage": "http://www.gabbydgab.com/"
}
],
"require": {
"php": "~7.0.0",
"roave/security-advisories": "dev-master",
"zendframework/zend-skeleton-installer": "^0.1.3",
"codingmatters/zf-module-ini": "^0.4.3"
},
"require-dev": {
"zendframework/zend-component-installer": "^1.0 || ^0.3",
"zendframework/zend-developer-tools": "^1.1.1",
"zfcampus/zf-development-mode": "^3.0",
"squizlabs/php_codesniffer": "^2.7.1",
"zendframework/zend-test": "^3.0.2",
"sebastian/phpcpd": "^2.0.4"
},
"extra": {
"zend-skeleton-installer": [
{
"name": "codingmatters/dashboard-component-installer",
"constraint": "^1.0 || ~0.1",
"prompt": "Would you like to install dashboard module?",
"module": true
}
]
},
"autoload": {
"psr-4": {
"Application\\": "module/Application/src/"
}
},
"autoload-dev": {
"psr-4": {
"ApplicationTest\\": "module/Application/test/"
}
},
"scripts": {
"post-install-cmd": [
"@install-ui-component",
"@include-module-config",
"@debug",
"@serve"
],
"post-update-cmd": [
"@update-ui-component",
"@include-module-config",
"@debug"
],
"debug": [
"@cs",
"@cpd",
"@test"
],
"cs": "phpcs --ignore=/vendor,/build module",
"cs-fix": "phpcbf --ignore=/vendor,/build module",
"cpd": "phpcpd --exclude=/vendor,/build --fuzzy module",
"test": "phpunit --verbose",
"install-ui-component": [
"@remove-assets",
"bower install",
"@copy-assets"
],
"update-ui-component": [
"@remove-assets",
"bower update",
"@copy-assets"
],
"remove-assets": [
"rm -rf public/assets/jquery",
"rm -rf public/assets/jquery-ui",
"rm -rf public/assets/font-awesome",
"rm -rf public/assets/bootstrap"
],
"copy-assets": [
"cp -ar bower_components/jquery/dist public/assets/jquery",
"cp -ar bower_components/jquery-ui public/assets/jquery-ui",
"cp -ar bower_components/components-font-awesome public/assets/font-awesome",
"cp -ar bower_components/components-bootstrap public/assets/bootstrap",
"rm -rf bower_components"
],
"include-module-config": [
"cp -au module/Application/config/autoload/app-settings.local.php-dist config/autoload/app-settings.local.php"
],
"development-disable": "zf-development-mode disable",
"development-enable": "zf-development-mode enable",
"development-status": "zf-development-mode status",
"serve": "php -S 0.0.0.0:8080 -t public/ public/index.php"
}
}