chore: Use npm test in coverage (#352)

This commit is contained in:
Nick Schonning 2020-12-09 11:51:57 -05:00 committed by GitHub
parent 0c309c63c1
commit a564b07388
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,7 +14,7 @@
"bugs": "https://github.com/DavidAnson/markdownlint/issues", "bugs": "https://github.com/DavidAnson/markdownlint/issues",
"scripts": { "scripts": {
"test": "tape test/markdownlint-test.js test/markdownlint-test-custom-rules.js test/markdownlint-test-helpers.js test/markdownlint-test-result-object.js test/markdownlint-test-scenarios.js", "test": "tape test/markdownlint-test.js test/markdownlint-test-custom-rules.js test/markdownlint-test-helpers.js test/markdownlint-test-result-object.js test/markdownlint-test-scenarios.js",
"test-cover": "c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 tape test/markdownlint-test.js test/markdownlint-test-custom-rules.js test/markdownlint-test-helpers.js test/markdownlint-test-result-object.js test/markdownlint-test-scenarios.js", "test-cover": "c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 npm test",
"test-declaration": "cd example/typescript && tsc && node type-check.js", "test-declaration": "cd example/typescript && tsc && node type-check.js",
"test-extra": "node test/markdownlint-test-extra.js", "test-extra": "node test/markdownlint-test-extra.js",
"lint": "eslint --max-warnings 0 .", "lint": "eslint --max-warnings 0 .",