fix: add grumphp && fix eslint
{ | ||
"name": "drupal-composer/drupal-project", | ||
"description": "Project template for Drupal 9 projects with composer", | ||
"type": "project", | ||
"license": "GPL-2.0+", | ||
"description": "Project template for Drupal 9 projects with composer", | ||
"license": "GPL-2.0-or-later", | ||
"authors": [ | ||
{ | ||
"name": "Ines WALLON", | ||
... | ... | @@ -29,23 +29,22 @@ |
"drupal/token": "1.9.0", | ||
"drush/drush": "10.4.0", | ||
"kint-php/kint": "3.3", | ||
"webmozart/path-util": "^2.3", | ||
"wikimedia/composer-merge-plugin": "dev-feature/composer-v2" | ||
}, | ||
"conflict": { | ||
"drupal/drupal": "*" | ||
}, | ||
"require-dev": { | ||
"drupal/core-dev": "9.1.4", | ||
"drupal/devel": "4.1.1", | ||
"ergebnis/composer-normalize": "^2.13", | ||
"mavimo/phpstan-junit": "^0.3.0", | ||
"mglaman/phpstan-drupal": "^0.12.8", | ||
"phpro/grumphp": "^1.3", | ||
"phpspec/prophecy-phpunit": "^2.0", | ||
"roave/security-advisories": "dev-master" | ||
}, | ||
"conflict": { | ||
"drupal/drupal": "*" | ||
}, | ||
"minimum-stability": "dev", | ||
"prefer-stable": true, | ||
"config": { | ||
"discard-changes": true, | ||
"optimize-autoloader": true, | ||
... | ... | @@ -57,42 +56,44 @@ |
}, | ||
"sort-packages": true | ||
}, | ||
"scripts": { | ||
"drupal-l10n": "DrupalComposer\\DrupalL10n\\Plugin::download", | ||
"drupal-scaffold": "DrupalComposer\\DrupalScaffold\\Plugin::scaffold", | ||
"post-install-cmd": [ | ||
"@drupal-scaffold" | ||
], | ||
"post-update-cmd": [ | ||
"@drupal-scaffold" | ||
] | ||
}, | ||
"extra": { | ||
"installer-paths": { | ||
"web/core": ["type:drupal-core"], | ||
"web/libraries/{$name}": ["type:drupal-library"], | ||
"web/modules/contrib/{$name}": ["type:drupal-module"], | ||
"web/profiles/contrib/{$name}": ["type:drupal-profile"], | ||
"web/themes/contrib/{$name}": ["type:drupal-theme"], | ||
"drush/contrib/{$name}": ["type:drupal-drush"] | ||
}, | ||
"drupal-scaffold": { | ||
"locations": { | ||
"web-root": "web/" | ||
}, | ||
"file-mapping": { | ||
"example.gitignore": false, | ||
"README.txt": false, | ||
"[web-root]/example.gitignore": false, | ||
"[web-root]/update.php": false, | ||
"[web-root]/web.config": false, | ||
"[web-root]/README.txt": false, | ||
"[web-root]/.eslintrc.json": false, | ||
"[web-root]/sites/development.services.yml": false, | ||
"[web-root]/sites/example.settings.local.php": false, | ||
"[web-root]/sites/default/development.settings.php": false | ||
"README.txt": false, | ||
"[web-root]/.eslintrc.json": false, | ||
"[web-root]/README.txt": false, | ||
"[web-root]/example.gitignore": false, | ||
"[web-root]/sites/default/development.settings.php": false, | ||
"[web-root]/sites/development.services.yml": false, | ||
"[web-root]/sites/example.settings.local.php": false, | ||
"[web-root]/update.php": false, | ||
"[web-root]/web.config": false, | ||
"example.gitignore": false | ||
}, | ||
"locations": { | ||
"web-root": "web/" | ||
} | ||
}, | ||
"installer-paths": { | ||
"drush/contrib/{$name}": [ | ||
"type:drupal-drush" | ||
], | ||
"web/core": [ | ||
"type:drupal-core" | ||
], | ||
"web/libraries/{$name}": [ | ||
"type:drupal-library" | ||
], | ||
"web/modules/contrib/{$name}": [ | ||
"type:drupal-module" | ||
], | ||
"web/profiles/contrib/{$name}": [ | ||
"type:drupal-profile" | ||
], | ||
"web/themes/contrib/{$name}": [ | ||
"type:drupal-theme" | ||
] | ||
}, | ||
"merge-plugin": { | ||
"include": [ | ||
"composer.merge.json", | ||
... | ... | @@ -114,5 +115,17 @@ |
"type": "vcs", | ||
"url": "https://github.com/mcaskill/composer-merge-plugin" | ||
} | ||
}, | ||
"minimum-stability": "dev", | ||
"prefer-stable": true, | ||
"scripts": { | ||
"post-install-cmd": [ | ||
"@drupal-scaffold" | ||
], | ||
"post-update-cmd": [ | ||
"@drupal-scaffold" | ||
], | ||
"drupal-l10n": "DrupalComposer\\DrupalL10n\\Plugin::download", | ||
"drupal-scaffold": "DrupalComposer\\DrupalScaffold\\Plugin::scaffold" | ||
} | ||
} |
This diff is collapsed.
Please register or sign in to comment