1.2.1 • Published 10 years ago
jsxjs v1.2.1
Synopsis
NOTE: This package is unmaintained. The babel package provides a more full-featured replacement.
Convert JSX files to JS, without losing your sanity.
Usage
jsxjs [source path...] [output folder]
Converts JSX source files to JavaScript. Unlike the jsx
CLI provided by react-tools
this command optionally takes multiple sources (entire directories or individual files) and converts all .js
and .jsx
files in the source paths.
Options
-a
,--all
: By default,jsxjs
will only convert files with the extensions.js
or.jsx
. This option will makejsxjs
convert all files regardless of their extensions.-v
,--verbose
: Logs source and output file paths for each file that is converted.
License
The MIT/Expat license. For more information, see http://pluma.mit-license.org/ or the accompanying LICENSE file.