forked from ushahidi/platform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
154 lines (154 loc) · 4.82 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
{
"name": "ushahidi/platform",
"description": "Ushahidi Platform core and API server",
"homepage": "http://ushahidi.com/",
"type": "project",
"license": "AGPL-3.0",
"repositories": [
{
"type": "vcs",
"url": "https://github.com/ushahidi/ohanzee-db"
},
{
"type": "vcs",
"url": "https://github.com/ushahidi/kohana-validation"
}
],
"require": {
"php": ">=7.0 <7.4",
"aura/di": "~3.4",
"league/flysystem-aws-s3-v3": "~1.0",
"league/flysystem-rackspace": "~1.0",
"league/flysystem": "~1.0",
"ircmaxell/password-compat": "^1.0.4",
"intercom/intercom-php": "^3.1.2",
"abraham/twitteroauth": "^0.5.3",
"ohanzee/database": "dev-namespaces",
"robmorgan/phinx": "~0.8.0",
"symm/gisconverter": "~1.0.5",
"vlucas/phpdotenv": "~2.2",
"league/csv": "~7.1@dev",
"laravel/lumen-framework": "5.5.*",
"league/event": "^2.2@dev",
"beheh/flaps": "dev-master",
"doctrine/cache": "^1.6.2",
"ramsey/uuid": "^3.4.1",
"barryvdh/laravel-cors": "^0.11.0",
"ushahidi/kohana-validation": "dev-master",
"illuminate/mail": "5.5.*",
"twilio/sdk": "^5.15",
"nexmo/client": "^1.1",
"sentry/sentry-laravel": "^0.8.0",
"laravel/passport": "^4.0",
"germanazo/laravel-ckan-api": "^1.0",
"asm89/stack-cors": "1.2.0",
"predis/predis": "~1.1",
"illuminate/redis": "5.5.*"
},
"require-dev": {
"fzaninotto/faker": "~1.4",
"guzzlehttp/guzzle": "~6.3.2",
"phpunit/phpunit": "^5.7",
"phpunit/dbunit": "~1.4",
"phpspec/phpspec": "~3.0",
"heroku/heroku-buildpack-php": "dev-master",
"behat/behat": "^3.3",
"behat/mink-extension": "^2.2",
"behat/mink-goutte-driver": "^1.2",
"satooshi/php-coveralls": "^2.0@dev",
"leanphp/phpspec-code-coverage": "~3.1",
"laravel/homestead": "^5.2",
"squizlabs/php_codesniffer": "~3.0",
"php-mock/php-mock-mockery": "^1.2",
"mockery/mockery": "^1.0",
"sebastianfeldmann/captainhook": "^2.0"
},
"suggest" : {
"ext-imap": "Needed for email data source",
"ext-redis": "Needed for Redis based queues or cache",
"ext-memcached": "Needed for Memcache based cache"
},
"config": {
"bin-dir": "bin/",
"github-protocols": [
"https",
"http",
"git"
],
"preferred-install": "dist"
},
"autoload": {
"psr-4": {
"Ushahidi\\": "src/",
"Ushahidi\\App\\": "app/"
},
"files": [
"app/helpers.php"
]
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests",
"Tests\\Unit\\": "tests/unit",
"Tests\\Integration\\Bootstrap\\": "tests/integration/bootstrap"
},
"classmap": [
"database/"
]
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"compile" : [
"@migrate"
],
"lint" : [
"phpcs --standard=src/ruleset.xml --ignore=./resources/lang/* ./",
"phpcs --standard=tests/spec/ruleset.xml ./tests/spec/",
"phpcs --standard=migrations/ruleset.xml ./migrations/ ./database"
],
"fixlint" : [
"phpcbf --standard=src/ruleset.xml --ignore=./resources/lang/* ./",
"phpcbf --standard=tests/spec/ruleset.xml ./tests/spec/",
"phpcbf --standard=migrations/ruleset.xml ./migrations/ ./database"
],
"pre-coverage" : [
"rm -rf coverage/"
],
"coverage" : [
"phpunit",
"phpspec run --no-code-generation"
],
"migrate" : [
"@verify",
"phinx migrate -c phinx.php"
],
"pre-test" : [
"@migrate",
"php artisan passport:keys",
"chmod 660 storage/passport/*.key"
],
"test" : [
"phpunit --no-coverage",
"phpspec run --no-code-generation",
"behat --strict --profile ci"
],
"post-install-cmd": [
"\\SebastianFeldmann\\CaptainHook\\Composer\\Cmd::install",
"php artisan passport:keys || php -r \"return 0;\""
],
"bootstrap:passport": [
"php artisan passport:keys",
"chmod 660 storage/passport/*.key"
],
"verify": [
"php artisan environment:verify"
],
"installdebug:enable": [
"\\Ushahidi\\App\\PlatformVerifier\\DebugMode::enable"
],
"installdebug:disable": [
"\\Ushahidi\\App\\PlatformVerifier\\DebugMode::disable"
]
}
}