node package manager
Easy sharing. Manage teams and permissions with one click. Create a free org ยป

hima

hima

Modular home control dashboard built with React.

yarn develop to run server on port 3000 and start webpack watcher. yarn start to make a production build and run server.

Writing a module

  1. Install hima from npm and import registerModule from it.
  2. Register your module component using registerModule({name '<package name>'})(Component).
  3. Let hima know about your component by ??????.

Publishing a module

package.json must contain at least:

  • unique name
  • main pointing to the build file (has to be in version control)
  • version
  • repository with a link to a public Github repo
  • "hima-module" in keywords so that it can be discovered by search
  • hima in dependencies