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

No index.js file inside lib folder of newly created biojs package #21

Closed
DevasenaInupakutika opened this issue Dec 1, 2014 · 4 comments

Comments

@DevasenaInupakutika
Copy link
Contributor

I was following tutorial on package basics http://edu.biojs.net/series/101/30_package_basics.html# and under step 5 i.e. Start Coding section, I couldn't find index.js under lib folder of my package.

Instead it's present in initial project directory that I created.

Is this index.js file same as <module-name.js> file under lib folder or index.js in project folder?

Seems like it should be <modulename.js> file under lib folder under project directory.

@wilzbach
Copy link
Member

wilzbach commented Dec 1, 2014

Yep I removed the index.js from slush as it was nearly empty. Your main file is specified in the package.json so the index was just an unnecessary layer. There shouldn't be any index.js anymore. Sorry for forgetting to update the edu

Yep if you run slush, your main file is in the lib folder

@daviddao
Copy link
Member

daviddao commented Dec 1, 2014

Yup, the need to update the edu is issued in #20

@DevasenaInupakutika
Copy link
Contributor Author

Ok, Thank you!

@wilzbach
Copy link
Member

Slush should create a lib/index.js file - of not please reopen ;-)

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