Convert from tape test harness to ava, address minor declaration file issue.

This commit is contained in:
David Anson 2021-01-10 20:46:00 -08:00
parent 80069552b4
commit 49945d6601
12 changed files with 665 additions and 679 deletions

View file

@ -24,11 +24,11 @@
"declaration": "npm run build-declaration && npm run test-declaration",
"example": "cd example && node standalone.js && grunt markdownlint --force && gulp markdownlint",
"lint": "eslint --max-warnings 0 .",
"lint-test-repos": "node test/markdownlint-test-repos.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",
"lint-test-repos": "ava test/markdownlint-test-repos.js",
"test": "ava 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-extra": "node test/markdownlint-test-extra.js"
"test-extra": "ava --timeout=3m test/markdownlint-test-extra.js"
},
"engines": {
"node": ">=10"
@ -38,6 +38,7 @@
},
"devDependencies": {
"@types/node": "~14.14.9",
"ava": "~3.15.0",
"c8": "~7.3.5",
"cpy-cli": "~3.1.1",
"eslint": "~7.14.0",
@ -54,8 +55,6 @@
"npm-run-all": "~4.1.5",
"rimraf": "~3.0.2",
"strip-json-comments": "~3.1.1",
"tape": "~5.0.1",
"tape-player": "~0.1.1",
"toml": "~3.0.0",
"ts-loader": "~8.0.14",
"tv4": "~1.3.0",