Turn directly into plugin

This commit is contained in:
Daniil Gentili 2020-11-02 11:53:29 +01:00
parent 28a7b11dd4
commit 0b572094f7
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -1,10 +1,10 @@
{ {
"name": "phabel/phabel", "name": "phabel/phabel",
"description": "Write and deploy modern PHP 8 code, today.", "description": "Write and deploy modern PHP 8 code, today.",
"type": "project", "type": "composer-plugin",
"require": { "require": {
"nikic/php-parser": "^4.7", "nikic/php-parser": "^4.7",
"phabel/phabel-plugin": "*" "composer-plugin-api": "^1|^2"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "^7 | ^8 | ^9", "phpunit/phpunit": "^7 | ^8 | ^9",
@ -23,6 +23,9 @@
"Phabel\\": "src" "Phabel\\": "src"
} }
}, },
"extra": {
"class": "Phabel\\Composer\\Plugin"
},
"scripts": { "scripts": {
"check": [ "check": [
"@cs", "@cs",