1
0
mirror of synced 2025-12-09 15:24:28 +08:00

Add: Coverage report

This commit is contained in:
surunzi
2017-10-14 14:04:33 +08:00
parent b0ae09d77d
commit 66b5e950df
4 changed files with 19 additions and 6 deletions

View File

@@ -4,7 +4,7 @@
"description": "Console for Mobile Browsers",
"main": "eruda.js",
"scripts": {
"ci": "npm run lint && npm run build && npm run test",
"ci": "npm run lint && npm run test && npm run build",
"build": "webpack --config script/webpack.dev.js && webpack -p --config script/webpack.release.js",
"dev": "webpack-dev-server --config script/webpack.dev.js --host 0.0.0.0",
"test": "karma start",
@@ -24,7 +24,10 @@
"format": "commonjs"
},
"test": {
"files": ["test/**/*.js", "test/**/*.html"],
"files": [
"test/**/*.js",
"test/**/*.html"
],
"output": "test/util.js",
"format": "global"
}
@@ -62,9 +65,11 @@
"js-beautify": "^1.6.2",
"json-loader": "^0.5.4",
"karma": "^1.7.0",
"karma-coverage": "^1.1.1",
"karma-jasmine": "^1.1.0",
"karma-jquery": "^0.2.2",
"karma-phantomjs-launcher": "^1.0.4",
"karma-webpack": "^2.0.5",
"karma-wrap-preprocessor": "^0.1.0",
"modernizr": "^3.3.1",
"node-sass": "^4.5.0",