Simply JSX
A simple transpiler for JSX without React. Features include:
- Transpile JSX to JS
- Auto-reload browser on file change
- More coming soon!
Installation
-
With npm, run
npm install simply-jsx
-
Create a simply.json file in your root project folder (adjacent to your package.json)
-
Add the following to your simply.json file (changing the values as needed):
{ "source": "src", "build": "dist", "staticFiles": "public" }
-
Create an index.html file in your staticFiles folder (folder specified in simply.json)
-
Add a script to your package.json file:
"scripts": { "start": "simply-jsx", }
-
Run
npm start