Update composer-download-plugin to v3.0.0 to support usage of composer 2.x
[civicrm-core.git] / composer.json
CommitLineData
cca05393 1{
52a05d3f
DS
2 "name": "civicrm/civicrm-core",
3 "description": "Open source constituent relationship management for non-profits, NGOs and advocacy organizations.",
4 "type": "library",
be652e9b 5 "license": "AGPL-3.0",
52a05d3f
DS
6 "authors": [
7 {
8fc57118
DS
8 "name": "Coleman Watts",
9 "role": "Product Manager"
52a05d3f
DS
10 },
11 {
8fc57118
DS
12 "name": "Joshua Gowans",
13 "role": "Project Manager"
52a05d3f
DS
14 },
15 {
8fc57118
DS
16 "name": "Mathieu Lutfy",
17 "role": "Infrastructure"
52a05d3f
DS
18 },
19 {
8fc57118
DS
20 "name": "Tim Otten",
21 "role": "Software Architect"
52a05d3f
DS
22 },
23 {
8fc57118
DS
24 "name": "CiviCRM Community",
25 "homepage": "https://civicrm.org"
52a05d3f
DS
26 }
27 ],
cca05393
TO
28 "autoload": {
29 "psr-0": {
ac0b2c9c 30 "PHPUnit_": ["packages/"],
711aa5d7 31 "Civi": "",
d845fb8b 32 "Civi\\": ["tests/phpunit/"]
4a32b6fb
TO
33 },
34 "psr-4": {
61f9a123 35 "Civi\\": [".", "Civi/", "setup/src/"]
cca05393
TO
36 }
37 },
87f0580c 38 "include-path": ["vendor/tecnickcom"],
dc3ace93
TO
39 "config": {
40 "platform": {
a1400a8e 41 "php": "7.1"
dc3ace93
TO
42 }
43 },
cca05393 44 "require": {
a1400a8e 45 "php": "~7.1",
b4998943 46 "cache/integration-tests": "~0.16.0",
b9015a8b 47 "dompdf/dompdf" : "~0.8",
209ef5bf 48 "electrolinux/phpquery": "^0.9.6",
c2b44ba2 49 "symfony/config": "~3.0 || ~4.4",
5ff57db4 50 "symfony/polyfill-iconv": "~1.0",
c2b44ba2
SL
51 "symfony/dependency-injection": "~3.0 || ~4.4",
52 "symfony/event-dispatcher": "~3.0 || ~4.4",
53 "symfony/filesystem": "~3.0 || ~4.4",
54 "symfony/process": "~3.0 || ~4.4",
518417fd 55 "symfony/var-dumper": "~3.0 || ~4.4 || ~5.1",
0a5cc337 56 "psr/log": "~1.0",
c2b44ba2 57 "symfony/finder": "~3.0 || ~4.4",
b55dd020 58 "tecnickcom/tcpdf" : "6.3.*",
5f3c4f5b 59 "totten/ca-config": "~17.05",
16924c84 60 "zetacomponents/base": "1.9.*",
ec88fefe 61 "zetacomponents/mail": "1.9.*",
77c89e7a 62 "marcj/topsort": "~1.1",
66a7c254 63 "phpoffice/phpword": "^0.15.0",
3018c1d5 64 "pear/validate_finance_creditcard": "dev-master",
2ac97b20 65 "civicrm/civicrm-cxn-rpc": "~0.19.01.08",
3018c1d5 66 "pear/auth_sasl": "1.1.0",
a6a0ff13 67 "pear/net_smtp": "1.9.*",
3018c1d5 68 "pear/net_socket": "1.0.*",
2215f6dc 69 "pear/mail": "^1.4",
6c1c4ffc 70 "guzzlehttp/guzzle": "^6.3",
66a7c254 71 "psr/simple-cache": "~1.0.1",
2f0db034 72 "cweagans/composer-patches": "~1.0",
6086c345 73 "pear/log": "1.13.2",
108332db 74 "adrienrn/php-mimetyper": "0.2.2",
3da9dd6c 75 "civicrm/composer-downloads-plugin": "^3.0",
c5abc6ae 76 "league/csv": "^9.2",
ab242d96 77 "tplaner/when": "~3.0.0",
2d38c687 78 "xkerman/restricted-unserialize": "~1.1",
ca4cfe7a
SL
79 "typo3/phar-stream-wrapper": "^2 || ^3.0",
80 "brick/money": "~0.4",
968f6190 81 "ext-intl": "*",
b687e8d7 82 "pear/mail_mime": "~1.10",
5987fa9b 83 "pear/db": "1.10",
aba124dc 84 "civicrm/composer-compile-lib": "~0.3 || ~1.0"
f28ac29c
TO
85 },
86 "scripts": {
87 "post-install-cmd": [
9500c14a 88 "bash tools/scripts/composer/dompdf-cleanup.sh",
8aa9061e 89 "bash tools/scripts/composer/tcpdf-cleanup.sh",
0ccbacae 90 "bash tools/scripts/composer/pear-exception-fix.sh",
ed9f705c 91 "bash tools/scripts/composer/net-smtp-fix.sh",
2215f6dc 92 "bash tools/scripts/composer/pear-mail-fix.sh",
ed9f705c 93 "bash tools/scripts/composer/phpword-jquery.sh"
f28ac29c
TO
94 ],
95 "post-update-cmd": [
9500c14a 96 "bash tools/scripts/composer/dompdf-cleanup.sh",
8aa9061e 97 "bash tools/scripts/composer/tcpdf-cleanup.sh",
0ccbacae 98 "bash tools/scripts/composer/pear-exception-fix.sh",
ed9f705c 99 "bash tools/scripts/composer/net-smtp-fix.sh",
2215f6dc 100 "bash tools/scripts/composer/pear-mail-fix.sh",
ed9f705c 101 "bash tools/scripts/composer/phpword-jquery.sh"
f28ac29c 102 ]
66a7c254 103 },
ab242d96
TO
104 "repositories": {
105 "tplaner-when-1ec099f421bff354cc5c929f83b94031423fc80": {
106 "type": "package",
107 "package": {
108 "version": "3.0.0+php53",
109 "dist": {"url": "https://github.com/tplaner/When/archive/c1ec099f421bff354cc5c929f83b94031423fc80.zip", "type": "zip"},
110 "name": "tplaner/when",
111 "type": "library",
112 "description": "Date/Calendar recursion library.",
113 "keywords": ["recurrence", "date", "time", "DateTime"],
114 "homepage": "https://github.com/tplaner/When",
115 "license": "MIT",
116 "authors": [{"name": "Tom Planer", "email": "tplaner@gmail.com"}],
117 "require": {"php": ">=5.3.0"},
118 "require-dev": {"phpunit/phpunit": "~4.0"},
119 "autoload": {"psr-4": {"When\\": "src/"}}
120 }
121 }
122 },
66a7c254 123 "extra": {
598f4e80
TO
124 "downloads": {
125 "*": {
126 "path": "bower_components/{$id}"
127 },
128 "angular": {
7585cf5b 129 "url": "https://github.com/angular/bower-angular/archive/v1.8.0.zip"
598f4e80
TO
130 },
131 "angular-bootstrap": {
132 "url": "https://github.com/angular-ui/bootstrap-bower/archive/2.5.0.zip"
133 },
134 "angular-file-upload": {
135 "url": "https://github.com/nervgh/angular-file-upload/archive/v1.1.6.zip",
136 "ignore": ["examples"]
137 },
138 "angular-jquery-dialog-service": {
139 "url": "https://github.com/totten/angular-jquery-dialog-service/archive/v0.8.0-civicrm-1.0.zip"
140 },
141 "angular-mocks": {
7585cf5b 142 "url": "https://github.com/angular/bower-angular-mocks/archive/v1.8.0.zip"
598f4e80
TO
143 },
144 "angular-route": {
7585cf5b 145 "url": "https://github.com/angular/bower-angular-route/archive/v1.8.0.zip"
598f4e80
TO
146 },
147 "angular-sanitize": {
7585cf5b 148 "url": "https://github.com/angular/bower-angular-sanitize/archive/v1.8.0.zip"
598f4e80
TO
149 },
150 "angular-ui-sortable": {
386a5ae6 151 "url": "https://github.com/angular-ui/ui-sortable/archive/v0.19.0.zip"
598f4e80
TO
152 },
153 "angular-ui-utils": {
154 "url": "https://github.com/angular-ui/ui-utils/archive/v0.1.1.zip"
155 },
156 "angular-unsavedChanges": {
157 "url": "https://github.com/facultymatt/angular-unsavedChanges/archive/v0.1.1.zip",
158 "ignore": [".*", "node_modules", "bower_components", "test", "tests"]
159 },
160 "angular-xeditable": {
161 "url": "https://github.com/vitalets/angular-xeditable/archive/0.9.0.zip",
162 "ignore": [".*", "node_modules", "bower_components", "playground", "test", "libs", "docs", "zip", "src", "starter", "Gruntfile.js", "index.html", "jsdoc.conf.json", "package.json"]
163 },
164 "checklist-model": {
165 "url": "https://github.com/vitalets/checklist-model/archive/1.0.0.zip",
166 "ignore": [".*", "node_modules", "docs", "Gruntfile.js", "index.html", "package.json", "test"]
167 },
168 "ckeditor": {
a1f4eec8 169 "url": "https://github.com/ckeditor/ckeditor-releases/archive/4.14.0.zip"
598f4e80
TO
170 },
171 "crossfilter-1.3.x": {
172 "url": "https://github.com/crossfilter/crossfilter/archive/1.3.14.zip",
173 "ignore": [".*", "node_modules", "bower_components", "src", "lib", "test", "component.json", "package.json", "index.js", "Makefile"]
174 },
175 "crossfilter2": {
176 "url": "https://github.com/crossfilter/crossfilter/archive/1.4.7.zip",
177 "ignore": [".*", "node_modules", "bower_components", "package.json", "index.js", "src", "component.json", "media", "test", "tests"]
178 },
179 "css-color-names": {
180 "url": "https://github.com/bahamas10/css-color-names/archive/v1.0.1.zip"
181 },
182 "d3": {
183 "url": "https://github.com/mbostock-bower/d3-bower/archive/v3.4.11.zip",
184 "ignore": [".DS_Store", ".git", ".gitignore", ".npmignore", ".travis.yml", "Makefile", "bin", "component.json", "index.js", "lib", "node_modules", "package.json", "src", "test"]
185 },
186 "d3-3.5.x": {
187 "url": "https://github.com/mbostock-bower/d3-bower/archive/v3.5.17.zip"
188 },
189 "datatables": {
190 "url": "https://github.com/DataTables/DataTables/archive/1.10.19.zip",
191 "ignore": ["/.*", "examples", "media/unit_testing", "composer.json", "dataTables.jquery.json", "package.json"]
192 },
193 "dc-2.1.x": {
194 "url": "https://github.com/NickQiZhu/dc.js/archive/2.1.10.zip",
195 "ignore": [".*", "style", "web", "*.json", "regression", "scripts", "spec", "src", "docs", "grunt", "Gruntfile.js", "Changelog.md", "welcome.md", "class-hierarchy.dot", "index.js", "CONTRIBUTING.md", "LICENSE_BANNER", "AUTHORS"]
196 },
197 "es6-promise": {
198 "url": "https://github.com/components/es6-promise/archive/v4.2.4.zip"
199 },
21f97878
TO
200 "ext-greenwich-bootstrap3": {
201 "url": "https://github.com/twbs/bootstrap-sass/archive/v{$version}.zip",
202 "path": "ext/greenwich/extern/bootstrap3",
203 "version": "3.4.1",
204 "ignore": ["test", "tasks", "lib"]
205 },
598f4e80
TO
206 "font-awesome": {
207 "url": "https://github.com/FortAwesome/Font-Awesome/archive/v4.7.0.zip",
208 "ignore": ["*/.*", "*.json", "src", "*.yml", "Gemfile", "Gemfile.lock", "*.md"]
209 },
136ca5bb
CW
210 "marked": {
211 "url": "https://github.com/markedjs/marked/archive/v0.8.0.zip",
212 "ignore": [".*", "*.json", "*.md", "Makefile", "*/*"]
213 },
598f4e80
TO
214 "google-code-prettify": {
215 "url": "https://github.com/tcollard/google-code-prettify/archive/v1.0.5.zip",
feac2ccd 216 "ignore": ["closure-compiler", "js-modules", "tests", "yui-compressor", "Makefile", "examples", "*.html", "run_prettify*js"]
598f4e80
TO
217 },
218 "jquery": {
219 "url": "https://github.com/civicrm/jquery/archive/1.12.4-civicrm-1.2.zip"
220 },
221 "jquery-ui": {
222 "url": "https://github.com/components/jqueryui/archive/1.12.1.zip"
223 },
224 "jquery-validation": {
0c92dc42 225 "url": "https://github.com/jquery-validation/jquery-validation/archive/1.19.1.zip",
598f4e80
TO
226 "ignore": [".*", "node_modules", "bower_components", "test", "demo", "lib"]
227 },
228 "jstree": {
229 "url": "https://github.com/vakata/jstree/archive/3.3.8.zip",
230 "ignore": [".*", "docs", "demo", "libs", "node_modules", "test", "libs", "jstree.jquery.json", "gruntfile.js", "package.json", "bower.json", "component.json", "LICENCE-MIT", "README.md"]
231 },
232 "lodash-compat": {
233 "url": "https://github.com/lodash/lodash-compat/archive/3.0.1.zip",
234 "ignore": [".*", "*.log", "*.md", "component.json", "package.json", "node_modules"]
235 },
236 "phantomjs-polyfill": {
237 "url": "https://github.com/conversocial/phantomjs-polyfill/archive/v0.0.2.zip"
238 },
598f4e80
TO
239 "select2": {
240 "url": "https://github.com/colemanw/select2/archive/v3.5-civicrm-1.0.zip"
241 },
0b873c9a 242 "js-yaml": {
1938279b
TO
243 "url": "https://github.com/nodeca/js-yaml/archive/3.13.1.zip",
244 "ignore": ["benchmark", "bin", "demo", "examples", "lib", "support", "test"]
0b873c9a 245 },
598f4e80
TO
246 "smartmenus": {
247 "url": "https://github.com/vadikom/smartmenus/archive/1.1.0.zip",
248 "ignore": [".gitignore", "Gruntfile.js"]
249 }
250 },
66a7c254 251 "patches": {
18f1a5fb
SL
252 "adrienrn/php-mimetyper": {
253 "Update gitignore to ensure that sites that manage via git don't miss out on the important db.json file": "https://patch-diff.githubusercontent.com/raw/adrienrn/php-mimetyper/pull/15.patch"
254 },
b4998943
TO
255 "cache/integration-tests": {
256 "Allow adding tests": "https://github.com/php-cache/integration-tests/commit/05f97174c09364dc10c084a38ba0cfd5124f4cec.patch",
257 "Support PHPUnit 6+": "https://github.com/php-cache/integration-tests/commit/1ec7362962185df91d3d749bc3fa7e7b99cb9fc7.patch",
258 "Add tests for binary data round trip": "https://github.com/php-cache/integration-tests/commit/89cd7068e83aa776774bfc44f6bcba858c085616.patch"
259 },
a240692a
SL
260 "electrolinux/phpquery": {
261 "PHP7.4 Fix for array access using {} instead of []": "https://raw.githubusercontent.com/civicrm/civicrm-core/fe45bdfc4f3e3d3deb27e3d853cdbc7f616620a9/tools/scripts/composer/patches/php74_array_access_fix_phpquery.patch"
262 },
b687e8d7
SL
263 "pear/db": {
264 "Apply CiviCRM Customisations for the pear:db package": "https://raw.githubusercontent.com/civicrm/civicrm-core/a48a43c2b5f6d694fff1cfb99d522c5d9e2459a0/tools/scripts/composer/pear_db_civicrm_changes.patch"
265 },
afd11d1f
SL
266 "pear/mail": {
267 "Apply CiviCRM Customisations for CRM-1367 and CRM-5946": "https://raw.githubusercontent.com/civicrm/civicrm-core/36319938a5bf26c1e7e2110a26a65db6a5979268/tools/scripts/composer/patches/pear-mail.patch"
268 },
968f6190
SL
269 "pear/mail_mime": {
270 "Apply patch for CRM-3133 wordwrap body to be 750 characters to apply with RFC 2821": "https://raw.githubusercontent.com/civicrm/civicrm-core/74e25f27bb3be32519657539afe8a285c6c99a08/tools/scripts/composer/patches/mail_mime_crm_3133.patch"
271 },
a6a0ff13 272 "pear/net_smtp": {
a9c40598 273 "Add in CiviCRM custom error message for CRM-8744": "https://raw.githubusercontent.com/civicrm/civicrm-core/a6a0ff13d2a155ad962529595dceaef728116f96/tools/scripts/composer/patches/net-smtp-patch.patch"
a6a0ff13 274 },
66a7c254 275 "phpoffice/common": {
8aa0e574 276 "Fix handling of libxml_disable_entity_loader": "https://raw.githubusercontent.com/civicrm/civicrm-core/9d93748a36c7c5d44422911db1c98fb2f7067b34/tools/scripts/composer/patches/phpoffice-common-xml-entity-fix.patch"
66a7c254
SL
277 },
278 "phpoffice/phpword": {
8aa0e574 279 "Fix handling of libxml_disable_entity_loader": "https://raw.githubusercontent.com/civicrm/civicrm-core/9d93748a36c7c5d44422911db1c98fb2f7067b34/tools/scripts/composer/patches/phpword-libxml-fix-global-handling.patch"
8a1794a9
SL
280 },
281 "zetacomponents/mail": {
8aa0e574 282 "CiviCRM Custom Patches for ZetaCompoents mail": "https://raw.githubusercontent.com/civicrm/civicrm-core/9d93748a36c7c5d44422911db1c98fb2f7067b34/tools/scripts/composer/patches/civicrm-custom-patches-zetacompoents-mail.patch"
66a7c254 283 }
763eec6c 284 },
4fed6a99
TO
285 "compile-includes": ["ext/greenwich/composer.compile.json"],
286 "compile-whitelist": ["civicrm/composer-compile-lib"]
cca05393
TO
287 }
288}