From 338eeac38fb79fae77ab73c8a7fb0dee2e15d41f Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Thu, 10 Nov 2022 01:41:27 +0000 Subject: [PATCH] fix scripts in package.json for correct recursive calling Signed-off-by: Arthur Lu --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index c21fbe9..35eb5a3 100644 --- a/package.json +++ b/package.json @@ -2,8 +2,8 @@ "name": "food-journal", "version": "1.0.0", "scripts": { - "test": "mocha --recursive **/*.test.js", - "lint": "eslint **/*.js", + "test": "mocha --recursive './{,!(node_modules)/**}/*.test.js'", + "lint": "eslint '**/*.js'", "fix-style": "eslint --fix **/*.js" }, "devDependencies": {