Skip to content

Commit 5f2367c

Browse files
committed
nyc report & coveralls
1 parent 1447329 commit 5f2367c

File tree

4 files changed

+14
-7
lines changed

4 files changed

+14
-7
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55
/public
66
/.vscode
77
/dist.zip
8+
/.nyc_output

Jt.logo.png

9.49 KB
Loading

Readme.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11

2-
# Mr. [Jt 🎩](https://github.com/3F/Jt)
2+
# [![Mr. Jt](https://raw.githubusercontent.com/3F/Jt/master/Jt.logo.png)](https://github.com/3F/Jt)
3+
4+
🎩
35

46
Meet beardless customizable template engine, Mr. Jt for Node.js and Web browsers.
57

68
[![Build status](https://ci.appveyor.com/api/projects/status/s5of5w4qh2k7qels/branch/master?svg=true)](https://ci.appveyor.com/project/3Fs/jt/branch/master)
9+
[![Coverage Status](https://coveralls.io/repos/github/3F/Jt/badge.svg)](https://coveralls.io/github/3F/Jt)
10+
[![Tests](https://img.shields.io/appveyor/tests/3Fs/jt/master.svg)](https://ci.appveyor.com/project/3Fs/jt/build/tests)
711
[![release-src](https://img.shields.io/github/release/3F/Jt.svg)](https://github.com/3F/Jt/releases/latest)
812
[![npm](https://img.shields.io/npm/v/mrjt.svg)](https://www.npmjs.com/package/mrjt)
913
[![License](https://img.shields.io/badge/License-MIT-74A5C2.svg)](https://github.com/3F/Jt/blob/master/License.txt)
@@ -112,11 +116,8 @@ jt.use('hello')
112116

113117
### Stability 🗠
114118

115-
Clean [API](https://github.com/3F/Jt/tree/master/src/Core) and its [tests](https://github.com/3F/Jt/tree/master/tests) will take care of your peace of mind.
116-
117-
### Compatibility 🗸
118-
119-
Nothing special, we just provide separate ES3+/ES6+ support in Node.js and Web browsers environment. Choose more suitable package for your case.
119+
Clean **[API](#api)** and its **tests** will take care of your peace of mind. [![Coverage Status](https://coveralls.io/repos/github/3F/Jt/badge.svg)](https://coveralls.io/github/3F/Jt)
120+
[![Tests](https://img.shields.io/appveyor/tests/3Fs/jt/master.svg)](https://ci.appveyor.com/project/3Fs/jt/build/tests)
120121

121122
### No dependencies to something 👐
122123

@@ -144,6 +145,8 @@ Copyright (c) 2019 Denis Kuzmin < [email protected] > GitHub/3F
144145

145146
## Download
146147

148+
Separate ES3+/ES6+ support for your environment. Choose more suitable package for your case.
149+
147150
* NPM: [![npm](https://img.shields.io/npm/v/mrjt.svg)](https://www.npmjs.com/package/mrjt)
148151
* CDN: [![CDN](https://img.shields.io/badge/CDN-unpkg.com/mrjt-97C40F.svg?style=flat-square)](https://unpkg.com/mrjt/Core/Jt.es6.js)
149152
* ... `https://unpkg.com/mrjt[@version]/[path_to_specific_file]`

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"description": "Beardless customizable template engine, Mr. Jt for Node.js and Web browsers.",
55
"main": "index.js",
66
"scripts": {
7-
"test": "ava"
7+
"test": "nyc ava",
8+
"coverage": "nyc report --reporter=text-lcov | coveralls"
89
},
910
"repository": {
1011
"type": "git",
@@ -33,6 +34,7 @@
3334
"@babel/register": "^7.4.4",
3435
"ava": "^1.4.1",
3536
"browserify": "^16.2.3",
37+
"coveralls": "^3.0.3",
3638
"git-repo-info": "^2.1.0",
3739
"google-closure-compiler": "^20190121.0.0",
3840
"gulp": "^4.0.2",
@@ -46,6 +48,7 @@
4648
"gulp-typescript": "^5.0.1",
4749
"gulp-zip": "^4.2.0",
4850
"minimist": "^1.2.0",
51+
"nyc": "^14.1.1",
4952
"through2": "^3.0.1",
5053
"tsify": "^4.0.1",
5154
"typescript": "^3.4.5",

0 commit comments

Comments
 (0)