54 lines
1.6 KiB
JSON
54 lines
1.6 KiB
JSON
{
|
|
"name": "bitapps/wp-validator",
|
|
"description": "WordPress Validation and Sanitization Library",
|
|
"type": "library",
|
|
"homepage": "https://bitapps.pro",
|
|
"license": "MIT",
|
|
"keywords": ["validation","form-validation", "input-validation","input-sanitization", "PHP-validation"],
|
|
"support": {
|
|
"issues": "https://github.com/Bit-Apps-Pro/wp-validator/issues",
|
|
"source": "https://github.com/Bit-Apps-Pro/wp-validator"
|
|
},
|
|
"authors": [
|
|
{
|
|
"email": "developer@bitcode.pro",
|
|
"name": "BitApps"
|
|
}
|
|
],
|
|
"autoload": {
|
|
"psr-4": {
|
|
"BitApps\\WPValidator\\": "src/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"BitApps\\WPValidator\\Tests\\": ["tests"]
|
|
}
|
|
},
|
|
"scripts":{
|
|
"test:unit":"./vendor/bin/pest --testdox --colors=always tests/ --exclude-group db",
|
|
"compat": "./vendor/bin/phpcs -p ./src --standard=PHPCompatibility --runtime-set testVersion 5.6",
|
|
"post-install-cmd": "\"vendor/bin/phpcs\" --config-set installed_paths vendor/phpcompatibility/php-compatibility",
|
|
"post-update-cmd" : "\"vendor/bin/phpcs\" --config-set installed_paths vendor/phpcompatibility/php-compatibility"
|
|
},
|
|
"require": {
|
|
"php": ">=5.6"
|
|
},
|
|
"require-dev": {
|
|
"pestphp/pest": "^2.18",
|
|
"squizlabs/php_codesniffer":"*",
|
|
"phpcompatibility/php-compatibility": "*"
|
|
},
|
|
"minimum-stability": "stable",
|
|
"config": {
|
|
"allow-plugins": {
|
|
"pestphp/pest-plugin": false
|
|
}
|
|
},
|
|
"extra": {
|
|
"branch-alias": {
|
|
"dev-main": "1.x-dev"
|
|
}
|
|
}
|
|
}
|