Sha256: 800a3fcda2d9b444e3c809b1ada419eb2984b89eb021effa5323e39e65d4d9ef
Contents?: true
Size: 1.38 KB
Versions: 2
Compression:
Stored size: 1.38 KB
Contents
var webpack = require('webpack'); var path = require('path'); module.exports = function (config) { config.set({ browsers: ['PhantomJS'], singleRun: false, frameworks: ['mocha', 'chai', 'chai-sinon', 'phantomjs-shim'], files: [ 'node_modules/babel-polyfill/dist/polyfill.js', 'spec/*spec.js', 'spec/**/*spec.js' ], exclude: [ 'flycheck_*.js', '**/flycheck_*.js', '*/**/flycheck_*.js', ], preprocessors: { 'spec/*spec.js': ['webpack', 'sourcemap'], 'spec/**/*spec.js': ['webpack', 'sourcemap'] }, reporters: ['dots'], plugins: [ 'karma-webpack', 'karma-sourcemap-loader', 'karma-mocha', 'karma-chai', 'karma-chai-sinon', require('karma-phantomjs-shim'), 'karma-phantomjs-launcher' ], webpack: { devtool: 'inline-source-map', plugins: [ new webpack.DefinePlugin({ PAGEFLOW_EDITOR: false }) ], module: { loaders: [ { test: /\.jsx?$/, exclude: /node_modules/, loader: 'babel-loader?stage=0&optional[]=runtime' }, { test: require.resolve('react'), loader: 'expose?React' } ] }, resolve: { root: path.resolve('./src') } }, webpackServer: { noInfo: true } }); };
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pageflow-react-0.1.1 | js/karma.conf.js |
pageflow-react-0.1.0 | js/karma.conf.js |