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

'main' wrong in package.json #67

Closed
jos3000 opened this issue Oct 18, 2015 · 3 comments
Closed

'main' wrong in package.json #67

jos3000 opened this issue Oct 18, 2015 · 3 comments

Comments

@jos3000
Copy link

jos3000 commented Oct 18, 2015

It specifies lib/index.js which doesn't exist. It should be dist/react-d3-components.js I think.

@codesuki
Copy link
Owner

This is for the npm release. The files are run through babel and then put into the lib folder. After the release the lib folder is removed.
This is so you don't need babel just for this project.

@jos3000
Copy link
Author

jos3000 commented Oct 19, 2015

Thanks - I was trying to use the library via a git link in package.json. I'm using the 0.6.0 release on npm now and everything is fine.

@jos3000 jos3000 closed this as completed Oct 19, 2015
@codesuki
Copy link
Owner

In case you want to use the github version:

cd react-d3-components
npm install -g .

or

cd YourProject
npm install PATH_TO_RD3C_CLONE

should work :)

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

2 participants