From c38a9ddb3b55e12df314ecd45d6151d765c83222 Mon Sep 17 00:00:00 2001 From: Jeff Avallone Date: Sat, 10 Feb 2018 19:23:56 -0500 Subject: [PATCH] Reworking test commands to include lint with unit tests Also adding a test:watch command --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 440aec7..41319f1 100644 --- a/package.json +++ b/package.json @@ -14,8 +14,10 @@ "start:prod": "run-s build start:http-server", "start:http-server": "http-server ./build", "build": "webpack --config webpack.prod.js", - "test": "jest", + "test": "run-s test:lint test:unit", + "test:unit": "jest", "test:lint": "eslint --ignore-path .gitignore .", + "test:watch": "yarn test:unit --watch", "precommit": "run-s test:lint" }, "jest": {