Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2018-06-24 01:23:47 +0300
committerXhmikosR <xhmikosr@gmail.com>2018-06-25 16:54:06 +0300
commit4112df4125961da2da5e08a1f61a8a09654fb8fc (patch)
treed5a92c6660d3bb179cf817bdd40b1873940f6e5f /package.json
parent49e094619b171568fcdf59cf2dbf0e8b790e8e54 (diff)
Add broken-link-checker.
Diffstat (limited to 'package.json')
-rw-r--r--package.json8
1 files changed, 7 insertions, 1 deletions
diff --git a/package.json b/package.json
index 4170336616..0ace217ea0 100644
--- a/package.json
+++ b/package.json
@@ -17,7 +17,10 @@
"Twitter, Inc."
],
"scripts": {
+ "blc": "blc --exclude-external --filter-level 3 --get --ordered --recursive --host-requests 4 --input http://localhost:3000/",
+ "http-server": "http-server --silent -p 3000",
"bundlesize": "bundlesize",
+ "check-broken-links": "npm-run-all --parallel --race \"http-server -- _gh_pages/\" blc",
"css": "npm-run-all --parallel css-lint* css-compile* --sequential css-prefix* css-minify*",
"css-main": "npm-run-all --parallel css-lint css-compile --sequential css-prefix css-minify",
"css-docs": "npm-run-all --parallel css-lint-docs css-compile-docs --sequential css-prefix-docs css-minify-docs",
@@ -49,7 +52,7 @@
"js-test-karma-old": "cross-env USE_OLD_JQUERY=true npm run js-test-karma",
"js-test-karma-bundle": "cross-env karma start js/tests/karma-bundle.conf.js",
"js-test-karma-bundle-old": "cross-env USE_OLD_JQUERY=true npm run js-test-karma-bundle",
- "js-test-cloud": "ruby -r webrick -e \"s = WEBrick::HTTPServer.new(:Port => 3000, :DocumentRoot => Dir.pwd, :Logger => WEBrick::Log.new('/dev/null'), :AccessLog => []); trap('INT') { s.shutdown }; s.start\" & node build/saucelabs-unit-test.js",
+ "js-test-cloud": "npm-run-all --parallel --race http-server saucelabs-test",
"coveralls": "shx cat js/coverage/lcov.info | coveralls",
"docs": "npm-run-all --parallel css-docs js-docs --sequential docs-compile docs-lint",
"docs-compile": "bundle exec jekyll build",
@@ -65,6 +68,7 @@
"release-sri": "node build/generate-sri.js",
"release-version": "node build/change-version.js",
"release-zip": "cd dist/ && zip -r9 bootstrap-$npm_package_version-dist.zip * && shx mv bootstrap-$npm_package_version-dist.zip ..",
+ "saucelabs-test": "node build/saucelabs-unit-test.js",
"dist": "npm-run-all --parallel css js",
"test": "npm-run-all dist js-test docs-compile docs-lint bundlesize",
"watch": "npm-run-all --parallel watch-css watch-js",
@@ -95,6 +99,7 @@
"babel-eslint": "^8.2.3",
"babel-plugin-istanbul": "^4.1.6",
"babel-plugin-transform-es2015-modules-strip": "^0.1.1",
+ "broken-link-checker": "^0.7.8",
"bundlesize": "^0.15.3",
"clean-css-cli": "^4.1.11",
"coveralls": "^3.0.1",
@@ -103,6 +108,7 @@
"eslint-plugin-compat": "^2.4.0",
"glob": "^7.1.2",
"htmllint-cli": "^0.0.7",
+ "http-server": "^0.11.1",
"jsunitsaucelabs": "^1.3.2",
"karma": "^2.0.3",
"karma-chrome-launcher": "^2.2.0",