pomy
Version:
Based on the concept of a project object model (POM), POMY can manage a project's build, reporting and documentation from a central piece of information.
38 lines (35 loc) • 850 B
JavaScript
'use strict';
var fullWebpackConfig = require('./webpack.config.js');
fullWebpackConfig.devtool = 'eval';
fullWebpackConfig.cache = true;
module.exports = function(config) {
return config.set({
basePath: '',
frameworks: ['jasmine'],
files: [
'public/docs/classes/classes.all.js',
'public/docs/js/**/*.spec.js'
],
exclude: [],
preprocessors: {
'public/docs/classes/classes.all.js': ['webpack'],
'public/docs/js/**/*.spec.js': ['webpack']
},
webpack: fullWebpackConfig,
webpackServer: {
noInfo: true
},
reporters: ['progress'],
port: 9876,
colors: true,
logLevel: config.LOG_INFO,
autoWatch: true,
browsers: ['PhantomJS'],
plugins: [
'karma-phantomjs-launcher',
'karma-jasmine',
'karma-webpack'
],
singleRun: false
});
};