2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

Add coverall to follow our coverage

This commit is contained in:
Johann-S
2018-03-23 15:26:09 +01:00
parent 2ea0a9bba9
commit 31cf1fdd8d
3 changed files with 2608 additions and 2314 deletions
+3 -1
View File
@@ -50,6 +50,7 @@
"js-test-karma-bundle": "cross-env karma start js/tests/karma-bundle.conf.js",
"js-test-karma-bundle-old": "cross-env USE_OLD_JQUERY=true npm run js-test-karma-bundle",
"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",
"coveralls": "shx cat js/coverage/lcov.info | coveralls",
"docs": "npm-run-all --parallel css-docs js-docs --sequential docs-compile docs-lint",
"docs-compile": "bundle exec jekyll build",
"postdocs-compile": "npm run docs-workbox-precache",
@@ -66,7 +67,7 @@
"release-version": "node build/change-version.js",
"release-zip": "cd dist/ && zip -r9 bootstrap-$npm_package_version-dist.zip * && shx mv bootstrap-$npm_package_version-dist.zip ..",
"dist": "npm-run-all --parallel css js",
"test": "npm-run-all dist js-test docs-compile docs-lint bundlesize",
"test": "npm-run-all dist js-test docs-compile docs-lint bundlesize coveralls",
"watch": "npm-run-all --parallel watch-css watch-js",
"watch-css": "nodemon --ignore js/ --ignore dist/ -e scss -x \"npm run css\"",
"watch-js": "nodemon --ignore scss/ --ignore js/dist/ --ignore dist/ -e js -x \"npm run js-compile\""
@@ -97,6 +98,7 @@
"babel-plugin-transform-es2015-modules-strip": "^0.1.1",
"bundlesize": "^0.15.3",
"clean-css-cli": "^4.1.11",
"coveralls": "^3.0.0",
"cross-env": "^5.1.5",
"eslint": "^4.19.1",
"eslint-plugin-compat": "^2.2.0",