This repository contains a collection of useful tools for use with TaskCluster. Generally, we strive to not add UI to TaskCluster components, but instead offer well documented APIs that can be easily consumed using a client library for TaskCluster. See TaskCluster documentation site for details.
- lib/ (code intended for reuse)
- / (application specific-code, can be reused)
*.jsx
(file containing JSX)*.js
(file with pure Javascript, no JSX syntax or header)
Our grunt file offers compilation of:
- Javascript/JSX (react.js) files to browserified bundles
- less files to CSS
- jade files to HTML
The grunt default task builds, watches sources and serves them from
http://localhost:9000
.
targets:
grunt
, the default target build, watches sources and serves thebuild/
folder onhttp://localhost:9000/
.grunt build
, builds sources into thebuild/
folder.grunt clean
, delete generated files (ie. deletes thebuild/
folder).
Install sublime-react, open one of
.jsx
files the do:
View
> Syntax
> Open all with current extension as...
> JavaScript (JSX)