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

Host components over npm & bower? #13

Open
mucaho opened this issue Jul 22, 2015 · 0 comments
Open

Host components over npm & bower? #13

mucaho opened this issue Jul 22, 2015 · 0 comments

Comments

@mucaho
Copy link

mucaho commented Jul 22, 2015

We already serve CraftyJS over the node package manager. Would it make sense to let users publish & maintain their components with npm, while still adhering to a specific standard so it can be loaded by Crafty (in node or browser)? e.g.

var Crafty = require('craftjs'); // get Crafty
Crafty.module(require('craftyjs-module-tiledmapbuilder')); // get & load module into Crafty
@mucaho mucaho changed the title Host components over npm? Host components over npm & bower? Jul 22, 2015
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

1 participant