Skip to content

publish this project to npm and bower? #2445

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

Open
stevemao opened this issue Nov 7, 2014 · 4 comments · Fixed by #1057 or #1058
Open

publish this project to npm and bower? #2445

stevemao opened this issue Nov 7, 2014 · 4 comments · Fixed by #1057 or #1058

Comments

@stevemao
Copy link

stevemao commented Nov 7, 2014

npm and bower are very popular javascript package managers for javascript

@VisualSJ
Copy link
Contributor

Thank you for your advice
NPM is very good, I like it very much...

But the project modules need to consider a lot of issues.

Thanks ^.^

VisualSJ

@stevemao
Copy link
Author

True, so you might need to break down your modules into different submodules for those package managers just like how angular.js does.

@stevemao
Copy link
Author

Alternatively, you could push up the code and do require('cocos2d/actions/CCAction') in code when you need CCAction. just like how famous does it
Famous/famous#50

@yi
Copy link

yi commented Jan 16, 2015

+1

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