From dbff9b07fe7b97d47958bac3bdaf995ab21f0060 Mon Sep 17 00:00:00 2001 From: JasonEtco Date: Thu, 7 Dec 2017 20:10:40 -0500 Subject: [PATCH] Add coverage tests --- .gitignore | 3 ++- package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index a3a51984..07a6b98f 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,5 @@ npm-debug.log .env package-lock.json logs.json -public/main.min.* \ No newline at end of file +public/main.min.* +coverage \ No newline at end of file diff --git a/package.json b/package.json index 2efbfbfc..ff85c300 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "start": "node ./lib/index.js", "start-dev": "concurrently \"nodemon --ignore src/ ./lib/index.js\" \"webpack -w\"", "build": "webpack -p", - "test": "jest && eslint lib/** src/**/*.js", + "test": "jest --coverage && eslint lib/** src/**/*.js", "postinstall": "npm run build" }, "dependencies": {