From a29c622bc25d404794d2ec140f6b6412751ab65d Mon Sep 17 00:00:00 2001 From: Jeroen Engels Date: Sun, 27 Mar 2016 16:58:45 +0200 Subject: [PATCH] Simplify AVA use --- package.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 81fc360..bb95174 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,8 @@ "scripts": { "lint": "eslint cli.js \"lib/**/*.js\" && xo", "test": "npm run lint && npm run test-unit", - "test-unit": "ava \"lib/**/*.test.js\"", - "test-unit:w": "npm run test-unit -- --watch" + "test-unit": "ava", + "test-unit:w": "ava --watch" }, "repository": { "type": "git", @@ -38,6 +38,9 @@ "eslint-plugin-ava": "^1.2.1", "xo": "^0.13.0" }, + "ava": { + "files": ["lib/**/*.test.js"] + }, "xo": { "space": 2, "rules": {