var fs = require('fs');

var paths = {
    es6: 'es6/**/*.js',
    lib: 'es6/lib/**/*.js',
    test: 'es6/test/**/*.js',
    example: 'example/**/*.js',
    gulp: 'gulp/**/*.js',
    clean: ['./api', './dist', './lib']
};

module.exports = {
    pkg: JSON.parse(fs.readFileSync('package.json')),
    browserify: [{
        entry: 'es6/lib/ceb.js',
        standalone: 'ceb',
        modules: 'umd',
        distName: 'ceb.js',
        distPath: 'dist/standalone',
        min: true,
        watch: true
    }],
    babelify: [{
        src: paths.lib,
        modules: 'common',
        dest: 'lib'
    }, {
        src: paths.lib,
        modules: 'umd',
        dest: 'dist/umd'
    }, {
        src: paths.lib,
        modules: 'amd',
        dest: 'dist/amd'
    }, {
        src: paths.lib,
        modules: 'system',
        dest: 'dist/system'
    }],
    paths: paths,
    sauceTasks: {
        /*ie: ['slIe11', 'slIe10', 'slIe9'],
         evergreen: ['slChrome', 'slFirefox'],
         safari: ['slSafari7', 'slSafari8'],
         android: ['slAndroid4', 'slAndroid5'],*/
        iphone: ['slIPhone7', 'slIPhone8'],
        //ipad: ['slIPad7', 'slIPad8']
    },
    customLaunchers: {
        slChrome: {
            base: 'SauceLabs',
            browserName: 'chrome',
            version: ''
        },
        slFirefox: {
            base: 'SauceLabs',
            browserName: 'firefox',
            version: ''
        },
        slIe11: {
            base: 'SauceLabs',
            browserName: 'internet explorer',
            version: '11'
        },
        slIe10: {
            base: 'SauceLabs',
            browserName: 'internet explorer',
            version: '10'
        },
        slIe9: {
            base: 'SauceLabs',
            browserName: 'internet explorer',
            version: '9'
        },
        slAndroid4: {
            base: 'SauceLabs',
            browserName: 'android',
            version: '4.4'
        },
        slAndroid5: {
            base: 'SauceLabs',
            browserName: 'android',
            version: '5.0'
        },
        slSafari7: {
            base: 'SauceLabs',
            browserName: 'safari',
            version: '7'
        },
        slSafari8: {
            base: 'SauceLabs',
            browserName: 'safari',
            version: '8'
        },
        slIPhone7: {
            base: 'SauceLabs',
            browserName: 'iphone',
            deviceName: 'iPhone Simulator',
            version: '7.1',
            platform: 'OS X 10.10',
            'device-orientation': 'portrait'
        },
        slIPhone8: {
            base: 'SauceLabs',
            browserName: 'iphone',
            deviceName: 'iPhone Simulator',
            version: '8.4',
            platform: 'OS X 10.10',
            'device-orientation': 'portrait'
        },
        slIPad7: {
            base: 'SauceLabs',
            browserName: 'iphone',
            deviceName: 'iPad Simulator',
            version: '7.1',
            platform: 'OS X 10.10',
            'device-orientation': 'portrait'
        },
        slIPad8: {
            base: 'SauceLabs',
            browserName: 'iphone',
            deviceName: 'iPad Simulator',
            version: '8.4',
            platform: 'OS X 10.10',
            'device-orientation': 'portrait'
        }
    }
};

@@ -896,18 +896,16 @@
         
-/*
 ie: %5B'sl
@@ -927,25 +927,24 @@
 , 'slIe9'%5D,%0A
- 
         ever
@@ -973,25 +973,24 @@
 lFirefox'%5D,%0A
- 
         safa
@@ -1029,17 +1029,16 @@
         
- 
 android:
@@ -1070,12 +1070,13 @@
 d5'%5D
-,*/%0A
+/*,%0A 
     
@@ -1127,10 +1127,9 @@
     
-//
+ 
 ipad
@@ -1152,16 +1152,18 @@
 lIPad8'%5D
+*/
 %0A    %7D,%0A

active all tests