diff --git a/composer.json b/composer.json index 89e2da2..cab14f5 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "assets-package/undraw", "description": "Undraw collection of SVG", - "type": "library", + "type": "asset", "license": "MIT", "authors": [ { @@ -10,5 +10,17 @@ } ], "require": {}, - "autoload": {} + "autoload": {}, + "extra" : { + "lean" : { + "autoload": { + "definitions" : [ + "meta/definitions.php" + ], + "config": [ + "meta/config.php" + ] + } + } + } } diff --git a/meta/config.php b/meta/config.php new file mode 100644 index 0000000..87f2517 --- /dev/null +++ b/meta/config.php @@ -0,0 +1,9 @@ + [ + 'autoload' => [ + 'assets.undraw' + ] + ], +]; diff --git a/meta/definitions.php b/meta/definitions.php new file mode 100644 index 0000000..aadc906 --- /dev/null +++ b/meta/definitions.php @@ -0,0 +1,18 @@ + [ + 'picea' => [ + 'asset' => [ + 'source' => [ + [ + 'path' => implode(DIRECTORY_SEPARATOR, [ $path, "asset", '' ]), + 'order' => 10 + ] + ], + ] + ], + ], +];