generator-fatarrow
Version:
33 lines (31 loc) • 620 B
text/coffeescript
{DIST_DIRECTORY, STATS_DIST_DIRECTORY} = require './tasks/constants'
{SCRIPTS} = require './config/scripts'
sources = [].concat SCRIPTS, '**/*.html'
module.exports = (config) ->
config.set
autoWatch: false
basePath: 'dist'
browsers: [
'PhantomJS'
]
coverageReporter:
type: 'html'
dir : '../coverage/'
files: sources
frameworks: [
'jasmine'
]
logLevel: 'WARN'
ngHtml2JsPreprocessor:
stripPrefix: 'dist/'
port: 9877
preprocessors:
'**/*.html': 'ng-html2js'
'**/*.js' : 'coverage'
reporters: [
'spec'
'coverage'
]
singleRun: true
proxies:
'/img': '/src/img'