From 73b460f5825f5d8e403dd66222c59bf9bbe3914a Mon Sep 17 00:00:00 2001 From: Paul Irish Date: Tue, 20 Jun 2017 17:49:44 -0700 Subject: [PATCH] add 'npm run unit' for bats tests. --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 96ffdcb..ee86b60 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,8 @@ "lint:editorconfig": "eclint check git-open* readme* .travis.yml", "lint:package": "pjv --recommendations --warnings", "lint:readme": "node ./node_modules/markdownlint/lib/markdownlint.js --config markdownlint.json README.md", - "test": "npm run lint:package && npm run lint:readme && npm run lint:editorconfig", + "test": "npm run unit && npm run lint:package && npm run lint:readme && npm run lint:editorconfig", + "unit": "bats test/", "watch": "find . -maxdepth 2 -iname '*bats' -o -iname 'git-open' | entr bats test/" }, "dependencies": {},