json 样本裸骨,composer.json用于acsf迁移
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了json 样本裸骨,composer.json用于acsf迁移相关的知识,希望对你有一定的参考价值。
{
"license": "proprietary",
"type": "project",
"config": {
"sort-packages": true
},
"repositories": {
"drupal": {
"type": "composer",
"url": "https://packages.drupal.org/8"
}
},
"require": {
"drupal/core": "8.3.5",
"drupal/acsf": "^1.33.0",
"drupal/samlauth": "^2.0.0",
"cweagans/composer-patches": "^1.6.2",
"oomphinc/composer-installers-extender": "^1.1"
},
"require-dev": {
"drupal-composer/drupal-scaffold": "^2.1.0"
},
},
"extra": {
"enable-patching": true,
"installer-types": ["bower-asset", "npm-asset"],
"installer-paths": {
"docroot/core": ["type:drupal-core"],
"docroot/modules/contrib/{$name}": ["type:drupal-module"],
"docroot/modules/custom/{$name}": ["type:drupal-custom-module"],
"docroot/profiles/contrib/{$name}": ["type:drupal-profile"],
"docroot/profiles/custom/{$name}": ["type:drupal-custom-profile"],
"docroot/themes/contrib/{$name}": ["type:drupal-theme"],
"docroot/themes/custom/{$name}": ["type:drupal-custom-theme"],
"docroot/libraries/{$name}": ["type:drupal-library", "type:bower-asset", "type:npm-asset"],
"drush/contrib/{$name}": ["type:drupal-drush"]
},
"merge-plugin": {
"merge-extra": true,
"merge-extra-deep": true,
"merge-scripts": true,
"replace": false,
"ignore-duplicates": true
}
},
"scripts": {
"drupal-scaffold": "DrupalComposer\\DrupalScaffold\\Plugin::scaffold"
}
"minimum-stability": "dev",
"prefer-stable": true
}
以上是关于json 样本裸骨,composer.json用于acsf迁移的主要内容,如果未能解决你的问题,请参考以下文章
json Composer Json示例#php #composer
composer.json和composer.lock
composer.json 不包含有效的 json
为啥更新包时“composer.json”没有更新?
为 Laravel 安装 composer 时缺少 composer.json 文件
我该如何解决这个 composer.json 错误