add 'npm run unit' for bats tests.

This commit is contained in:
Paul Irish 2017-06-20 17:49:44 -07:00
parent 21d370175d
commit 73b460f582

View file

@ -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": {},