-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
30 lines (30 loc) · 1010 Bytes
/
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
{
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.7",
"squizlabs/php_codesniffer": "^3.5",
"phpcompatibility/php-compatibility": "^9.3",
"wp-coding-standards/wpcs": "^2.2",
"sirbrillig/phpcs-variable-analysis": "^2.8",
"wp-phpunit/wp-phpunit": "^5.4",
"phpunit/phpunit": "^8.5",
"spatie/phpunit-watcher": "^1.23",
"wp-cli/wp-cli-bundle": "^2.5"
},
"require": {
"composer/installers": "~1.0"
},
"scripts": {
"make-pot": "wp i18n make-pot ./ languages/quillforms-btcpayserver.pot",
"compile-po": "find ./languages -type f -name \"*.po\" -exec bash -c 'wp i18n make-mo \"$1\" && wp i18n make-json \"$1\" --no-purge' - {} \\;",
"format": "phpcbf --standard=phpcs.xml.dist --report-summary --report-source",
"lint": "phpcs --standard=phpcs.xml.dist",
"test": "phpunit",
"test:watch": "phpunit-watcher watch < /dev/tty"
},
"config": {
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}