-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from kata-ai/feature/coverage
Add plugin coverage
- Loading branch information
Showing
3 changed files
with
49 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} |