{"id":24558149,"url":"https://github.com/rse/grunt-bower-install-simple","last_synced_at":"2025-10-04T18:25:54.015Z","repository":{"id":12135453,"uuid":"14727825","full_name":"rse/grunt-bower-install-simple","owner":"rse","description":"Grunt Task for Installing Bower Dependencies","archived":false,"fork":false,"pushed_at":"2019-06-16T08:14:05.000Z","size":44,"stargazers_count":26,"open_issues_count":0,"forks_count":11,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-15T21:55:47.136Z","etag":null,"topics":["bower","grunt"],"latest_commit_sha":null,"homepage":"https://npmjs.org/package/grunt-bower-install-simple","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rse.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-11-26T20:09:35.000Z","updated_at":"2019-12-03T16:19:56.000Z","dependencies_parsed_at":"2022-09-26T18:20:31.671Z","dependency_job_id":null,"html_url":"https://github.com/rse/grunt-bower-install-simple","commit_stats":null,"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rse%2Fgrunt-bower-install-simple","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rse%2Fgrunt-bower-install-simple/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rse%2Fgrunt-bower-install-simple/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rse%2Fgrunt-bower-install-simple/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rse","download_url":"https://codeload.github.com/rse/grunt-bower-install-simple/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249670063,"owners_count":21308670,"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":["bower","grunt"],"created_at":"2025-01-23T05:47:31.056Z","updated_at":"2025-10-04T18:25:48.948Z","avatar_url":"https://github.com/rse.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# grunt-bower-install-simple\n\nGrunt Task for Installing Bower Dependencies\n\n\u003e ATTENTION: Bower is deprecated and obsolete! Use this Grunt task only for legacy purposes, please!\n\n\u003cp/\u003e\n\u003cimg src=\"https://nodei.co/npm/grunt-bower-install-simple.png?downloads=true\u0026stars=true\" alt=\"\"/\u003e\n\n\u003cp/\u003e\n\u003cimg src=\"https://david-dm.org/rse/grunt-bower-install-simple.png\" alt=\"\"/\u003e\n\n## Getting Started\n\nThis plugin requires Grunt `~0.4.0`\n\nIf you haven't used [Grunt](http://gruntjs.com/)\nbefore, be sure to check out the [Getting\nStarted](http://gruntjs.com/getting-started) guide, as it explains how\nto create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as\ninstall and use Grunt plugins. Once you're familiar with that process,\nyou may install this plugin with this command:\n\n```shell\nnpm install grunt-bower-install-simple --save-dev\n```\n\nOnce the plugin has been installed, it may be enabled inside your\nGruntfile with this line of JavaScript:\n\n```js\ngrunt.loadNpmTasks(\"grunt-bower-install-simple\");\n```\n\n## Task Options\n\n- `color` (default `true`): Whether output is colorized.\n  The equivalent of `bower --config.color=\u003cvalue\u003e`.\n\n- `cwd` (default `process.cwd()`): The directory from which Bower should run.\n  All relative paths in Bower will be calculated according to this.\n  The equivalent of ``bower --config.cwd=`pwd` ``.\n\n- `forceLatest` (default `false`): Force latest dependency version on conflict.\n  The equivalent of `bower install --force-latest`.\n\n- `production` (default `false`): Do not install project `devDependencies`.\n  The equivalent of `bower install --production`.\n\n- `interactive` (default `true`): Makes Bower interactive, prompting whenever necessary.\n  The equivalent of `bower --config.interactive=true`.\n\n- `directory` (default `undefined`): The path in which installed components should be saved.\n  This defaults to `bower_components`.\n  The equivalent of `bower --config.directory=\u003cdir\u003e`.\n\n- `command` (default `install`): Provide the bower command it should run.\n  Setting this to `update` will run `bower update` instead of `bower install`.\n\n## Task Calling\n\n_Run this task with the `grunt bower-install-simple` command._\n\nTask targets, files and options may be specified according to the Grunt\n[Configuring tasks](http://gruntjs.com/configuring-tasks) guide.\n\n## Usage Example\n\nAssuming we have the following build environment:\n\n- `Gruntfile.js`:\n\n```js\n// [...]\ngrunt.initConfig({\n    \"bower-install-simple\": {\n        options: {\n            color: true,\n            directory: \"lib\"\n        },\n        \"prod\": {\n            options: {\n                production: true\n            }\n        },\n        \"dev\": {\n            options: {\n                production: false\n            }\n        }\n    }\n});\ngrunt.registerTask(\"bower-install\", [ \"bower-install-simple\" ]);\n// [...]\n```\n\n- `bower.json`:\n\n```json\n{\n    \"name\": \"sample\",\n    \"version\": \"0.0.0\",\n    \"devDependencies\": {\n        \"componentjs\":    \"~1.2.7\",\n        \"jquery\":         \"~2.1.4\",\n        \"lodash\":         \"~3.10.1\"\n    }\n}\n```\n\nThen running `grunt bower-install` is functionality-wise equivalent\nto running `bower --config.color=false --config.directory=lib install\n--production`. It will read the `bower.json` and install ComponentJS,\njQuery and Lo-Dash into the local `lib` directory.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frse%2Fgrunt-bower-install-simple","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frse%2Fgrunt-bower-install-simple","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frse%2Fgrunt-bower-install-simple/lists"}