fix scripts in package.json for correct recursive calling

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
Arthur Lu 2022-11-10 01:41:27 +00:00
parent 62f1626492
commit 338eeac38f

View File

@ -2,8 +2,8 @@
"name": "food-journal", "name": "food-journal",
"version": "1.0.0", "version": "1.0.0",
"scripts": { "scripts": {
"test": "mocha --recursive **/*.test.js", "test": "mocha --recursive './{,!(node_modules)/**}/*.test.js'",
"lint": "eslint **/*.js", "lint": "eslint '**/*.js'",
"fix-style": "eslint --fix **/*.js" "fix-style": "eslint --fix **/*.js"
}, },
"devDependencies": { "devDependencies": {