]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix build by installing grunt dependencies before js-test-cloud
authorJohann-S <johann.servoire@gmail.com>
Thu, 27 Apr 2017 21:03:17 +0000 (23:03 +0200)
committerGitHub <noreply@github.com>
Thu, 27 Apr 2017 21:03:17 +0000 (23:03 +0200)
package.json

index ab1185bd774abe8fc6ca7fb32b5a00840e20328a..4833746d1a015f1ae6c6c3f4302f63d2913ab770 100644 (file)
@@ -38,7 +38,9 @@
     "js-minify": "uglifyjs --compress warnings=false --mangle --comments '/^!/' --output dist/js/bootstrap.min.js dist/js/bootstrap.js",
     "js-minify-docs": "uglifyjs --compress warnings=false --mangle --comments '/^!/' --output docs/assets/js/docs.min.js docs/assets/js/vendor/anchor.min.js docs/assets/js/vendor/clipboard.min.js docs/assets/js/vendor/holder.min.js docs/assets/js/src/application.js",
     "js-test": "phantomjs ./node_modules/qunit-phantomjs-runner/runner.js js/tests/index.html 60",
-    "js-test-cloud": "ruby -run -ehttpd . -p3000 > /dev/null & grunt saucelabs-qunit",
+    "js-test-dep": "npm install grunt && npm install grunt-saucelabs",
+    "js-launch-cloud": "ruby -run -ehttpd . -p3000 > /dev/null & grunt saucelabs-qunit",
+    "js-test-cloud": "npm-run-all js-test-dep js-launch-cloud",
     "docs": "npm-run-all docs-compile docs-lint",
     "docs-lint": "htmlhint --config docs/.htmlhintrc _gh_pages/ js/tests/visual/ && htmllint --rc docs/.htmllintrc _gh_pages/*.html _gh_pages/**/*.html js/tests/visual/*.html",
     "docs-clean": "shx rm -r docs/dist/* && shx cp -r dist/* docs/dist/",
@@ -76,8 +78,6 @@
     "babel-preset-es2015": "^7.0.0-alpha.7",
     "clean-css-cli": "^4.0.12",
     "eslint": "^3.19.0",
-    "grunt": "^1.0.1",
-    "grunt-saucelabs": "^9.0.0",
     "htmlhint": "^0.9.13",
     "htmllint-cli": "^0.0.6",
     "node-sass": "^4.5.2",