mirror of
https://github.com/danog/template.git
synced 2024-11-30 04:29:06 +01:00
46 lines
1.1 KiB
JSON
46 lines
1.1 KiB
JSON
{
|
|
"name": "amphp/template",
|
|
"license": "MIT",
|
|
"description": "Template for AMPHP libraries",
|
|
"authors": [{
|
|
"name": "...",
|
|
"email": "..."
|
|
}],
|
|
"support": {
|
|
"issues": "https://github.com/amphp/template/issues"
|
|
},
|
|
"require": {
|
|
"php": ">=7.0",
|
|
"amphp/amp": "^2"
|
|
},
|
|
"require-dev": {
|
|
"amphp/phpunit-util": "^1",
|
|
"phpunit/phpunit": "^6",
|
|
"amphp/php-cs-fixer-config": "dev-master"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Amp\\Template\\": "lib/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Amp\\Template\\Test\\": "test"
|
|
}
|
|
},
|
|
"config": {
|
|
"platform": {
|
|
"php": "7.0.0"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"check": [
|
|
"@cs",
|
|
"@test"
|
|
],
|
|
"cs": "PHP_CS_FIXER_IGNORE_ENV=1 php-cs-fixer fix -v --diff --dry-run",
|
|
"cs-fix": "PHP_CS_FIXER_IGNORE_ENV=1 php-cs-fixer fix -v --diff",
|
|
"test": "@php -dzend.assertions=1 -dassert.exception=1 ./vendor/bin/phpunit --coverage-text"
|
|
}
|
|
}
|