Skip to content

Host components over npm & bower? #13

@mucaho

Description

@mucaho

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions