|
38 | 38 | "cweagans/composer-patches": "1.6.*"
|
39 | 39 | }
|
40 | 40 | }
|
41 |
| - }, |
42 |
| - "swagger_ui": { |
43 |
| - "type": "package", |
44 |
| - "package": { |
45 |
| - "name": "mxr576/swagger-ui", |
46 |
| - "description": "Swagger UI composer package does not contains some required information to be installed by composer/installer.", |
47 |
| - "version": "3.17.3", |
48 |
| - "type": "drupal-library", |
49 |
| - "extra": { |
50 |
| - "installer-name": "swagger_ui" |
51 |
| - }, |
52 |
| - "dist": { |
53 |
| - "url": "https://github.com/swagger-api/swagger-ui/archive/v3.17.3.zip", |
54 |
| - "type": "zip" |
55 |
| - }, |
56 |
| - "require": { |
57 |
| - "composer/installers": "~1.0" |
58 |
| - }, |
59 |
| - "replace": { |
60 |
| - "swagger-api/swagger-ui": "3.17.*" |
61 |
| - } |
62 |
| - } |
63 | 41 | }
|
64 | 42 | },
|
65 | 43 | "require": {
|
| 44 | + "bower-asset/swagger-ui": "^3.17", |
66 | 45 | "composer/installers": "^1.5",
|
67 | 46 | "cweagans/composer-patches": "^1.6.5",
|
68 | 47 | "drupal-composer/drupal-scaffold": "^2.5",
|
|
111 | 90 | ]
|
112 | 91 | },
|
113 | 92 | "extra": {
|
| 93 | + "installer-types": ["bower-asset"], |
114 | 94 | "installer-paths": {
|
115 | 95 | "web/core": ["type:drupal-core"],
|
116 | 96 | "web/libraries/{$name}": ["type:drupal-library"],
|
117 | 97 | "web/modules/contrib/{$name}": ["type:drupal-module"],
|
118 | 98 | "web/profiles/contrib/{$name}": ["type:drupal-profile"],
|
119 | 99 | "web/themes/contrib/{$name}": ["type:drupal-theme"],
|
120 |
| - "drush/Commands/{$name}": ["type:drupal-drush"] |
| 100 | + "drush/Commands/{$name}": ["type:drupal-drush"], |
| 101 | + "web/libraries/swagger_ui": ["bower-asset/swagger-ui"] |
121 | 102 | },
|
122 | 103 | "drupal-scaffold": {
|
123 | 104 | "initial": {
|
|
0 commit comments