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:
authorJohann-S <johann.servoire@gmail.com>2017-11-10 13:25:47 +0300
committerXhmikosR <xhmikosr@gmail.com>2017-11-23 11:41:56 +0300
commite8ba37139fcc1677580a6b3fb2a68eef9066e205 (patch)
tree250cd5b44b1bb0359c26b785b25f0b2f28a0097d /package.json
parentcdab56d940b3c4c9714005aa3caa8842f3e4e8c3 (diff)
Allow us to run our unit test on differents jquery version
Diffstat (limited to 'package.json')
-rw-r--r--package.json9
1 files changed, 6 insertions, 3 deletions
diff --git a/package.json b/package.json
index e003847ac5..ea40c32f34 100644
--- a/package.json
+++ b/package.json
@@ -42,7 +42,7 @@
"js-minify-standalone": "uglifyjs --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/js/bootstrap.js.map,includeSources,url=bootstrap.min.js.map\" --output dist/js/bootstrap.min.js dist/js/bootstrap.js",
"js-minify-bundle": "uglifyjs --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/js/bootstrap.bundle.js.map,includeSources,url=bootstrap.bundle.min.js.map\" --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/*.js\"",
- "js-test": "phantomjs ./node_modules/qunit-phantomjs-runner/runner.js js/tests/index.html 60",
+ "js-test": "cross-env USE_OLD_JQUERY=true karma start js/tests/karma.conf.js && karma start js/tests/karma.conf.js",
"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 --parallel css-docs js-docs --sequential docs-compile docs-lint",
"docs-compile": "bundle exec jekyll build",
@@ -94,13 +94,16 @@
"eslint-plugin-compat": "^2.1.0",
"htmllint-cli": "^0.0.6",
"jsunitsaucelabs": "^1.3.0",
+ "karma": "^1.7.1",
+ "karma-chrome-launcher": "^2.2.0",
+ "karma-detect-browsers": "^2.2.6",
+ "karma-firefox-launcher": "^1.0.1",
+ "karma-qunit": "^1.2.1",
"node-sass": "^4.7.1",
"nodemon": "^1.12.1",
"npm-run-all": "^4.1.2",
- "phantomjs-prebuilt": "^2.1.16",
"popper.js": "^1.12.9",
"postcss-cli": "^4.1.1",
- "qunit-phantomjs-runner": "^2.3.0",
"qunitjs": "^2.4.1",
"rollup": "^0.51.8",
"rollup-plugin-babel": "4.0.0-beta.0",