-
Notifications
You must be signed in to change notification settings - Fork 33
/
composer.json
72 lines (72 loc) · 1.78 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"name": "darylldoyle/safe-svg",
"description": "Enable SVG uploads and sanitize them to stop XML/SVG vulnerabilities in your WordPress website",
"type": "wordpress-plugin",
"homepage": "https://github.com/10up/safe-svg",
"readme": "https://github.com/10up/safe-svg/blob/develop/README.md",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "10up",
"email": "[email protected]",
"homepage": "https://10up.com/",
"role": "Developer"
},
{
"name": "Daryll Doyle",
"email": "[email protected]",
"homepage": "http://enshrined.co.uk/",
"role": "Developer"
}
],
"require": {
"php": ">=7.4",
"enshrined/svg-sanitize": "^0.19.0"
},
"require-dev": {
"10up/phpcs-composer": "dev-master",
"10up/wp_mock": "^0.4.2",
"yoast/phpunit-polyfills": "^1.0"
},
"scripts": {
"phpcs": "./vendor/bin/phpcs . -p -s",
"phpcbf": "./vendor/bin/phpcbf .",
"phpcs:compat": "./vendor/bin/phpcs *.php includes -p --standard=PHPCompatibilityWP --extensions=php --runtime-set testVersion 7.4-",
"test:unit": "./vendor/bin/phpunit",
"pre-archive-cmd": [
"composer install --no-dev --no-interaction --no-progress --optimize-autoloader"
],
"post-archive-cmd": [
"composer install --no-interaction --no-progress"
]
},
"archive": {
"exclude": [
"/.distignore",
"/.github",
"/.gitignore",
"/.wordpress-org",
"/.wp-env.json",
"/.wp-env.override.json",
"/CHANGELOG.md",
"/CODE_OF_CONDUCT.md",
"/composer.json",
"/composer.lock",
"/CONTRIBUTING.md",
"/CREDITS.md",
"/package-lock.json",
"/package.json",
"/phpcs.xml",
"/phpunit.xml.dist",
"/README.md",
"/webpack.config.js",
"/node_modules",
"/tests"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}