Commit | Line | Data |
---|---|---|
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/"] |
9584d5d5 SL |
36 | }, |
37 | "files": [ | |
38 | "guzzle_php81_shim.php" | |
39 | ] | |
cca05393 | 40 | }, |
87f0580c | 41 | "include-path": ["vendor/tecnickcom"], |
dc3ace93 TO |
42 | "config": { |
43 | "platform": { | |
5b9bd296 | 44 | "php": "7.2.5" |
bfa5e8fd | 45 | }, |
46 | "allow-plugins": { | |
47 | "civicrm/composer-compile-plugin": true, | |
48 | "civicrm/composer-downloads-plugin": true, | |
49 | "cweagans/composer-patches": true | |
dc3ace93 TO |
50 | } |
51 | }, | |
cca05393 | 52 | "require": { |
5b9bd296 | 53 | "php": "~7.2.5 || ~7.3 || ~8", |
4dfc8caa | 54 | "composer-runtime-api": "~2.0", |
22511623 | 55 | "cache/integration-tests": "~0.17.0", |
28306fbb | 56 | "dompdf/dompdf" : "~2", |
f297e791 | 57 | "firebase/php-jwt": ">=3 <6", |
a0f0777e | 58 | "rubobaquero/phpquery": "^0.9.15", |
92400ae3 | 59 | "symfony/config": "~4.4", |
5ff57db4 | 60 | "symfony/polyfill-iconv": "~1.0", |
92400ae3 SL |
61 | "symfony/dependency-injection": "~4.4", |
62 | "symfony/event-dispatcher": "~4.4", | |
63 | "symfony/filesystem": "~4.4", | |
64 | "symfony/process": "~4.4", | |
518417fd | 65 | "symfony/var-dumper": "~3.0 || ~4.4 || ~5.1", |
bd35b7fe | 66 | "symfony/service-contracts": "~2.2", |
ada741b8 | 67 | "psr/log": "~1.0 || ~2.0 || ~3.0", |
92400ae3 | 68 | "symfony/finder": "~4.4", |
2cfebb82 | 69 | "tecnickcom/tcpdf" : "6.4.*", |
15c86abf | 70 | "totten/ca-config": "~22.05", |
16924c84 | 71 | "zetacomponents/base": "1.9.*", |
f58234e2 | 72 | "zetacomponents/mail": "~1.9.3", |
77c89e7a | 73 | "marcj/topsort": "~1.1", |
95d1c020 | 74 | "phpoffice/phpword": "^0.18.0", |
436e8384 | 75 | "pear/validate_finance_creditcard": "0.7.0", |
30836e92 | 76 | "civicrm/civicrm-cxn-rpc": "~0.20.12.01 || ~0.19.01.10", |
3018c1d5 | 77 | "pear/auth_sasl": "1.1.0", |
73bc1fff | 78 | "pear/net_smtp": "1.10.*", |
3018c1d5 | 79 | "pear/net_socket": "1.0.*", |
2215f6dc | 80 | "pear/mail": "^1.4", |
53ba4df1 | 81 | "guzzlehttp/guzzle": "^6.3 || ^7.3", |
66a7c254 | 82 | "psr/simple-cache": "~1.0.1", |
2f0db034 | 83 | "cweagans/composer-patches": "~1.0", |
7d792d0f | 84 | "pear/log": "1.13.3", |
108332db | 85 | "adrienrn/php-mimetyper": "0.2.2", |
3da9dd6c | 86 | "civicrm/composer-downloads-plugin": "^3.0", |
4172263f | 87 | "league/csv": "~9.6.2", |
540e72d8 TO |
88 | "league/oauth2-client": "^2.4", |
89 | "league/oauth2-google": "^3.0", | |
ab242d96 | 90 | "tplaner/when": "~3.0.0", |
2d38c687 | 91 | "xkerman/restricted-unserialize": "~1.1", |
ca4cfe7a | 92 | "typo3/phar-stream-wrapper": "^2 || ^3.0", |
4a9379f8 | 93 | "brick/money": "~0.5", |
968f6190 | 94 | "ext-intl": "*", |
b687e8d7 | 95 | "pear/mail_mime": "~1.10", |
51142dfe | 96 | "pear/db": "1.11", |
31f66367 | 97 | "civicrm/composer-compile-lib": "~0.6 || ~1.0", |
463edc66 | 98 | "ext-json": "*", |
44b5fddd | 99 | "ezyang/htmlpurifier": "^4.13", |
a4cde1ac | 100 | "phpoffice/phpspreadsheet": "^1.18", |
8f4c01b0 | 101 | "symfony/polyfill-php73": "^1.23", |
69ed1d28 | 102 | "symfony/polyfill-php74": "^1.0", |
103 | "symfony/polyfill-php80": "^1.0", | |
104 | "symfony/polyfill-php81": "^1.0", | |
105 | "symfony/polyfill-php82": "^1.0", | |
2317ace8 | 106 | "html2text/html2text": "^4.3.1", |
bd35b7fe | 107 | "psr/container": "~1.0" |
f28ac29c TO |
108 | }, |
109 | "scripts": { | |
110 | "post-install-cmd": [ | |
9500c14a | 111 | "bash tools/scripts/composer/dompdf-cleanup.sh", |
8aa9061e | 112 | "bash tools/scripts/composer/tcpdf-cleanup.sh", |
0ccbacae | 113 | "bash tools/scripts/composer/pear-exception-fix.sh", |
ed9f705c | 114 | "bash tools/scripts/composer/net-smtp-fix.sh", |
2215f6dc | 115 | "bash tools/scripts/composer/pear-mail-fix.sh", |
9584d5d5 SL |
116 | "bash tools/scripts/composer/phpword-jquery.sh", |
117 | "bash tools/scripts/composer/guzzle-mockhandler-fix.sh" | |
f28ac29c TO |
118 | ], |
119 | "post-update-cmd": [ | |
9500c14a | 120 | "bash tools/scripts/composer/dompdf-cleanup.sh", |
8aa9061e | 121 | "bash tools/scripts/composer/tcpdf-cleanup.sh", |
0ccbacae | 122 | "bash tools/scripts/composer/pear-exception-fix.sh", |
ed9f705c | 123 | "bash tools/scripts/composer/net-smtp-fix.sh", |
2215f6dc | 124 | "bash tools/scripts/composer/pear-mail-fix.sh", |
9584d5d5 SL |
125 | "bash tools/scripts/composer/phpword-jquery.sh", |
126 | "bash tools/scripts/composer/guzzle-mockhandler-fix.sh" | |
f28ac29c | 127 | ] |
66a7c254 | 128 | }, |
ab242d96 TO |
129 | "repositories": { |
130 | "tplaner-when-1ec099f421bff354cc5c929f83b94031423fc80": { | |
131 | "type": "package", | |
132 | "package": { | |
133 | "version": "3.0.0+php53", | |
134 | "dist": {"url": "https://github.com/tplaner/When/archive/c1ec099f421bff354cc5c929f83b94031423fc80.zip", "type": "zip"}, | |
135 | "name": "tplaner/when", | |
136 | "type": "library", | |
137 | "description": "Date/Calendar recursion library.", | |
138 | "keywords": ["recurrence", "date", "time", "DateTime"], | |
139 | "homepage": "https://github.com/tplaner/When", | |
140 | "license": "MIT", | |
141 | "authors": [{"name": "Tom Planer", "email": "tplaner@gmail.com"}], | |
142 | "require": {"php": ">=5.3.0"}, | |
143 | "require-dev": {"phpunit/phpunit": "~4.0"}, | |
144 | "autoload": {"psr-4": {"When\\": "src/"}} | |
145 | } | |
146 | } | |
147 | }, | |
66a7c254 | 148 | "extra": { |
598f4e80 TO |
149 | "downloads": { |
150 | "*": { | |
151 | "path": "bower_components/{$id}" | |
152 | }, | |
153 | "angular": { | |
0437eca3 | 154 | "url": "https://github.com/angular/bower-angular/archive/v1.8.2.zip" |
598f4e80 TO |
155 | }, |
156 | "angular-bootstrap": { | |
157 | "url": "https://github.com/angular-ui/bootstrap-bower/archive/2.5.0.zip" | |
158 | }, | |
159 | "angular-file-upload": { | |
da9f6ba5 CW |
160 | "url": "https://github.com/nervgh/angular-file-upload/archive/2.6.1.zip", |
161 | "ignore": ["examples", "src"] | |
598f4e80 TO |
162 | }, |
163 | "angular-jquery-dialog-service": { | |
164 | "url": "https://github.com/totten/angular-jquery-dialog-service/archive/v0.8.0-civicrm-1.0.zip" | |
165 | }, | |
166 | "angular-mocks": { | |
7585cf5b | 167 | "url": "https://github.com/angular/bower-angular-mocks/archive/v1.8.0.zip" |
598f4e80 TO |
168 | }, |
169 | "angular-route": { | |
7585cf5b | 170 | "url": "https://github.com/angular/bower-angular-route/archive/v1.8.0.zip" |
598f4e80 TO |
171 | }, |
172 | "angular-sanitize": { | |
7585cf5b | 173 | "url": "https://github.com/angular/bower-angular-sanitize/archive/v1.8.0.zip" |
598f4e80 TO |
174 | }, |
175 | "angular-ui-sortable": { | |
386a5ae6 | 176 | "url": "https://github.com/angular-ui/ui-sortable/archive/v0.19.0.zip" |
598f4e80 | 177 | }, |
598f4e80 TO |
178 | "angular-unsavedChanges": { |
179 | "url": "https://github.com/facultymatt/angular-unsavedChanges/archive/v0.1.1.zip", | |
180 | "ignore": [".*", "node_modules", "bower_components", "test", "tests"] | |
181 | }, | |
182 | "angular-xeditable": { | |
183 | "url": "https://github.com/vitalets/angular-xeditable/archive/0.9.0.zip", | |
184 | "ignore": [".*", "node_modules", "bower_components", "playground", "test", "libs", "docs", "zip", "src", "starter", "Gruntfile.js", "index.html", "jsdoc.conf.json", "package.json"] | |
185 | }, | |
186 | "checklist-model": { | |
187 | "url": "https://github.com/vitalets/checklist-model/archive/1.0.0.zip", | |
188 | "ignore": [".*", "node_modules", "docs", "Gruntfile.js", "index.html", "package.json", "test"] | |
189 | }, | |
190 | "ckeditor": { | |
f9640696 | 191 | "url": "https://github.com/ckeditor/ckeditor-releases/archive/4.18.0.zip" |
598f4e80 TO |
192 | }, |
193 | "crossfilter-1.3.x": { | |
194 | "url": "https://github.com/crossfilter/crossfilter/archive/1.3.14.zip", | |
195 | "ignore": [".*", "node_modules", "bower_components", "src", "lib", "test", "component.json", "package.json", "index.js", "Makefile"] | |
196 | }, | |
197 | "crossfilter2": { | |
198 | "url": "https://github.com/crossfilter/crossfilter/archive/1.4.7.zip", | |
199 | "ignore": [".*", "node_modules", "bower_components", "package.json", "index.js", "src", "component.json", "media", "test", "tests"] | |
200 | }, | |
201 | "css-color-names": { | |
202 | "url": "https://github.com/bahamas10/css-color-names/archive/v1.0.1.zip" | |
203 | }, | |
204 | "d3": { | |
205 | "url": "https://github.com/mbostock-bower/d3-bower/archive/v3.4.11.zip", | |
206 | "ignore": [".DS_Store", ".git", ".gitignore", ".npmignore", ".travis.yml", "Makefile", "bin", "component.json", "index.js", "lib", "node_modules", "package.json", "src", "test"] | |
207 | }, | |
208 | "d3-3.5.x": { | |
209 | "url": "https://github.com/mbostock-bower/d3-bower/archive/v3.5.17.zip" | |
210 | }, | |
211 | "datatables": { | |
212 | "url": "https://github.com/DataTables/DataTables/archive/1.10.19.zip", | |
213 | "ignore": ["/.*", "examples", "media/unit_testing", "composer.json", "dataTables.jquery.json", "package.json"] | |
214 | }, | |
215 | "dc-2.1.x": { | |
216 | "url": "https://github.com/NickQiZhu/dc.js/archive/2.1.10.zip", | |
217 | "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"] | |
218 | }, | |
219 | "es6-promise": { | |
220 | "url": "https://github.com/components/es6-promise/archive/v4.2.4.zip" | |
221 | }, | |
21f97878 TO |
222 | "ext-greenwich-bootstrap3": { |
223 | "url": "https://github.com/twbs/bootstrap-sass/archive/v{$version}.zip", | |
224 | "path": "ext/greenwich/extern/bootstrap3", | |
225 | "version": "3.4.1", | |
226 | "ignore": ["test", "tasks", "lib"] | |
227 | }, | |
598f4e80 TO |
228 | "font-awesome": { |
229 | "url": "https://github.com/FortAwesome/Font-Awesome/archive/v4.7.0.zip", | |
230 | "ignore": ["*/.*", "*.json", "src", "*.yml", "Gemfile", "Gemfile.lock", "*.md"] | |
231 | }, | |
136ca5bb CW |
232 | "marked": { |
233 | "url": "https://github.com/markedjs/marked/archive/v0.8.0.zip", | |
234 | "ignore": [".*", "*.json", "*.md", "Makefile", "*/*"] | |
235 | }, | |
e1cb865e | 236 | "monaco-editor": { |
f9a1d2b1 | 237 | "url": "https://registry.npmjs.org/monaco-editor/-/monaco-editor-0.25.2.tgz", |
fc16a9c0 TO |
238 | "path": "bower_components/monaco-editor", |
239 | "ignore": ["dev", "esm"] | |
e1cb865e | 240 | }, |
598f4e80 TO |
241 | "google-code-prettify": { |
242 | "url": "https://github.com/tcollard/google-code-prettify/archive/v1.0.5.zip", | |
feac2ccd | 243 | "ignore": ["closure-compiler", "js-modules", "tests", "yui-compressor", "Makefile", "examples", "*.html", "run_prettify*js"] |
598f4e80 TO |
244 | }, |
245 | "jquery": { | |
246 | "url": "https://github.com/civicrm/jquery/archive/1.12.4-civicrm-1.2.zip" | |
247 | }, | |
248 | "jquery-ui": { | |
1d48b8dd | 249 | "url": "https://github.com/civicrm/jqueryui/archive/1.13.1-civicrm.zip" |
598f4e80 TO |
250 | }, |
251 | "jquery-validation": { | |
915a791f | 252 | "url": "https://github.com/jquery-validation/jquery-validation/archive/1.19.3.zip", |
598f4e80 TO |
253 | "ignore": [".*", "node_modules", "bower_components", "test", "demo", "lib"] |
254 | }, | |
10d00207 TO |
255 | "json-formatter": { |
256 | "url": "https://github.com/mohsen1/json-formatter/archive/v{$version}.zip", | |
257 | "version": "0.7.0", | |
258 | "ignore": ["demo", "test", "screenshot.png"] | |
259 | }, | |
598f4e80 TO |
260 | "jstree": { |
261 | "url": "https://github.com/vakata/jstree/archive/3.3.8.zip", | |
262 | "ignore": [".*", "docs", "demo", "libs", "node_modules", "test", "libs", "jstree.jquery.json", "gruntfile.js", "package.json", "bower.json", "component.json", "LICENCE-MIT", "README.md"] | |
263 | }, | |
264 | "lodash-compat": { | |
265 | "url": "https://github.com/lodash/lodash-compat/archive/3.0.1.zip", | |
266 | "ignore": [".*", "*.log", "*.md", "component.json", "package.json", "node_modules"] | |
267 | }, | |
268 | "phantomjs-polyfill": { | |
269 | "url": "https://github.com/conversocial/phantomjs-polyfill/archive/v0.0.2.zip" | |
270 | }, | |
598f4e80 TO |
271 | "select2": { |
272 | "url": "https://github.com/colemanw/select2/archive/v3.5-civicrm-1.0.zip" | |
273 | }, | |
0b873c9a | 274 | "js-yaml": { |
1938279b TO |
275 | "url": "https://github.com/nodeca/js-yaml/archive/3.13.1.zip", |
276 | "ignore": ["benchmark", "bin", "demo", "examples", "lib", "support", "test"] | |
0b873c9a | 277 | }, |
598f4e80 TO |
278 | "smartmenus": { |
279 | "url": "https://github.com/vadikom/smartmenus/archive/1.1.0.zip", | |
280 | "ignore": [".gitignore", "Gruntfile.js"] | |
0617ec90 JT |
281 | }, |
282 | "sms-counter": { | |
283 | "url": "https://github.com/danxexe/sms-counter/archive/master.zip", | |
284 | "ignore": ["examples"] | |
598f4e80 TO |
285 | } |
286 | }, | |
66a7c254 | 287 | "patches": { |
18f1a5fb SL |
288 | "adrienrn/php-mimetyper": { |
289 | "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" | |
290 | }, | |
c68ca12a SL |
291 | "league/csv": { |
292 | "Adding in eol support to fputcsv for php8.1": "https://raw.githubusercontent.com/civicrm/civicrm-core/cacdbfaeaed8e04d504bf2fc604536137c03abeb/tools/scripts/composer/leage_csv_fputcsv.patch", | |
293 | "Remove deprecated flag from php8.1": "https://github.com/thephpleague/csv/commit/380f884922a6cdaaaaab3ad4bfc7d1d710af736e.patch", | |
294 | "Fix php8.1 deprecation errors part 1": "https://github.com/thephpleague/csv/commit/613db0b20157a1114cb1f9a801bd4c9c1f609cdf.patch", | |
295 | "Fix php8.1 deprecation errors part 2": "https://github.com/thephpleague/csv/commit/49e2b08ca025ebaf87a904b5645f535c807b6f10.patch", | |
296 | "Fix php8.1 notice issues part 3": "https://github.com/thephpleague/csv/commit/b83e972caea3cd22e7aaf65c5cffff1d49b46b69.patch" | |
297 | }, | |
8f4c01b0 SL |
298 | "html2text/html2text": { |
299 | "Fix deprecation warning in php8.1 on html_entity_decode": "https://raw.githubusercontent.com/civicrm/civicrm-core/e758d20e9f613ca6c4cf652c23d2cd7e5d3af3ce/tools/scripts/composer/html2text_html2_text_php81_deprecation.patch" | |
300 | }, | |
b687e8d7 | 301 | "pear/db": { |
d36734d6 | 302 | "Apply patch to ensure that MySQLI reporting remains the same in php8.1": "https://patch-diff.githubusercontent.com/raw/pear/DB/pull/13.patch", |
51142dfe | 303 | "Apply CiviCRM Customisations for the pear:db package": "https://raw.githubusercontent.com/civicrm/civicrm-core/2ad420c394/tools/scripts/composer/pear_db_civicrm_changes.patch" |
b687e8d7 | 304 | }, |
8449e89f SL |
305 | "pear/log": { |
306 | "Apply patch for php8.1": "https://patch-diff.githubusercontent.com/raw/pear/Log/pull/23.patch" | |
307 | }, | |
afd11d1f SL |
308 | "pear/mail": { |
309 | "Apply CiviCRM Customisations for CRM-1367 and CRM-5946": "https://raw.githubusercontent.com/civicrm/civicrm-core/36319938a5bf26c1e7e2110a26a65db6a5979268/tools/scripts/composer/patches/pear-mail.patch" | |
310 | }, | |
968f6190 SL |
311 | "pear/mail_mime": { |
312 | "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" | |
313 | }, | |
a6a0ff13 | 314 | "pear/net_smtp": { |
a9c40598 | 315 | "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 | 316 | }, |
310013ee SL |
317 | "phpoffice/phpword": { |
318 | "PHP8.1 fix for passing null value into strlen": "https://patch-diff.githubusercontent.com/raw/PHPOffice/PHPWord/pull/2272.patch" | |
319 | }, | |
8a1794a9 | 320 | "zetacomponents/mail": { |
ae2c24da | 321 | "CiviCRM Custom Patches for ZetaCompoents mail": "https://raw.githubusercontent.com/civicrm/civicrm-core/9d93748a36c7c5d44422911db1c98fb2f7067b34/tools/scripts/composer/patches/civicrm-custom-patches-zetacompoents-mail.patch", |
8449e89f | 322 | "CiviCRM Custom patch to fix a php8.1 issue found in CiviCRM unit tests": "https://raw.githubusercontent.com/civicrm/civicrm-core/5506f4ce5d46799857b4f4ddf34069e7541e9cc5/tools/scripts/composer/zetacomponents-php-81-civicrm-custom.patch" |
66a7c254 | 323 | } |
763eec6c | 324 | }, |
4fed6a99 TO |
325 | "compile-includes": ["ext/greenwich/composer.compile.json"], |
326 | "compile-whitelist": ["civicrm/composer-compile-lib"] | |
cca05393 TO |
327 | } |
328 | } |