aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorJohann-S <[email protected]>2017-09-28 14:55:15 +0200
committerXhmikosR <[email protected]>2017-09-29 19:39:25 +0300
commit210bb221a8905e0482f939a7e03256de701a60c7 (patch)
tree8567d4158970d13ccfe58ce2e71736159830a21a /package.json
parent502ac7ee4d13669e644b9181f1e014ce0ea1f089 (diff)
downloadbootstrap-210bb221a8905e0482f939a7e03256de701a60c7.tar.xz
bootstrap-210bb221a8905e0482f939a7e03256de701a60c7.zip
Use jsunitsaucelabs to run our unit tests on Saucelabs
Diffstat (limited to 'package.json')
-rw-r--r--package.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json
index 85a641b34..9ab637cb0 100644
--- a/package.json
+++ b/package.json
@@ -41,7 +41,7 @@
"js-minify-bundle": "uglifyjs --compress typeofs=false --mangle --comments \"/^!/\" --output dist/js/bootstrap.bundle.min.js dist/js/bootstrap.bundle.js",
"js-minify-docs": "uglifyjs --mangle --comments \"/^!/\" --output assets/js/docs.min.js assets/js/vendor/anchor.min.js assets/js/vendor/clipboard.min.js assets/js/vendor/holder.min.js assets/js/src/application.js assets/js/src/pwa.js",
"js-test": "phantomjs ./node_modules/qunit-phantomjs-runner/runner.js js/tests/index.html 60",
- "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\" & grunt saucelabs-qunit",
+ "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",
"docs": "npm-run-all docs-compile docs-lint",
"docs-lint": "htmllint --rc build/.htmllintrc _gh_pages/*.html _gh_pages/**/*.html js/tests/visual/*.html",
"docs-compile": "bundle exec jekyll build",
@@ -90,6 +90,7 @@
"grunt-cli": "^1.2.0",
"grunt-saucelabs": "^9.0.0",
"htmllint-cli": "^0.0.6",
+ "jsunitsaucelabs": "^1.0.0",
"node-sass": "^4.5.3",
"nodemon": "^1.11.0",
"npm-run-all": "^4.0.2",