Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/talpor/mocha-react-templates-compiler
react-templates compiler for mocha test framework
https://github.com/talpor/mocha-react-templates-compiler
Last synced: about 1 month ago
JSON representation
react-templates compiler for mocha test framework
- Host: GitHub
- URL: https://github.com/talpor/mocha-react-templates-compiler
- Owner: talpor
- Created: 2016-03-01T03:22:01.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-16T12:12:57.000Z (almost 8 years ago)
- Last Synced: 2024-11-12T11:03:28.614Z (about 1 month ago)
- Language: JavaScript
- Size: 11.7 KB
- Stars: 3
- Watchers: 6
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mocha-react-templates-compiler
react-templates compiler for mocha test framework.
## Install
```sh
npm install --save-dev mocha-react-templates-compiler
```## Use
```sh
mocha --compilers rt:mocha-react-templates-compiler
```You can use different values for react-templates' `module` flag by:
```sh
mocha --compilers rt:mocha-react-templates-compiler/dist/{amd,commonjs,es6}
```Defaults to `es6`.
## Changelog
### 2.1.1
* Updated to work with the latest `react-template` version.
### 2.1.0
* Important bugfixes.
### 2.0.0
* Adds the possibility of using different `modules` flag for react-templates.
* Updates dependencies. It now depends on `react-templates@^0.4.0`,
`babel-core@^6.0.0` and `babel-preset-es2015@^6.0.0`.### 1.0.0
* Initial release :tada:
enjoy