forked from westonruter/syntax-highlighting-code-block
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
47 lines (47 loc) · 1.56 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
{
"name": "westonruter/syntax-highlighting-code-block",
"description": "A WordPress plugin which extends Gutenberg adding server-rendered color syntax highlighting to the code block.",
"license": "GPL-2.0-or-later",
"type": "wordpress-plugin",
"require": {
"scrivo/highlight.php": "v9.18.1.10"
},
"require-dev": {
"civicrm/composer-downloads-plugin": "3.0.1",
"dealerdirect/phpcodesniffer-composer-installer": "1.0.0",
"phpcompatibility/php-compatibility": "9.3.5",
"szepeviktor/phpstan-wordpress": "1.3.0",
"wp-coding-standards/wpcs": "2.3.0"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"civicrm/composer-downloads-plugin": true
},
"platform": {
"php": "7.4"
},
"sort-packages": true
},
"extra": {
"downloads": {
"composer-normalize": {
"path": "vendor/bin/composer-normalize",
"type": "phar",
"url": "https://github.com/ergebnis/composer-normalize/releases/latest/download/composer-normalize.phar"
},
"phpstan": {
"path": "vendor/bin/phpstan",
"type": "phar",
"url": "https://github.com/phpstan/phpstan/releases/latest/download/phpstan.phar"
}
}
},
"scripts": {
"analyze": "if [ -z $TEST_SKIP_PHPSTAN ]; then phpstan --version; phpstan analyze --ansi; fi",
"normalize": "composer-normalize",
"phpcbf": "bin/phpcbf.sh",
"phpcs": "phpcs",
"zip": "git archive --format=zip HEAD > syntax-highlighting-code-block.zip && unzip -l syntax-highlighting-code-block.zip"
}
}