Skip to content

Commit c78318c

Browse files
authored
Badges (#2)
* added badges, and travis ci yml config * fixed required node versions
1 parent 3d30ead commit c78318c

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

.travis.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
language: node_js
2+
sudo: false
3+
node_js:
4+
- 10
5+
- 9
6+
- 8
7+
install:
8+
- npm install
9+
script:
10+
- npm run build

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
<p align="center"><i>"Test environment application"</i><p>
77
</p>
88

9+
[![npm version](https://badge.fury.io/js/%40scottjarvis%2Ftea.svg)](https://badge.fury.io/js/%40scottjarvis%2Ftea) [![Dependency Status](https://david-dm.org/sc0ttj/tea.svg)](https://david-dm.org/sc0ttj/tea) [![devDependencies Status](https://david-dm.org/sc0ttj/tea/dev-status.svg)](https://david-dm.org/sc0ttj/tea?type=dev) [![Node version](https://badgen.net/npm/node/@scottjarvis/tea)](http://nodejs.org/download/) [![Build Status](https://travis-ci.org/sc0ttj/tea.svg?branch=master)](https://travis-ci.org/sc0ttj/tea) [![npm version](https://badgen.net/bundlephobia/minzip/@scottjarvis/tea?color=green&label=gzipped)](https://badgen.net/bundlephobia/minzip/@scottjarvis/tea) [![npm version](https://badgen.net/npm/dt/@scottjarvis/tea)](https://badgen.net/npm/dt/@scottjarvis/tea)
10+
911
**Tea** is a software testing suite, similar to `node-tap`, `tape`, `mocha`, `jasmine`, etc, but much smaller, more lightweight, and with fewer features.
1012

1113
## Features

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"scripts": {
1818
"build": "microbundle --name tea --compress",
1919
"dev": "microbundle watch",
20-
"test": "echo \"No test specified :/ \""
20+
"test": "microbundle --name tea --compress && echo 'Build complete... No tests yet!'"
2121
},
2222
"keywords": [
2323
"test-runner",
@@ -39,5 +39,9 @@
3939
},
4040
"directories": {
4141
"example": "examples"
42+
},
43+
"engines": {
44+
"node": ">=8.0.0",
45+
"npm": ">=6.0.0"
4246
}
4347
}

0 commit comments

Comments
 (0)