https://github.com/jstransformers/test-jstransformer
A CLI for testing jstransformer implementations.
https://github.com/jstransformers/test-jstransformer
Last synced: 8 months ago
JSON representation
A CLI for testing jstransformer implementations.
- Host: GitHub
- URL: https://github.com/jstransformers/test-jstransformer
- Owner: jstransformers
- License: mit
- Created: 2015-05-29T12:03:52.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2024-09-07T22:24:11.000Z (almost 2 years ago)
- Last Synced: 2024-09-07T23:29:35.541Z (almost 2 years ago)
- Language: JavaScript
- Homepage: http://npm.im/test-jstransformer
- Size: 497 KB
- Stars: 2
- Watchers: 7
- Forks: 1
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 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://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