Skip to content

Commit c4509a5

Browse files
committed
Exclude yargs from david checks
Yargs 8 requires Node 4. Until this package drops support for Node 0.12, avoid requiring yargs 8. Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
1 parent 5f5ad53 commit c4509a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"lint-js": "node-version-gte-4 && eslint . && echo ESLint passed. || node-version-lt-4",
3232
"postpublish": "git -C doc push && git push --follow-tags origin master gh-pages && echo Remember to update GitHub Releases from CHANGELOG.md && echo until skywinder/github-changelog-generator#56 is fixed.",
3333
"postversion": "rimraf doc && git clone -b gh-pages -l -q . doc && npm run doc && git -C doc add . && git -C doc commit -n -m \"Docs for v$npm_package_version\"",
34-
"preversion": "depcheck --ignores eslint-plugin-import --ignore-dirs doc && david -i nock && git-branch-is master && travis-status -b master -c -wx && appveyor-status -b master -c -w -p kevinoid/swagger-spec-validator && istanbul check-coverage --statements 95 coverage/coverage.json",
34+
"preversion": "depcheck --ignores eslint-plugin-import --ignore-dirs doc && david -i nock,yargs && git-branch-is master && travis-status -b master -c -wx && appveyor-status -b master -c -w -p kevinoid/swagger-spec-validator && istanbul check-coverage --statements 95 coverage/coverage.json",
3535
"test": "npm run lint && npm run test-unit",
3636
"test-cov": "npm run lint && npm run test-unit-cov",
3737
"test-unit": "mocha --recursive test",

0 commit comments

Comments
 (0)