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