Created tasks for building and testing using Robo build environment, installed via Composer. This is supposed to replace Gulp as default build tool and makes NPM obsolete.
57 lines
1.2 KiB
JSON
57 lines
1.2 KiB
JSON
{
|
|
"name": "stklcode/statify-blacklist",
|
|
"version": "1.4.2",
|
|
"description": "A blacklist extension for the famous Statify WordPress plugin",
|
|
"keywords": [
|
|
"wordpress",
|
|
"plugin",
|
|
"statistics",
|
|
"blacklist"
|
|
],
|
|
"license": "GPL-2.0+",
|
|
"authors": [
|
|
{
|
|
"name": "Stefan Kalscheuer",
|
|
"email": "stefan@stklcode.de",
|
|
"homepage": "https://www.stklcode.de"
|
|
}
|
|
],
|
|
"type": "wordpress-plugin",
|
|
"require": {
|
|
"php": ">=5.5",
|
|
"composer/installers": "~1.0"
|
|
},
|
|
"require-dev": {
|
|
"dealerdirect/phpcodesniffer-composer-installer": "^0.4",
|
|
"php": ">=5.5",
|
|
"consolidation/robo": "^1.0.0",
|
|
"phpunit/phpunit": "*",
|
|
"phpunit/php-code-coverage": "*",
|
|
"slowprog/composer-copy-file": "~0.2",
|
|
"squizlabs/php_codesniffer": "^3.1",
|
|
"wimg/php-compatibility": "^8.0",
|
|
"wp-coding-standards/wpcs": "~0.14"
|
|
},
|
|
"scripts": {
|
|
"build": [
|
|
"robo build"
|
|
],
|
|
"package": [
|
|
"robo package"
|
|
],
|
|
"test-all": [
|
|
"@test",
|
|
"@test-cs"
|
|
],
|
|
"test": [
|
|
"phpunit"
|
|
],
|
|
"test-cs": [
|
|
"phpcs --standard=phpcs.xml -s"
|
|
],
|
|
"fix-cs": [
|
|
"phpcbf --standard=phpcs.xml"
|
|
]
|
|
}
|
|
}
|