mirror of
https://github.com/paulirish/git-open.git
synced 2026-09-10 07:26:15 -04:00
add 'npm run unit' for bats tests.
This commit is contained in:
parent
21d370175d
commit
73b460f582
|
|
@ -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": {},
|
||||
|
|
|
|||
Loading…
Reference in a new issue