Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instructions for installing from Bower #41

Closed
kedar2a opened this issue Jul 11, 2014 · 2 comments
Closed

Instructions for installing from Bower #41

kedar2a opened this issue Jul 11, 2014 · 2 comments

Comments

@kedar2a
Copy link

kedar2a commented Jul 11, 2014

Your work is awesome. And I am using d3-cloud in our project.

I can't find any instruction of installing it via Bower in github-repo/demo page.
It will be great to have it documented.

@jasondavies
Copy link
Owner

Does bower install d3-cloud work? I’m not sure what the current requirements are: whether a bower.json is needed or not.

@cesine
Copy link
Contributor

cesine commented Jun 23, 2015

Hi @jasondavies

  • Yes bower install d3-cloud works, but this is because there are already 3 unofficial bower packages of your project.
  • For us to use your codebase, you do need a bower.json

screen shot 2015-06-23 at 12 00 53 pm

Can you reopen this, or accept one of the PRs https://github.com/jasondavies/d3-cloud/pulls?utf8=✓&q=bower so you can have a bower.json...

Here is something like what you should put in

{
  "name": "d3-cloud",
  "description": "Create word clouds in JavaScript.",
  "version": "1.1.1",
  "keywords": [
    "css",
    "js",
    "d3",
    "word cloud"
  ],
  "author": {
    "name": "Jason Davies",
    "url": "http://www.jasondavies.com/"
  },
  "homepage": "http://www.jasondavies.com/wordcloud/",
  "main": [
    "./d3.layout.cloud.js"
  ],
  "license": "BSD-3-Clause"
  "ignore": [
    ".*",
    "LICENSE",
    "README.md",
    "examples",
    "index.js",
    "package.json"
  ],
  "dependencies": {
    "d3": "3.x"
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants