mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-02 16:04:07 +03:00
add code coverage
This commit is contained in:
+4
-1
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user