From c9e963dd346ca73a654bb30724820cc90471d832 Mon Sep 17 00:00:00 2001 From: Markus Felten Date: Sun, 23 Feb 2020 22:10:15 +0100 Subject: [PATCH 1/2] chore(scripts): add ava --node-arguments '--experimental-modules' --timeout 2m (scripts.test) chore(scripts): add c8 -x 'tests/**/*' --temp-directory build/tmp ava --node-arguments '--experimental-modules' --timeout 2m && c8 report -r lcov -o build/coverage --temp-directory build/tmp (scripts.cover) chore(package): add ^3.4.0 remove ^3.3.0 (devDependencies.ava) --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 7b8ebf1e..171b2f0a 100644 --- a/package.json +++ b/package.json @@ -24,8 +24,8 @@ ], "license": "BSD-2-Clause", "scripts": { - "test": "ava && ava --timeout 2m", - "cover": "c8 -x 'tests/**/*' --temp-directory build/tmp ava --timeout 2m && c8 report -r lcov -o build/coverage --temp-directory build/tmp", + "test": "ava --node-arguments '--experimental-modules' --timeout 2m", + "cover": "c8 -x 'tests/**/*' --temp-directory build/tmp ava --node-arguments '--experimental-modules' --timeout 2m && c8 report -r lcov -o build/coverage --temp-directory build/tmp", "docs": "documentation readme src/service-admin.mjs --section=API", "lint": "documentation lint src/service-admin.mjs" }, @@ -33,7 +33,7 @@ "@kronos-integration/service": "^8.3.14" }, "devDependencies": { - "ava": "^3.3.0", + "ava": "^3.4.0", "c8": "^7.1.0", "documentation": "^12.1.4", "got": "^10.6.0", From 755af5957c521d68ff2907eb41882da615d7eea9 Mon Sep 17 00:00:00 2001 From: Markus Felten Date: Sun, 23 Feb 2020 22:10:19 +0100 Subject: [PATCH 2/2] docs(README): update from template --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 04e6f991..1181cca2 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,10 @@ [![Build Status](https://secure.travis-ci.org/Kronos-Integration/service-admin.png)](http://travis-ci.org/Kronos-Integration/service-admin) [![Greenkeeper](https://badges.greenkeeper.io/Kronos-Integration/service-admin.svg)](https://greenkeeper.io/) [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/Kronos-Integration/service-admin) +[![codecov.io](http://codecov.io/github/Kronos-Integration/service-admin/coverage.svg?branch=master)](http://codecov.io/github/Kronos-Integration/service-admin?branch=master) [![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier) [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/) +[![Coverage Status](https://coveralls.io/repos/Kronos-Integration/service-admin/badge.svg)](https://coveralls.io/r/Kronos-Integration/service-admin) [![Known Vulnerabilities](https://snyk.io/test/github/Kronos-Integration/service-admin/badge.svg)](https://snyk.io/test/github/Kronos-Integration/service-admin) # kronos-service-admin