test-jstransformer
Version:
A CLI for testing jstransformer implementations.
45 lines (30 loc) • 1.27 kB
Markdown
# test-jstransformer
A CLI for testing [JSTransformer](https://github.com/jstransformers/jstransformer) implementations.
[](https://travis-ci.org/jstransformers/test-jstransformer)
[](https://codecov.io/gh/jstransformers/test-jstransformer)
[](https://david-dm.org/jstransformers/test-jstransformer)
[](https://greenkeeper.io/)
[](https://www.npmjs.org/package/test-jstransformer)
## Installation
npm install test-jstransformer --save-dev
## Usage
In your package.json add:
```js
{
"scripts": {
"coverage": "test-jstransformer coverage",
"test": "test-jstransformer"
}
}
```
Then copy either example/simple or example/multi into a folder called "test" in your jstransformer's repo.
You can then run tests using:
```
npm test
```
and generate coverage using:
```
npm run coverage
```
## License
MIT