{"id":20974521,"url":"https://github.com/koala-framework/composer-extra-assets","last_synced_at":"2025-03-17T15:12:43.021Z","repository":{"id":19266659,"uuid":"22502864","full_name":"koala-framework/composer-extra-assets","owner":"koala-framework","description":"Composer Plugin for installing Assets using native npm/bower","archived":false,"fork":false,"pushed_at":"2024-06-11T09:01:37.000Z","size":79,"stargazers_count":42,"open_issues_count":5,"forks_count":11,"subscribers_count":19,"default_branch":"2.0","last_synced_at":"2025-03-02T13:08:32.455Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"codefellows-seattle-301d18/12-REST-and-APIs","license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/koala-framework.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-08-01T09:14:11.000Z","updated_at":"2024-06-11T08:24:38.000Z","dependencies_parsed_at":"2024-06-14T16:03:55.670Z","dependency_job_id":null,"html_url":"https://github.com/koala-framework/composer-extra-assets","commit_stats":{"total_commits":71,"total_committers":9,"mean_commits":7.888888888888889,"dds":"0.45070422535211263","last_synced_commit":"d45080e30c91e4852fdfbee144fd8e15340968c5"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koala-framework%2Fcomposer-extra-assets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koala-framework%2Fcomposer-extra-assets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koala-framework%2Fcomposer-extra-assets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koala-framework%2Fcomposer-extra-assets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/koala-framework","download_url":"https://codeload.github.com/koala-framework/composer-extra-assets/tar.gz/refs/heads/2.0","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244056425,"owners_count":20390719,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T04:30:03.028Z","updated_at":"2025-03-17T15:12:42.993Z","avatar_url":"https://github.com/koala-framework.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n## Composer Plugin for installing Assets using native npm/bower\n\nThis Composer plugin installs assets using native npm/bower. Not only the root package can\nhave dependencies.\n\nNpm packages will be installed in package folder, bower will be installed in root - with\nall dependencies merged.\n\n[Introduction](http://www.nikosams.net/blog/17_composer_npm_bower_assets_installation_using_composer-extra-assets)\n\n### Example usage\n\ncomposer.json\n\n    \"require\": {\n        \"koala-framework/composer-extra-assets\": \"~1.1\"\n    },\n    \"extra\": {\n        \"require-npm\": {\n            \"grunt\": \"0.4.*\"\n        },\n        \"require-bower\": {\n            \"jquery\": \"*\"\n        },\n        \"require-dev-bower\": {\n            \"qunit\": \"*\"\n        },\n        \"require-dev-npm\": {\n        }\n    }\n\n### Bower dependencies\n\nBower dependencies will be installed in the `vendor/bower_components` directory.\n\n### NPM dependencies\n\nNPM dependencies will be installed in the `node_modules` directory of the package that requires the dependency.\nSome NPM packages provide binary files (for instance `gulp` and `grunt`).\n\nNPM binaries will be exposed in the `vendor/bin` directory if the NPM dependency is declared in the **root Composer \npackage**.\n\nIf you are writing a package and want a NPM package to be available in the `node_modules` directory of Composer's root\n (instead of the `node_modules` directory of your package), you can add the `expose-npm-packages`\nattribute to the composer `extra` session of your package:\n \n     \"require\": {\n         \"koala-framework/composer-extra-assets\": \"~1.1\"\n     },\n     \"extra\": {\n         \"require-npm\": {\n             \"gulp\": \"*\"\n         },\n         \"expose-npm-packages\": true\n     }\n\n\n### Generated files\n\nThis plugin will automatically generate 3 files: `.bowerrc`, `bower.json`, `package.json`/\n\nUnless you have special requirements, you can ignore those 3 files in your VCS. If you are using GIT, \nadd this to your `.gitignore`:\n\n.gitignore\n\n    vendor/\n    .bowerrc\n    bower.json\n    package.json\n\n### Lock\n\nThis plugin will generate a file named `composer-extra-assets.lock` which can be used just like `composer.lock`. Put it\nunder version control if you want to be able to install the exact same dependencies.\n\n### Warning\n\nThis plugins removes (and re-installs) the complete node_modules folder. Any changes will be lost.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoala-framework%2Fcomposer-extra-assets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoala-framework%2Fcomposer-extra-assets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoala-framework%2Fcomposer-extra-assets/lists"}