raspap-webgui-mirror/composer.json
Sam Reed 01052bf8af Revamp testing
Add a composer.json file

Bring in squizlabs/php_codesniffer and phpcompatibility/php-compatibility via composer

Do php linting via jakub-onderka/php-parallel-lint
2020-04-25 01:31:34 +01:00

19 lines
585 B
JSON

{
"name": "billz/raspap-webgui",
"homepage": "https://raspap.com/",
"license": "GPL-3.0",
"keywords": ["raspberrypi"],
"require-dev": {
"jakub-onderka/php-parallel-lint": "1.0.0",
"phpcompatibility/php-compatibility": "^9.3.5",
"squizlabs/php_codesniffer": "^3.5.5"
},
"scripts": {
"lint": "parallel-lint . --exclude vendor",
"phpcs": "phpcs -p -s --config-set installed_paths vendor/phpcompatibility/php-compatibility .",
"test": [
"composer lint",
"composer phpcs"
]
}
}