mirror of
https://github.com/facebook/react.git
synced 2026-02-26 07:05:09 +00:00
Of course this means I can no longer just npm publish from the project root, but I haven't been anyway.
react-tools
This package compliments the usage of React. It ships with tools that are often used in conjunction.
JSX
This package installs a jsx executable that can be used to transform JSX into vanilla JS. This is often used as part of a build step. This transform is also exposed as an API.
Usage
Command Line
jsx input > output
API
var reactTools = require('react-tools');
reactTools.transform(string, options);