mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
#60 log in terminal and copy template file
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
module.exports = function(config) {
|
'use strict';
|
||||||
|
|
||||||
|
module.exports = function (config) {
|
||||||
config.set({
|
config.set({
|
||||||
|
|
||||||
basePath: '.',
|
basePath: '.',
|
||||||
@@ -33,7 +35,9 @@ module.exports = function(config) {
|
|||||||
|
|
||||||
port: 9876,
|
port: 9876,
|
||||||
|
|
||||||
logLevel: config.LOG_DEBUG,
|
// level of logging
|
||||||
|
// possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
|
||||||
|
logLevel: config.LOG_INFO,
|
||||||
|
|
||||||
colors: true,
|
colors: true,
|
||||||
|
|
||||||
@@ -45,11 +49,12 @@ module.exports = function(config) {
|
|||||||
plugins: [
|
plugins: [
|
||||||
'karma-jasmine',
|
'karma-jasmine',
|
||||||
'karma-coverage',
|
'karma-coverage',
|
||||||
'karma-chrome-launcher'
|
'karma-chrome-launcher',
|
||||||
|
'karma-mocha-reporter'
|
||||||
],
|
],
|
||||||
|
|
||||||
// Coverage reporter generates the coverage
|
// Coverage reporter generates the coverage
|
||||||
reporters: ['progress', 'dots', 'coverage'],
|
reporters: ['mocha', 'coverage'],
|
||||||
|
|
||||||
// Source files that you wanna generate coverage for.
|
// Source files that you wanna generate coverage for.
|
||||||
// Do not include tests or libraries (these files will be instrumented by Istanbul)
|
// Do not include tests or libraries (these files will be instrumented by Istanbul)
|
||||||
@@ -58,8 +63,11 @@ module.exports = function(config) {
|
|||||||
},
|
},
|
||||||
|
|
||||||
coverageReporter: {
|
coverageReporter: {
|
||||||
reporters:[
|
dir: 'coverage/',
|
||||||
{type: 'json', subdir: '.', file: 'coverage-final.json'}
|
reporters: [
|
||||||
|
{type: 'text-summary'},
|
||||||
|
{type: 'json', subdir: '.', file: 'coverage-final.json'},
|
||||||
|
{type: 'html'}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@@ -7,10 +7,14 @@
|
|||||||
"postinstall": "npm run typings",
|
"postinstall": "npm run typings",
|
||||||
"typings": "typings install",
|
"typings": "typings install",
|
||||||
"start": "npm run test && http-server -c-1 -o -p 8875 .",
|
"start": "npm run test && http-server -c-1 -o -p 8875 .",
|
||||||
"build": "npm run tslint-test && npm run tslint-src && npm run tslint-root && typings install && rm -rf dist && tsc && license-check",
|
"build": "npm run tslint && typings install && rm -rf dist && tsc && npm run copytemplates && license-check",
|
||||||
|
"tslint": "npm run tslint-test && npm run tslint-src && npm run tslint-root",
|
||||||
"tslint-test": "tslint -c tslint.json test/**/*.ts",
|
"tslint-test": "tslint -c tslint.json test/**/*.ts",
|
||||||
"tslint-src": "tslint -c tslint.json src/**/*.ts",
|
"tslint-src": "tslint -c tslint.json src/**/*.ts",
|
||||||
"tslint-root": "tslint -c tslint.json *.ts",
|
"tslint-root": "tslint -c tslint.json *.ts",
|
||||||
|
"copytemplates": "npm run copy-html && npm run copy-css",
|
||||||
|
"copy-html": "copyfiles './src/**/*.html' dist",
|
||||||
|
"copy-css": "copyfiles './src/**/*.css' dist",
|
||||||
"licensecheck": "license-check",
|
"licensecheck": "license-check",
|
||||||
"tsc": "tsc",
|
"tsc": "tsc",
|
||||||
"pretest": "npm run build",
|
"pretest": "npm run build",
|
||||||
@@ -63,6 +67,7 @@
|
|||||||
"karma-jasmine": "~1.0.2",
|
"karma-jasmine": "~1.0.2",
|
||||||
"license-check": "^1.0.4",
|
"license-check": "^1.0.4",
|
||||||
"remap-istanbul": "^0.6.3",
|
"remap-istanbul": "^0.6.3",
|
||||||
|
"karma-mocha-reporter": "^2.0.3",
|
||||||
"traceur": "^0.0.91",
|
"traceur": "^0.0.91",
|
||||||
"tslint": "^3.8.1",
|
"tslint": "^3.8.1",
|
||||||
"typescript": "^1.8.10",
|
"typescript": "^1.8.10",
|
||||||
|
Reference in New Issue
Block a user