Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/complate/rodunj
- Owner: complate
- Created: 2019-09-06T17:05:14.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-24T15:19:53.000Z (over 4 years ago)
- Last Synced: 2024-12-06T05:17:52.551Z (21 days ago)
- Language: JavaScript
- Homepage:
- Size: 58.6 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
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}
- {desc}
{definitions.map(desc => (
))}
```
is converted to plain JavaScript:
```javascript
[
Section({ title: caption },
'
- ',
term,
" ",
- ", desc, " "
definitions.map(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