1
1
mirror of https://github.com/primer/css.git synced 2024-11-11 15:16:03 +03:00

run script/check-links instead of blc

This commit is contained in:
Shawn Allen 2019-01-10 14:01:04 -08:00
parent fcd90aae9f
commit 74972a0437
2 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,7 @@
"lint": "eslint pages src",
"pretest": "npm run sync",
"test": "node test/urls.js",
"test-links": "blc -ergo http://127.0.01:3000/css",
"check-links": "script/check-links -rv http://localhost:3000/css",
"sync": "script/sync",
"watch": "script/sync --watch",
"dev": "next",

View File

@ -2,6 +2,7 @@
const spinner = require('char-spinner')
const {gray, green, yellow, red, bold} = require('colorette')
const {SiteChecker} = require('broken-link-checker')
const yargs = require('yargs')
.option('filter-level', {type: Number, alias: 'L', default: 3})
.option('recursive', {type: Boolean, alias: 'r'})