All files / src index.js

100% Statements 11/11
100% Branches 10/10
100% Functions 6/6
100% Lines 11/11
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 211x 1x       11x   13x 13x 9x 7x   1x     2x   2x 2x    
import makeDebug from 'debug'
import services from './services'
// We faced a bug in babel so that transform-runtime with export * from 'x' generates import statements in transpiled code
// Tracked here : https://github.com/babel/babel/issues/2877
// We tested the workaround given here https://github.com/babel/babel/issues/2877#issuecomment-270700000 with success so far
export * from './services'
export * as hooks from './hooks'
export * from './db'
export * from './application'
export * from './marshall'
export * from './common'
 
const debug = makeDebug('kalisio:kCore')
 
export default function init () {
  const app = this
 
  debug('Initializing kalisio core')
  app.configure(services)
}