fix coverage ts problem

This commit is contained in:
Eugenio Romano
2016-05-31 13:36:29 +01:00
parent c0dc2645bb
commit 2357b52479
15 changed files with 28 additions and 28 deletions

View File

@@ -71,7 +71,7 @@ module.exports = function (config) {
subdir: 'report',
reporters: [
{type: 'text'},
{type: 'json', subdir: '.', file: 'coverage-final.json'},
{type: 'json', file: 'coverage-final.json'},
{type: 'html'}
]
}

View File

@@ -1,7 +1,7 @@
{
"name": "ng2-alfresco-viewer",
"description": "Alfresco documents viewer",
"version": "0.1.5",
"version": "0.1.6",
"author": "Eugenio Romano",
"scripts": {
"typings": "typings install",
@@ -20,7 +20,7 @@
"pretest": "npm run build",
"test": "karma start karma.conf.js --reporters mocha,coverage --single-run",
"test-browser": "karma start karma.conf.js --reporters kjhtml ",
"posttest": "node_modules/.bin/remap-istanbul -i coverage/coverage-final.json -o coverage -t html",
"posttest": "node_modules/.bin/remap-istanbul -i coverage/report/coverage-final.json -o coverage/report -t html",
"coverage": "http-server -c-1 -o -p 9875 ./coverage/report",
"prepublish": "npm run build"
},

View File

@@ -1,7 +1,4 @@
{
"rulesDirectory": [
"node_modules/codelyzer"
],
"rules": {
"align": [
true,