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>2018-03-02 16:15:20 +0300
committerJohann-S <johann.servoire@gmail.com>2018-03-05 12:04:54 +0300
commite43f97304eac2b276c755267e29de70ae2ac7afd (patch)
treee2fb884e0b4035cdac5329b993913acd0333938e /package.json
parentb7a549c8c3265109c447ee758e3119a50c9465ca (diff)
add code coverage
Diffstat (limited to 'package.json')
-rw-r--r--package.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/package.json b/package.json
index 86917288f1..12dd00ed90 100644
--- a/package.json
+++ b/package.json
@@ -33,12 +33,13 @@
"js": "npm-run-all js-lint* js-compile js-minify",
"js-main": "npm-run-all js-lint js-compile js-minify",
"js-docs": "npm-run-all js-lint-docs js-minify-docs",
- "js-lint": "eslint js/ build/",
+ "js-lint": "eslint js/src js/tests build/",
"js-lint-docs": "eslint assets/js/ docs/ sw.js",
"js-compile": "npm-run-all --parallel js-compile-*",
"js-compile-standalone": "rollup --environment BUNDLE:false --config build/rollup.config.js --sourcemap",
"js-compile-bundle": "rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap",
"js-compile-plugins": "cross-env PLUGINS=true babel js/src/ --out-dir js/dist/ --source-maps",
+ "js-compile-plugins-coverage": "cross-env PLUGINS=true NODE_ENV=test babel js/src/ --out-dir js/coverage/dist/ --source-maps",
"js-minify": "npm-run-all --parallel js-minify-*",
"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",
@@ -90,6 +91,7 @@
"@babel/preset-env": "7.0.0-beta.40",
"autoprefixer": "^8.1.0",
"babel-eslint": "^8.2.2",
+ "babel-plugin-istanbul": "^4.1.5",
"babel-plugin-transform-es2015-modules-strip": "^0.1.1",
"bundlesize": "^0.16.0",
"clean-css-cli": "^4.1.11",
@@ -101,6 +103,7 @@
"jsunitsaucelabs": "^1.3.0",
"karma": "^2.0.0",
"karma-chrome-launcher": "^2.2.0",
+ "karma-coverage-istanbul-reporter": "^1.4.1",
"karma-detect-browsers": "^2.2.6",
"karma-firefox-launcher": "^1.1.0",
"karma-qunit": "^1.2.1",