From: Johann-S Date: Thu, 27 Apr 2017 21:03:17 +0000 (+0200) Subject: Fix build by installing grunt dependencies before js-test-cloud X-Git-Tag: v4.0.0-beta~166^2~74 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d336adfafdf2c8edf8715a9d5dc3becaee819483;p=thirdparty%2Fbootstrap.git Fix build by installing grunt dependencies before js-test-cloud --- diff --git a/package.json b/package.json index ab1185bd77..4833746d1a 100644 --- a/package.json +++ b/package.json @@ -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",