You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: READM.md
+7-10Lines changed: 7 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,19 +1,18 @@
1
-
react-es7
2
-
========
1
+
2
+
# react-es7
3
+
3
4
4
5
Example of AMD based project using React + Reflux + routing + ES6 with experimental ES7 syntax + Semantic-UI
5
6
6
-
Install
7
-
=======
7
+
## Install
8
8
9
9
```
10
10
npm install -g broccoli-cli
11
11
npm install
12
12
bower install
13
13
```
14
14
15
-
Usage
16
-
=====
15
+
## Usage
17
16
18
17
```
19
18
$ broccoli serve
@@ -38,17 +37,15 @@ $ npm test
38
37
39
38
Currently just a simple example of using unit tests in React for files using ES6/ES7 syntax.
40
39
41
-
Details
42
-
=======
40
+
## Details
43
41
44
42
* All JavaScript files are transpiled with [6to5](https://6to5.org/) library with enabled [experimental ES7 syntax](https://6to5.org/features.html).
45
43
* For using experimental ES7 code in [Jest](http://facebook.github.io/jest/docs/tutorial-react.html) tests, the project is using [my fork](https://github.com/hipertracker/6to5-jest) of `6to5-jest` package.
46
44
* The workflow and communication between components is built using [Reflux](https://github.com/spoike/refluxjs), a slighty [improved](http://blog.krawaller.se/posts/reflux-refinement/) Flux paradigm.
47
45
* Unit testing is provided by [Jest](https://facebook.github.io/jest/).
48
46
* Using [Semantic-UI](http://semantic-ui.com/) framework with React components ([react-semantify](http://react-components.com/component/react-semantify)).
49
47
50
-
Todo
51
-
====
48
+
## Todo
52
49
53
50
* Add more unit tests showing [Jest](http://facebook.github.io/jest/) testing ES5/ES7 code.
54
51
* Add [Yeoman](http://yeoman.io/) project with options to choose SASS/Less/Stylus and Bootstrap/Semantic-UI.
0 commit comments