0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01:00

Fix build by installing grunt dependencies before js-test-cloud

This commit is contained in:
Johann-S 2017-04-27 23:03:17 +02:00 committed by GitHub
parent 33715a73d2
commit d336adfafd

View 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",