mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-22 05:40:48 +02:00
Replace nyc code-coverage with c8 (smaller, integrated with Node.js).
This commit is contained in:
parent
8766fc1fc3
commit
6ea1a21a95
5 changed files with 2 additions and 24 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -4,5 +4,4 @@ demo/markdownlint-browser.min.js
|
|||
lib-es3
|
||||
node_modules
|
||||
npm-debug.log
|
||||
.nyc_output
|
||||
.vscode
|
||||
|
|
|
@ -2,9 +2,6 @@
|
|||
.eslintrc.json
|
||||
.github
|
||||
.markdownlint.json
|
||||
.nycrc.json
|
||||
.nyc_output
|
||||
.travis.yml
|
||||
.vscode
|
||||
coverage
|
||||
demo/*
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"branches": 100,
|
||||
"functions": 100,
|
||||
"lines": 100,
|
||||
"statements": 100
|
||||
}
|
12
.travis.yml
12
.travis.yml
|
@ -1,12 +0,0 @@
|
|||
language: node_js
|
||||
node_js:
|
||||
- "8"
|
||||
- "10"
|
||||
- "12"
|
||||
os:
|
||||
- windows
|
||||
- linux
|
||||
- osx
|
||||
cache: npm
|
||||
script: "npm run-script test-cover"
|
||||
after_script: "npm install coveralls && nyc report --reporter=text-lcov | coveralls"
|
|
@ -14,7 +14,7 @@
|
|||
"bugs": "https://github.com/DavidAnson/markdownlint/issues",
|
||||
"scripts": {
|
||||
"test": "node test/markdownlint-test.js",
|
||||
"test-cover": "nyc --check-coverage --skip-full node test/markdownlint-test.js",
|
||||
"test-cover": "c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 node test/markdownlint-test.js",
|
||||
"test-declaration": "cd example/typescript && tsc && node type-check.js",
|
||||
"test-extra": "node test/markdownlint-test-extra.js",
|
||||
"debug": "node debug node_modules/nodeunit/bin/nodeunit",
|
||||
|
@ -35,6 +35,7 @@
|
|||
"devDependencies": {
|
||||
"@types/node": "~12.12.17",
|
||||
"browserify": "~16.5.0",
|
||||
"c8": "~7.0.0",
|
||||
"cpy-cli": "~3.0.0",
|
||||
"eslint": "~6.7.2",
|
||||
"glob": "~7.1.6",
|
||||
|
@ -44,7 +45,6 @@
|
|||
"markdown-it-sub": "~1.0.0",
|
||||
"markdown-it-sup": "~1.0.0",
|
||||
"markdownlint-rule-helpers": "~0.5.0",
|
||||
"nyc": "~14.1.1",
|
||||
"rimraf": "~3.0.0",
|
||||
"tape": "~4.12.1",
|
||||
"toml": "~3.0.0",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue