hats
v0.4.0
Published
Hats for hatter. Or epiphany. Or ridge. Or whatever. We just don't know yet. But hats they are.
Downloads
4
Maintainers
Readme
hats
Hats for Epiphany & Ridge.
Specification
A hat should contain (at least one of) the following
- An Epiphany module that exports a plain object containing namespaced models and middleware, and an array]
of routes and pages. This should be reached with
require('hats/name')
. - A 'public' Ridge module, to be used in the public part of a web-app. The package.json should tell browserify or similar
what to return. Thus, this should also be reached with
require('hats/name')
. - A 'admin' Ridge module. This should be requried by
require('hats/name/admin
. To achieve this, either place anadmin.js
file in the root of the project, or create a directoryadmin
with a fileindex.js
. - Dust templates, located at
/templates
.