-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcomposer.json
39 lines (39 loc) · 1.24 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
{
"name": "benbodhi/svg-support",
"description": "Upload SVG files to the Media Library and render SVG files inline for direct styling/animation of an SVG's internal elements using CSS/JS.",
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"repositories": [
{
"type": "package",
"package": {
"name": "cure53/dompurify",
"version": "2.5.8",
"dist": {
"url": "https://github.com/cure53/DOMPurify/archive/refs/tags/2.5.8.zip",
"type": "zip"
}
}
}
],
"require": {
"php": ">=7.4",
"enshrined/svg-sanitize": "^0.21.0",
"cure53/dompurify": "2.5.8"
},
"scripts": {
"post-install-cmd": [
"mkdir -p vendor/DOMPurify",
"cp vendor/cure53/dompurify/dist/purify.min.js vendor/DOMPurify/DOMPurify.min.js"
],
"post-update-cmd": [
"mkdir -p vendor/DOMPurify",
"cp vendor/cure53/dompurify/dist/purify.min.js vendor/DOMPurify/DOMPurify.min.js"
]
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true
}
}