From 5f9085be1bba6bc1131a5707528bc355d1803d5f Mon Sep 17 00:00:00 2001 From: Brett Zamir Date: Sat, 21 Dec 2019 11:04:07 +0800 Subject: [PATCH] - Move badges to own folder --- README.md | 2 +- coverage-badge.svg => badges/coverage-badge.svg | 0 package.json | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename coverage-badge.svg => badges/coverage-badge.svg (100%) diff --git a/README.md b/README.md index c47e0cfa..afae412f 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ -[![coverage badge](https://raw.githubusercontent.com/SVG-Edit/svgedit/master/coverage-badge.svg?sanitize=true)](coverage-badge.svg) +[![coverage badge](https://raw.githubusercontent.com/SVG-Edit/svgedit/master/badges/coverage-badge.svg?sanitize=true)](badges/coverage-badge.svg) [![Known Vulnerabilities](https://snyk.io/test/github/SVG-Edit/svgedit/badge.svg)](https://snyk.io/test/github/SVG-Edit/svgedit) [![Total Alerts](https://img.shields.io/lgtm/alerts/g/SVG-Edit/svgedit.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/SVG-Edit/svgedit/alerts) diff --git a/coverage-badge.svg b/badges/coverage-badge.svg similarity index 100% rename from coverage-badge.svg rename to badges/coverage-badge.svg diff --git a/package.json b/package.json index 53e9cd93..66110d7c 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "instrument:copy-excluded": "node cypress/support/copy.js", "copy-instrumented": "copyfiles -e \"**/*.js\" -u 1 \"editor/**/*\" instrumented && npm run instrument:replace-html && npm run instrument:replace-js && npm run instrument:copy-excluded", "instrument": "rm -Rf instrumented && npx nyc instrument editor instrumented && npm run copy-instrumented && npm run coverage-badge", - "coverage-badge": "coveradge", + "coverage-badge": "coveradge badges/coverage-badge", "open-cov": "npm-run-all instrument --parallel --race start cypress:open", "open": "run-p start cypress:open", "report": "npx nyc report",