diff --git a/.travis.yml b/.travis.yml index 24c73c66fe..68e5d07bfc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,6 @@ before_script: - google-chrome-stable --product-version script: - npm test || travis_terminate 1 - - if [[ "$TRAVIS_NODE_VERSION" = "10" ]]; then npm run linkinator; fi - if [[ "$TRAVIS_NODE_VERSION" = "10" && "$TRAVIS_EVENT_TYPE" = "push" && ! `git log --format=%B --no-merges -n 1 | grep '\[skip browser\]'` ]]; then npm run js-test-cloud; fi after_success: - if [[ "$TRAVIS_NODE_VERSION" = "10" ]]; then npm run coveralls; fi diff --git a/package.json b/package.json index cb2a216a7e..5b6aa6fa3d 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,6 @@ ], "scripts": { "start": "npm-run-all --parallel watch docs-serve", - "linkinator": "linkinator _gh_pages --recurse --silent --skip \"^(?!http://localhost)\"", "bundlesize": "bundlesize", "css": "npm-run-all css-compile css-prefix css-minify css-copy", "css-copy": "cross-env-shell shx mkdir -p site/static/docs/$npm_package_version_short/dist/ && cross-env-shell shx cp -r dist/css/ site/static/docs/$npm_package_version_short/dist/", @@ -71,7 +70,9 @@ "docs-build": "hugo --cleanDestinationDir", "docs-compile": "npm run docs-build", "docs-production": "cross-env HUGO_ENV=production npm run docs-build", - "docs-lint": "node build/vnu-jar.js", + "docs-linkinator": "linkinator _gh_pages --recurse --silent --skip \"^(?!http://localhost)\"", + "docs-vnu": "node build/vnu-jar.js", + "docs-lint": "npm-run-all --parallel docs-vnu docs-linkinator", "predocs-serve": "npm-run-all css-copy js-copy", "docs-serve": "hugo server --port 9001 --disableFastRender", "docs-serve-only": "http-server _gh_pages -p 9001 -a localhost",