'use strict';

var inquirer = require('inquirer');

module.exports = {
  bowerJSON: {
    dependencies: {
      'ionic': '~1.1.0',
      'angular': '~1.4.5',
      'angular-animate': '~1.4.5',
      'angular-sanitize': '~1.4.5',
      'angular-ui-router': '~0.2.15',
      'ngCordova': '~0.1.17-alpha'
    },
    devDependencies: {
      'angular-mocks': '~1.4.5'
    },
    resolutions: {
      // force newest angular versions (not those from ionic)
      'angular': '~1.4.5',
      'angular-animate': '~1.4.5',
      'angular-sanitize': '~1.4.5',
      'angular-ui-router': '~0.2.15'
    }
  },
  optional: [
    new inquirer.Separator('---- i18n/l10n ----'),
    {
      value: 'angular-dynamic-locale#~0.1.27',
      name: 'angular-dynamic-locale',
      checked: true
    },
    {
      value: 'angular-translate#~2.7.2',
      name: 'angular-translate',
      checked: true
    },
    {
      value: 'angular-translate-loader-static-files#~2.7.2',
      name: 'angular-translate-loader-static-files',
      checked: true
    },
    new inquirer.Separator('---- persistence ----'),
    {
      value: 'angular-localForage#~1.2.3',
      name: 'angular-localForage',
      checked: true
    }
  ]
};

'use strict';

var inquirer = require('inquirer');

module.exports = {
  bowerJSON: {
    dependencies: {
      'ionic': '~1.1.0',
      'angular': '~1.4.5',
      'angular-animate': '~1.4.5',
      'angular-sanitize': '~1.4.5',
      'angular-ui-router': '~0.2.15',
      'ngCordova': '~0.1.17-alpha'
    },
    devDependencies: {
      'angular-mocks': '~1.4.5'
    },
    resolutions: {
      // force newest angular versions (not those from ionic)
      'angular': '~1.4.5',
      'angular-animate': '~1.4.5',
      'angular-sanitize': '~1.4.5',
      'angular-ui-router': '~0.2.15'
    }
  },
  optional: [
    new inquirer.Separator('---- i18n/l10n ----'),
    {
      value: 'angular-dynamic-locale#~0.1.27',
      name: 'angular-dynamic-locale',
      checked: true
    },
    {
      value: 'angular-translate": "~2.8.1',
      name: 'angular-translate',
      checked: true
    },
    {
      value: 'angular-translate-loader-static-files": "~2.8.1',
      name: 'angular-translate-loader-static-files',
      checked: true
    },
    new inquirer.Separator('---- persistence ----'),
    {
      value: 'angular-localForage#~1.2.3',
      name: 'angular-localForage',
      checked: true
    }
  ]
};

work on #247: update bower dependencies