aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorJohann-S <[email protected]>2020-05-06 07:23:05 +0200
committerJohann-S <[email protected]>2020-05-06 07:55:48 +0200
commit650a7a7b76c8fa82d869194a9db5c01ebe29e33c (patch)
tree3e861e655765a486ef24b9b9369622d3246b0c31 /package.json
parentd1575b6b6bbdcf7cd2371953b4d3d165ae941c02 (diff)
downloadbootstrap-650a7a7b76c8fa82d869194a9db5c01ebe29e33c.tar.xz
bootstrap-650a7a7b76c8fa82d869194a9db5c01ebe29e33c.zip
add unit tests to ensure our plugins works in jquery
Diffstat (limited to 'package.json')
-rw-r--r--package.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/package.json b/package.json
index 5ec1ea3f4..c763076c8 100644
--- a/package.json
+++ b/package.json
@@ -40,11 +40,12 @@
"js-minify-standalone": "terser --compress --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-standalone-esm": "terser --compress --mangle --comments \"/^!/\" --source-map \"content=dist/js/bootstrap.esm.js.map,includeSources,url=bootstrap.esm.min.js.map\" --output dist/js/bootstrap.esm.min.js dist/js/bootstrap.esm.js",
"js-minify-bundle": "terser --compress --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-test": "npm-run-all --parallel js-test-karma js-test-integration",
+ "js-test": "npm-run-all --parallel js-test-karma js-test-jquery js-test-integration",
"js-debug": "cross-env DEBUG=true karma start js/tests/karma.conf.js",
"js-test-karma": "karma start js/tests/karma.conf.js",
"js-test-integration": "rollup --config js/tests/integration/rollup.bundle.js && rollup --config js/tests/integration/rollup.bundle-modularity.js",
"js-test-cloud": "cross-env BROWSER=true npm run js-test-karma",
+ "js-test-jquery": "cross-env JQUERY=true npm run js-test-karma",
"lint": "npm-run-all --parallel js-lint css-lint lockfile-lint",
"docs": "npm-run-all docs-build docs-lint",
"docs-build": "hugo --cleanDestinationDir",
@@ -110,6 +111,7 @@
"hammer-simulator": "0.0.1",
"hugo-bin": "^0.57.2",
"ip": "^1.1.5",
+ "jquery": "^3.5.1",
"karma": "^5.0.4",
"karma-browserstack-launcher": "1.4.0",
"karma-chrome-launcher": "^3.1.0",