forked from CakeWP/block-options
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
20 lines (20 loc) · 836 Bytes
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"name": "phpbits/block-options",
"type": "wordpress-plugin",
"require-dev": {
"squizlabs/php_codesniffer": "^3.5",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"wp-coding-standards/wpcs": "^2.1",
"wp-phpunit/wp-phpunit": "^5.4",
"phpunit/phpunit": "^8.5"
},
"scripts": {
"post-install-cmd": "chmod +x ./.dev/scripts/set-installed-paths.sh && ./.dev/scripts/set-installed-paths.sh",
"post-update-cmd": "chmod +x ./.dev/scripts/set-installed-paths.sh && ./.dev/scripts/set-installed-paths.sh",
"test": [
"./vendor/bin/phpcs --report=full --colors -p --standard=phpcs.xml --ignore=*/vendor/*,*/node_modules/*,*/build/* * --extensions=php"
],
"lint": "@php ./vendor/bin/phpcs --ignore=*/*.js -s --standard=./ruleset.xml .",
"format": "@php ./vendor/bin/phpcbf --ignore=*/*.js --standard=WordPress ."
}
}