fez-react
Fez operation for transforming React JSX code to JS.
Install
npm install fez-react --save-dev
fez.js
Modify your var react = require('fez-react');
spec.with("path/to/your/*.jsx").each(function(file) {
spec.rule(file, file.patsubst("%.jsx", "%.js"), react({separator: '\n'});
});