A set of mithril components to use accross catarse.
To start developing components to catarse.js you'll first have to globally install gulp, bower and npm.
Then, install all the project package dependencies by calling npm install && bower install
.
Application build dependencies are described on bower.json
, while dev dependencies are described on package.json
.
Catarse.js uses gulp as build tool. To start developing just run gulp
and gulp will start watching your source files for changes and running build when those happen.
To watch source files without running through testing tasks, run:
gulp --notest
To watch source files without running testing or linting tasks, run:
gulp --q
To trigger a build cycle without watching files, run:
gulp build
To link catarse.js with catarse, run:
bower link
Then, in you catarse repository, run:
bower link catarse.js
Currently we are moving our code to ES6 + Flowtype. All new components should be written on this new paradigm. For doing such, we deeply recommend a clear understand of both Flow, ES6 and Babel - our ES6 transpile tool.
If you can't run gulp
try to install it with npm install -g gulp