Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/complate/rodunj

JSX precompiler for static HTML
https://github.com/complate/rodunj

Last synced: 3 days ago
JSON representation

JSX precompiler for static HTML

Awesome Lists containing this project

README

        

[Rodunj](https://de.wikipedia.org/wiki/Rodung) /rəʊduŋ/
=======================================================

optimizes [JSX](https://facebook.github.io/jsx/) by precompiling static HTML,
reducing cycles required at runtime

```jsx


{term}

{definitions.map(desc => (
{desc}

))}

```

is converted to plain JavaScript:

```javascript
[
Section({ title: caption },
'

',
term,
"
",
definitions.map(desc => [
"
", desc, "
"
]),
"
")
]
```

(approximation for readability)

Contributing
------------

* ensure [Node](https://nodejs.org) is installed
* `npm install` downloads dependencies
* `npm test` runs the test suite and checks code for stylistic consistency

Release Process
---------------

NB: version numbers are incremented in accordance with
[semantic versioning](https://semver.org)

1. update version number in `package.json`
2. commit as "v#.#.#"

$ git commit -m "v`node -p -e 'require("./package.json").version'`"

the commit description should also include a rationale, e.g. why a major
version was required, and a list of significant changes

3. `./release` publishes the new version