Skip to content

Commit

Permalink
Merge pull request #7 from kata-ai/feature/coverage
Browse files Browse the repository at this point in the history
Add plugin coverage
  • Loading branch information
ikmals authored Jan 9, 2018
2 parents 01d9948 + d7bb2f0 commit b7d9380
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 32 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
language: node_js
node_js:
- "6"
install:
- npm install
script:
- npm test
- npm run cover
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Merapi Plugin: Express

[![Build Status](https://travis-ci.org/kata-ai/merapi-plugin-express.svg?branch=master)](https://travis-ci.org/kata-ai/merapi-plugin-express)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/9fd74407da654907994f23ff60458858)](https://www.codacy.com/app/kata-ai/merapi-plugin-express?utm_source=github.com&utm_medium=referral&utm_content=kata-ai/merapi-plugin-express&utm_campaign=badger)

## Introduction
Expand Down
72 changes: 40 additions & 32 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,33 +1,41 @@
{
"name": "merapi-plugin-express",
"version": "0.3.6",
"description": "Merapi Plugin for Express App",
"main": "index.js",
"scripts": {
"test": "./node_modules/.bin/mocha",
"cover": "./node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- -R spec"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kata-ai/merapi-plugin-express.git"
},
"keywords": [
"express",
"merapi"
],
"author": "Ahmad Rizqi Meydiarso",
"license": "ISC",
"homepage": "https://github.com/kata-ai/merapi-plugin-express",
"dependencies": {
"body-parser": "^1.15.2",
"express": "^4.14.0",
"merapi": "^0.17.1",
"type-check": "^0.3.2"
},
"devDependencies": {
"chai": "^3.5.0",
"chai-http": "^3.0.0",
"istanbul": "^0.4.5",
"mocha": "^3.2.0"
}
}
"name": "merapi-plugin-express",
"version": "0.3.6",
"description": "Merapi Plugin for Express App",
"main": "index.js",
"scripts": {
"test": "./node_modules/.bin/mocha",
"cover": "./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/.bin/codacy-coverage && rm -rf ./coverage"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kata-ai/merapi-plugin-express.git"
},
"keywords": [
"express",
"merapi"
],
"author": "Ahmad Rizqi Meydiarso",
"contributors": [
"Roni Kurniawan",
"Ikmal Syifai",
"Prakash Divy",
"Husnul Anwari"
],
"license": "ISC",
"homepage": "https://github.com/kata-ai/merapi-plugin-express",
"dependencies": {
"body-parser": "^1.15.2",
"express": "^4.14.0",
"merapi": "^0.17.1",
"type-check": "^0.3.2"
},
"devDependencies": {
"chai": "^3.5.0",
"chai-http": "^3.0.0",
"codacy-coverage": "^2.0.3",
"istanbul": "^0.4.5",
"mocha": "^3.2.0",
"mocha-lcov-reporter": "^1.3.0"
}
}

0 comments on commit b7d9380

Please sign in to comment.