How to use the ember-cli/lib/broccoli/ember-addon.env function in ember-cli

To help you get started, we’ve selected a few ember-cli examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github rajasegar / ember-aria-checkbox / ember-cli-build.js View on Github external
module.exports = function(defaults) {
  let app = new EmberAddon(defaults, {
    // Add options here
    'ember-cli-babel': {
      'includePolyfill': (EmberAddon.env() === 'test')
    }
  });

  /*
    This build file specifies the options for the dummy test app of this
    addon, located in `/tests/dummy`
    This build file does *not* influence how the addon or the app using it
    behave. You most likely want to be modifying `./index.js` or app's build file
  */

  return app.toTree();
};
github rajasegar / ember-aria-slider / ember-cli-build.js View on Github external
module.exports = function(defaults) {
  let app = new EmberAddon(defaults, {
    // Add options here
    'ember-cli-babel': {
      'includePolyfill': (EmberAddon.env() === 'test')
    }
  });

  /*
    This build file specifies the options for the dummy test app of this
    addon, located in `/tests/dummy`
    This build file does *not* influence how the addon or the app using it
    behave. You most likely want to be modifying `./index.js` or app's build file
  */

  return app.toTree();
};
github Exelord / ember-initials / ember-cli-build.js View on Github external
module.exports = function (defaults) {
  let config = defaults.project.config(EmberAddon.env());

  let app = new EmberAddon(defaults, {
    sassOptions: {
      extension: 'sass',
    },
    fingerprint: {
      exclude: ['apple-touch-icon', 'favicon', 'mstile']
    },
    'ember-bootstrap': {
      bootstrapVersion: 3
    },
    favicons: {
      faviconsConfig: {
        appName: 'Ember Initials',
        appDescription: 'Ember Initials is a package for generating simple avatars with users initials. It support Ember 2 apps. Thanks to highly customizable interface you can define your own colors, defaults and styles.',
        developerName: 'Exelord',
github Exelord / ember-custom-actions / ember-cli-build.js View on Github external
module.exports = function(defaults) {
  let config = defaults.project.config(EmberAddon.env());

  let app = new EmberAddon(defaults, {
    sassOptions: {
      extension: 'sass'
    },
    pretender: {
      enabled: true
    },
    'ember-bootstrap': {
      bootstrapVersion: 3
    },
    favicons: {
      faviconsConfig: {
        appName: 'Ember Custom Actions',
        appDescription: 'Trigger custom API actions for Ember 2 applications and communicate with non-CRUD API servers',
        developerName: 'Exelord',
github dustinfarris / ember-cashay / ember-cli-build.js View on Github external
module.exports = function(defaults) {
  var app = new EmberAddon(defaults, {
    'ember-cashay': {
      rootDirectory: path.join('tests', 'dummy')
    },
    babel: {
      includePolyfill: EmberAddon.env() === 'test'
    }
  });

  /*
    This build file specifies the options for the dummy test app of this
    addon, located in `/tests/dummy`
    This build file does *not* influence how the addon or the app using it
    behave. You most likely want to be modifying `./index.js` or app's build file
  */
  return app.toTree();
};
github Motokaptia / ember-cli-prerender / ember-cli-build.js View on Github external
'ember-cli-prerender': {
      sitemap: {

        /**
         * Your Ember app's internet address.
         * All relative paths in your sitemap will be prefixed with this.
         */
        rootUrl: 'https://mydummyapp.com/',

      },
    },
    'ember-cli-babel': {
      /**
       * Fix for es6 errors in phantomjs tests
       */
      includePolyfill: (EmberAddon.env() === 'test'),
    },
  });

  /*
    This build file specifies the options for the dummy test app of this
    addon, located in `/tests/dummy`
    This build file does *not* influence how the addon or the app using it
    behave. You most likely want to be modifying `./index.js` or app's build file
  */

  return app.toTree();
};