Merge pull request #23440 from totten/5.50-since-when
[civicrm-core.git] / composer.json
1 {
2 "name": "civicrm/civicrm-core",
3 "description": "Open source constituent relationship management for non-profits, NGOs and advocacy organizations.",
4 "type": "library",
5 "license": "AGPL-3.0",
6 "authors": [
7 {
8 "name": "Coleman Watts",
9 "role": "Product Manager"
10 },
11 {
12 "name": "Joshua Gowans",
13 "role": "Project Manager"
14 },
15 {
16 "name": "Mathieu Lutfy",
17 "role": "Infrastructure"
18 },
19 {
20 "name": "Tim Otten",
21 "role": "Software Architect"
22 },
23 {
24 "name": "CiviCRM Community",
25 "homepage": "https://civicrm.org"
26 }
27 ],
28 "autoload": {
29 "psr-0": {
30 "PHPUnit_": ["packages/"],
31 "Civi": "",
32 "Civi\\": ["tests/phpunit/"]
33 },
34 "psr-4": {
35 "Civi\\": [".", "Civi/", "setup/src/"]
36 }
37 },
38 "include-path": ["vendor/tecnickcom"],
39 "config": {
40 "platform": {
41 "php": "7.2.5"
42 },
43 "allow-plugins": {
44 "civicrm/composer-compile-plugin": true,
45 "civicrm/composer-downloads-plugin": true,
46 "cweagans/composer-patches": true
47 }
48 },
49 "require": {
50 "php": "~7.2.5 || ~7.3 || ~8",
51 "cache/integration-tests": "~0.17.0",
52 "dompdf/dompdf" : "~1.2.1",
53 "firebase/php-jwt": ">=3 <6",
54 "electrolinux/phpquery": "^0.9.6",
55 "symfony/config": "~3.0 || ~4.4",
56 "symfony/polyfill-iconv": "~1.0",
57 "symfony/dependency-injection": "~3.0 || ~4.4",
58 "symfony/event-dispatcher": "~3.0 || ~4.4",
59 "symfony/filesystem": "~3.0 || ~4.4",
60 "symfony/process": "~3.0 || ~4.4",
61 "symfony/var-dumper": "~3.0 || ~4.4 || ~5.1",
62 "psr/log": "~1.0",
63 "symfony/finder": "~3.0 || ~4.4",
64 "tecnickcom/tcpdf" : "6.4.*",
65 "totten/ca-config": "~22.05",
66 "zetacomponents/base": "1.9.*",
67 "zetacomponents/mail": "1.9.*",
68 "marcj/topsort": "~1.1",
69 "phpoffice/phpword": "^0.18.0",
70 "pear/validate_finance_creditcard": "0.7.0",
71 "civicrm/civicrm-cxn-rpc": "~0.20.12.01 || ~0.19.01.10",
72 "pear/auth_sasl": "1.1.0",
73 "pear/net_smtp": "1.9.*",
74 "pear/net_socket": "1.0.*",
75 "pear/mail": "^1.4",
76 "guzzlehttp/guzzle": "^6.3",
77 "psr/simple-cache": "~1.0.1",
78 "cweagans/composer-patches": "~1.0",
79 "pear/log": "1.13.3",
80 "adrienrn/php-mimetyper": "0.2.2",
81 "civicrm/composer-downloads-plugin": "^3.0",
82 "league/csv": "^9.6",
83 "league/oauth2-client": "^2.4",
84 "league/oauth2-google": "^3.0",
85 "tplaner/when": "~3.0.0",
86 "xkerman/restricted-unserialize": "~1.1",
87 "typo3/phar-stream-wrapper": "^2 || ^3.0",
88 "brick/money": "~0.5",
89 "ext-intl": "*",
90 "pear/mail_mime": "~1.10",
91 "pear/db": "1.11",
92 "civicrm/composer-compile-lib": "~0.3 || ~1.0",
93 "ext-json": "*",
94 "ezyang/htmlpurifier": "^4.13",
95 "phpoffice/phpspreadsheet": "^1.18",
96 "symfony/polyfill-php73": "^1.23"
97 },
98 "scripts": {
99 "post-install-cmd": [
100 "bash tools/scripts/composer/dompdf-cleanup.sh",
101 "bash tools/scripts/composer/tcpdf-cleanup.sh",
102 "bash tools/scripts/composer/pear-exception-fix.sh",
103 "bash tools/scripts/composer/net-smtp-fix.sh",
104 "bash tools/scripts/composer/pear-mail-fix.sh",
105 "bash tools/scripts/composer/phpword-jquery.sh"
106 ],
107 "post-update-cmd": [
108 "bash tools/scripts/composer/dompdf-cleanup.sh",
109 "bash tools/scripts/composer/tcpdf-cleanup.sh",
110 "bash tools/scripts/composer/pear-exception-fix.sh",
111 "bash tools/scripts/composer/net-smtp-fix.sh",
112 "bash tools/scripts/composer/pear-mail-fix.sh",
113 "bash tools/scripts/composer/phpword-jquery.sh"
114 ]
115 },
116 "repositories": {
117 "tplaner-when-1ec099f421bff354cc5c929f83b94031423fc80": {
118 "type": "package",
119 "package": {
120 "version": "3.0.0+php53",
121 "dist": {"url": "https://github.com/tplaner/When/archive/c1ec099f421bff354cc5c929f83b94031423fc80.zip", "type": "zip"},
122 "name": "tplaner/when",
123 "type": "library",
124 "description": "Date/Calendar recursion library.",
125 "keywords": ["recurrence", "date", "time", "DateTime"],
126 "homepage": "https://github.com/tplaner/When",
127 "license": "MIT",
128 "authors": [{"name": "Tom Planer", "email": "tplaner@gmail.com"}],
129 "require": {"php": ">=5.3.0"},
130 "require-dev": {"phpunit/phpunit": "~4.0"},
131 "autoload": {"psr-4": {"When\\": "src/"}}
132 }
133 }
134 },
135 "extra": {
136 "downloads": {
137 "*": {
138 "path": "bower_components/{$id}"
139 },
140 "angular": {
141 "url": "https://github.com/angular/bower-angular/archive/v1.8.2.zip"
142 },
143 "angular-bootstrap": {
144 "url": "https://github.com/angular-ui/bootstrap-bower/archive/2.5.0.zip"
145 },
146 "angular-file-upload": {
147 "url": "https://github.com/nervgh/angular-file-upload/archive/2.6.1.zip",
148 "ignore": ["examples", "src"]
149 },
150 "angular-jquery-dialog-service": {
151 "url": "https://github.com/totten/angular-jquery-dialog-service/archive/v0.8.0-civicrm-1.0.zip"
152 },
153 "angular-mocks": {
154 "url": "https://github.com/angular/bower-angular-mocks/archive/v1.8.0.zip"
155 },
156 "angular-route": {
157 "url": "https://github.com/angular/bower-angular-route/archive/v1.8.0.zip"
158 },
159 "angular-sanitize": {
160 "url": "https://github.com/angular/bower-angular-sanitize/archive/v1.8.0.zip"
161 },
162 "angular-ui-sortable": {
163 "url": "https://github.com/angular-ui/ui-sortable/archive/v0.19.0.zip"
164 },
165 "angular-ui-utils": {
166 "url": "https://github.com/angular-ui/ui-utils/archive/v0.1.1.zip"
167 },
168 "angular-unsavedChanges": {
169 "url": "https://github.com/facultymatt/angular-unsavedChanges/archive/v0.1.1.zip",
170 "ignore": [".*", "node_modules", "bower_components", "test", "tests"]
171 },
172 "angular-xeditable": {
173 "url": "https://github.com/vitalets/angular-xeditable/archive/0.9.0.zip",
174 "ignore": [".*", "node_modules", "bower_components", "playground", "test", "libs", "docs", "zip", "src", "starter", "Gruntfile.js", "index.html", "jsdoc.conf.json", "package.json"]
175 },
176 "checklist-model": {
177 "url": "https://github.com/vitalets/checklist-model/archive/1.0.0.zip",
178 "ignore": [".*", "node_modules", "docs", "Gruntfile.js", "index.html", "package.json", "test"]
179 },
180 "ckeditor": {
181 "url": "https://github.com/ckeditor/ckeditor-releases/archive/4.18.0.zip"
182 },
183 "crossfilter-1.3.x": {
184 "url": "https://github.com/crossfilter/crossfilter/archive/1.3.14.zip",
185 "ignore": [".*", "node_modules", "bower_components", "src", "lib", "test", "component.json", "package.json", "index.js", "Makefile"]
186 },
187 "crossfilter2": {
188 "url": "https://github.com/crossfilter/crossfilter/archive/1.4.7.zip",
189 "ignore": [".*", "node_modules", "bower_components", "package.json", "index.js", "src", "component.json", "media", "test", "tests"]
190 },
191 "css-color-names": {
192 "url": "https://github.com/bahamas10/css-color-names/archive/v1.0.1.zip"
193 },
194 "d3": {
195 "url": "https://github.com/mbostock-bower/d3-bower/archive/v3.4.11.zip",
196 "ignore": [".DS_Store", ".git", ".gitignore", ".npmignore", ".travis.yml", "Makefile", "bin", "component.json", "index.js", "lib", "node_modules", "package.json", "src", "test"]
197 },
198 "d3-3.5.x": {
199 "url": "https://github.com/mbostock-bower/d3-bower/archive/v3.5.17.zip"
200 },
201 "datatables": {
202 "url": "https://github.com/DataTables/DataTables/archive/1.10.19.zip",
203 "ignore": ["/.*", "examples", "media/unit_testing", "composer.json", "dataTables.jquery.json", "package.json"]
204 },
205 "dc-2.1.x": {
206 "url": "https://github.com/NickQiZhu/dc.js/archive/2.1.10.zip",
207 "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"]
208 },
209 "es6-promise": {
210 "url": "https://github.com/components/es6-promise/archive/v4.2.4.zip"
211 },
212 "ext-greenwich-bootstrap3": {
213 "url": "https://github.com/twbs/bootstrap-sass/archive/v{$version}.zip",
214 "path": "ext/greenwich/extern/bootstrap3",
215 "version": "3.4.1",
216 "ignore": ["test", "tasks", "lib"]
217 },
218 "font-awesome": {
219 "url": "https://github.com/FortAwesome/Font-Awesome/archive/v4.7.0.zip",
220 "ignore": ["*/.*", "*.json", "src", "*.yml", "Gemfile", "Gemfile.lock", "*.md"]
221 },
222 "marked": {
223 "url": "https://github.com/markedjs/marked/archive/v0.8.0.zip",
224 "ignore": [".*", "*.json", "*.md", "Makefile", "*/*"]
225 },
226 "monaco-editor": {
227 "url": "https://registry.npmjs.org/monaco-editor/-/monaco-editor-0.25.2.tgz",
228 "path": "bower_components/monaco-editor",
229 "ignore": ["dev", "esm"]
230 },
231 "google-code-prettify": {
232 "url": "https://github.com/tcollard/google-code-prettify/archive/v1.0.5.zip",
233 "ignore": ["closure-compiler", "js-modules", "tests", "yui-compressor", "Makefile", "examples", "*.html", "run_prettify*js"]
234 },
235 "jquery": {
236 "url": "https://github.com/civicrm/jquery/archive/1.12.4-civicrm-1.2.zip"
237 },
238 "jquery-ui": {
239 "url": "https://github.com/civicrm/jqueryui/archive/1.13.1-civicrm.zip"
240 },
241 "jquery-validation": {
242 "url": "https://github.com/jquery-validation/jquery-validation/archive/1.19.3.zip",
243 "ignore": [".*", "node_modules", "bower_components", "test", "demo", "lib"]
244 },
245 "json-formatter": {
246 "url": "https://github.com/mohsen1/json-formatter/archive/v{$version}.zip",
247 "version": "0.7.0",
248 "ignore": ["demo", "test", "screenshot.png"]
249 },
250 "jstree": {
251 "url": "https://github.com/vakata/jstree/archive/3.3.8.zip",
252 "ignore": [".*", "docs", "demo", "libs", "node_modules", "test", "libs", "jstree.jquery.json", "gruntfile.js", "package.json", "bower.json", "component.json", "LICENCE-MIT", "README.md"]
253 },
254 "lodash-compat": {
255 "url": "https://github.com/lodash/lodash-compat/archive/3.0.1.zip",
256 "ignore": [".*", "*.log", "*.md", "component.json", "package.json", "node_modules"]
257 },
258 "phantomjs-polyfill": {
259 "url": "https://github.com/conversocial/phantomjs-polyfill/archive/v0.0.2.zip"
260 },
261 "select2": {
262 "url": "https://github.com/colemanw/select2/archive/v3.5-civicrm-1.0.zip"
263 },
264 "js-yaml": {
265 "url": "https://github.com/nodeca/js-yaml/archive/3.13.1.zip",
266 "ignore": ["benchmark", "bin", "demo", "examples", "lib", "support", "test"]
267 },
268 "smartmenus": {
269 "url": "https://github.com/vadikom/smartmenus/archive/1.1.0.zip",
270 "ignore": [".gitignore", "Gruntfile.js"]
271 },
272 "sms-counter": {
273 "url": "https://github.com/danxexe/sms-counter/archive/master.zip",
274 "ignore": ["examples"]
275 }
276 },
277 "patches": {
278 "adrienrn/php-mimetyper": {
279 "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"
280 },
281 "electrolinux/phpquery": {
282 "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"
283 },
284 "pear/db": {
285 "Apply CiviCRM Customisations for the pear:db package": "https://raw.githubusercontent.com/civicrm/civicrm-core/2ad420c394/tools/scripts/composer/pear_db_civicrm_changes.patch"
286 },
287 "pear/mail": {
288 "Apply CiviCRM Customisations for CRM-1367 and CRM-5946": "https://raw.githubusercontent.com/civicrm/civicrm-core/36319938a5bf26c1e7e2110a26a65db6a5979268/tools/scripts/composer/patches/pear-mail.patch"
289 },
290 "pear/mail_mime": {
291 "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"
292 },
293 "pear/net_smtp": {
294 "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"
295 },
296 "zetacomponents/mail": {
297 "CiviCRM Custom Patches for ZetaCompoents mail": "https://raw.githubusercontent.com/civicrm/civicrm-core/9d93748a36c7c5d44422911db1c98fb2f7067b34/tools/scripts/composer/patches/civicrm-custom-patches-zetacompoents-mail.patch",
298 "Allow single quotes to be used in return path": "https://github.com/zetacomponents/Mail/pull/86.patch"
299 }
300 },
301 "compile-includes": ["ext/greenwich/composer.compile.json"],
302 "compile-whitelist": ["civicrm/composer-compile-lib"]
303 }
304 }