52 lines
1.4 KiB
JSON
52 lines
1.4 KiB
JSON
{
|
|
"name": "drupal-composer/drupal-scaffold",
|
|
"description": "Composer Plugin for updating the Drupal scaffold files when using drupal/core",
|
|
"type": "composer-plugin",
|
|
"license": "GPL-2.0-or-later",
|
|
"require": {
|
|
"php": ">=5.4.5",
|
|
"composer-plugin-api": "^1.0.0",
|
|
"composer/semver": "^1.4"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"DrupalComposer\\DrupalScaffold\\": "src/"
|
|
}
|
|
},
|
|
"extra": {
|
|
"class": "DrupalComposer\\DrupalScaffold\\Plugin",
|
|
"branch-alias": {
|
|
"dev-master": "2.0.x-dev"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"cs": "phpcs --standard=PSR2 -n src",
|
|
"cbf": "phpcbf --standard=PSR2 -n src",
|
|
"unit": "phpunit --colors=always",
|
|
"lint": [
|
|
"find src -name '*.php' -print0 | xargs -0 -n1 php -l"
|
|
],
|
|
"test": [
|
|
"@lint",
|
|
"@unit"
|
|
],
|
|
"scenario": ".scenarios.lock/install",
|
|
"post-update-cmd": [
|
|
"create-scenario phpunit4 'phpunit/phpunit:^4.8.36' --platform-php '5.5.27'"
|
|
]
|
|
},
|
|
"config": {
|
|
"optimize-autoloader": true,
|
|
"sort-packages": true,
|
|
"platform": {
|
|
"php": "7.0.8"
|
|
}
|
|
},
|
|
"require-dev": {
|
|
"composer/composer": "dev-master",
|
|
"g1a/composer-test-scenarios": "^2.1.0",
|
|
"phpunit/phpunit": "^6",
|
|
"squizlabs/php_codesniffer": "^2.8"
|
|
}
|
|
}
|