diff options
author | Johann-S <johann.servoire@gmail.com> | 2018-12-13 12:54:54 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2018-12-14 03:08:18 +0300 |
commit | af60644d2f0ae56740ce68d63e81ad0c1b46e912 (patch) | |
tree | b9f2c5a079dd42ef13131b5b6a22a3fe74ba5e6f /package.json | |
parent | db31ee1ea2b3f6550198127636f790de0b154714 (diff) |
integration test to be sure bootstrap can be bundled
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/package.json b/package.json index c54dfeb10a..7f84762f85 100644 --- a/package.json +++ b/package.json @@ -57,11 +57,12 @@ "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": "cross-env-shell uglifyjs --mangle --comments \\\"/^!/\\\" --output site/docs/$npm_package_version_short/assets/js/docs.min.js site/docs/$npm_package_version_short/assets/js/vendor/anchor.min.js site/docs/$npm_package_version_short/assets/js/vendor/clipboard.min.js site/docs/$npm_package_version_short/assets/js/vendor/bs-custom-file-input.min.js \"site/docs/$npm_package_version_short/assets/js/src/*.js\"", - "js-test": "npm-run-all js-test-karma*", + "js-test": "npm-run-all js-test-karma* js-test-integration", "js-test-karma": "karma start js/tests/karma.conf.js", "js-test-karma-old": "cross-env USE_OLD_JQUERY=true npm run js-test-karma", "js-test-karma-bundle": "cross-env BUNDLE=true npm run js-test-karma", "js-test-karma-bundle-old": "cross-env BUNDLE=true USE_OLD_JQUERY=true npm run js-test-karma", + "js-test-integration": "rollup --config js/tests/integration/rollup.bundle.js", "js-test-cloud": "cross-env BROWSER=true npm run js-test-karma", "lint": "npm-run-all js-lint css-lint", "coveralls": "shx cat js/coverage/lcov.info | coveralls", @@ -119,6 +120,7 @@ "hammer-simulator": "0.0.1", "http-server": "^0.11.1", "ip": "^1.1.5", + "jquery": "^3.3.1", "karma": "^3.1.3", "karma-browserstack-launcher": "^1.3.0", "karma-chrome-launcher": "^2.2.0", @@ -135,6 +137,7 @@ "qunit": "^2.8.0", "rollup": "^0.67.4", "rollup-plugin-babel": "^4.0.3", + "rollup-plugin-commonjs": "^9.2.0", "rollup-plugin-node-resolve": "^4.0.0", "shelljs": "^0.8.3", "shx": "^0.3.2", |