Unverified Commit be380572 authored by XhmikosR's avatar XhmikosR Committed by GitHub
Browse files

Replace broken-link-checker with linkinator. (#28291)

Much lighter, more modern and cleaner codebase.
parent 4b00aa6c
Showing with 246 additions and 669 deletions
+246 -669
......@@ -13,7 +13,7 @@ before_script:
- google-chrome-stable --product-version
script:
- npm test || travis_terminate 1
- if [[ "$TRAVIS_NODE_VERSION" = "8" ]]; then npm run check-broken-links; fi
- if [[ "$TRAVIS_NODE_VERSION" = "8" ]]; then npm run linkinator; fi
- if [[ "$TRAVIS_NODE_VERSION" = "8" && "$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" = "8" ]]; then npm run coveralls; fi
......
This diff is collapsed.
......@@ -19,10 +19,8 @@
],
"scripts": {
"start": "npm-run-all --parallel watch docs-serve",
"blc": "blc --exclude-external --filter-level 3 --follow --get --ordered --recursive --host-requests 4 --input http://localhost:3000/",
"http-server": "http-server --silent -p 3000",
"linkinator": "linkinator _gh_pages --recurse --skip \"^(?!http://localhost)\"",
"bundlesize": "bundlesize",
"check-broken-links": "npm-run-all --parallel --race \"http-server -- _gh_pages/\" blc",
"css": "npm-run-all css-compile css-prefix css-minify css-copy",
"css-copy": "cross-env-shell shx mkdir -p site/docs/$npm_package_version_short/dist/ && cross-env-shell shx cp -r dist/css/ site/docs/$npm_package_version_short/dist/",
"css-main": "npm-run-all css-lint css-compile-main css-prefix-main css-minify-main css-copy",
......@@ -109,7 +107,6 @@
"autoprefixer": "^9.4.7",
"babel-eslint": "^10.0.1",
"babel-plugin-istanbul": "^5.1.1",
"broken-link-checker": "^0.7.8",
"bundlesize": "0.15.3",
"clean-css-cli": "^4.2.1",
"coveralls": "^3.0.2",
......@@ -118,7 +115,6 @@
"find-unused-sass-variables": "^0.3.2",
"glob": "^7.1.3",
"hammer-simulator": "0.0.1",
"http-server": "^0.11.1",
"ip": "^1.1.5",
"jquery": "^3.3.1",
"karma": "^3.1.4",
......@@ -129,6 +125,7 @@
"karma-firefox-launcher": "^1.1.0",
"karma-qunit": "^2.1.0",
"karma-sinon": "^1.0.5",
"linkinator": "^1.1.6",
"node-sass": "^4.11.0",
"nodemon": "^1.18.10",
"npm-run-all": "^4.1.5",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment