Skip to content

Instantly share code, notes, and snippets.

@justincampbell
Last active February 28, 2018 21:10
Show Gist options
  • Save justincampbell/0677cc71932b54cec5ae2e4f9d7f44b0 to your computer and use it in GitHub Desktop.
Save justincampbell/0677cc71932b54cec5ae2e4f9d7f44b0 to your computer and use it in GitHub Desktop.

Revisions

  1. justincampbell revised this gist Feb 28, 2018. No changes.
  2. justincampbell revised this gist Feb 28, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion .importjs.js
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    module.exports = {
    emptyLineBetweenGroups: false,
    importDevDependencies: true,
    groupImports: false,
    aliases: {
    $: 'jquery',
    Application: '@ember/application',
  3. justincampbell revised this gist Feb 28, 2018. 1 changed file with 56 additions and 0 deletions.
    56 changes: 56 additions & 0 deletions .importjs.js
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,21 @@
    module.exports = {
    importDevDependencies: true,
    groupImports: false,
    aliases: {
    $: 'jquery',
    Application: '@ember/application',
    Component: '@ember/component',
    Controller: '@ember/controller',
    DS: 'ember-data',
    Ember: 'ember',
    EmberObject: '@ember/object',
    EmberRouter: '@ember/routing/router',
    Route: '@ember/routing/route',
    hbs: 'htmlbars-inline-precompile',
    helper: '@ember/component/helper',
    },
    namedExports: {
    '@ember/component/helper': ['helper'],
    '@ember/object': [
    'aliasMethod',
    'computed',
    @@ -61,6 +75,48 @@ module.exports = {
    '@ember/object/internals': ['cacheFor', 'copy', 'guidFor'],
    '@ember/object/mixin': ['create'],
    '@ember/object/observers': ['addObserver', 'removeObserver'],
    '@ember/runloop': ['run'],
    '@ember/service': ['inject'],
    'ember-cli-mirage': ['Factory', 'RestSerializer', 'faker'],
    'ember-cli-page-object': [
    'alias',
    'as',
    'attribute',
    'blurrable',
    'clickOnText',
    'clickable',
    'collection',
    'contains',
    'count',
    'create',
    'fillable',
    'focusable',
    'getter',
    'hasClass',
    'isHidden',
    'isPresent',
    'isVisible',
    'is',
    'notHasClass',
    'property',
    'text',
    'triggerable',
    'value',
    'visitable',
    ],
    'ember-concurrency': [
    'all',
    'allSettled',
    'didCancel',
    'hash',
    'race',
    'task',
    'taskGroup',
    'timeout',
    'waitForEvent',
    'waitForProperty',
    'waitForQueue',
    ],
    'ember-qunit': ['moduleFor', 'moduleForComponent', 'moduleForModel', 'test'],
    },
    };
  4. justincampbell revised this gist Feb 28, 2018. No changes.
  5. justincampbell created this gist Feb 28, 2018.
    66 changes: 66 additions & 0 deletions .importjs.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,66 @@
    module.exports = {
    importDevDependencies: true,
    groupImports: false,
    namedExports: {
    '@ember/object': [
    'aliasMethod',
    'computed',
    'create',
    'expandProperties',
    'extend',
    'get',
    'getProperties',
    'getWithDefault',
    'observer',
    'reopen',
    'reopenClass',
    'set',
    'setProperties',
    'trySet',
    ],
    '@ember/object/computed': [
    'alias',
    'and',
    'bool',
    'collect',
    'deprecatingAlias',
    'empty',
    'equal',
    'filter',
    'filterBy',
    'gt',
    'gte',
    'intersect',
    'lt',
    'lte',
    'map',
    'mapBy',
    'match',
    'max',
    'meta',
    'min',
    'none',
    'not',
    'notEmpty',
    'oneWay',
    'or',
    'property',
    'readOnly',
    'readOnly',
    'reads',
    'setDiff',
    'sort',
    'sum',
    'union',
    'uniq',
    'uniqBy',
    'volatile',
    ],
    '@ember/object/evented': ['on'],
    '@ember/object/events': ['addListener', 'removeListener', 'sendEvent'],
    '@ember/object/internals': ['cacheFor', 'copy', 'guidFor'],
    '@ember/object/mixin': ['create'],
    '@ember/object/observers': ['addObserver', 'removeObserver'],
    '@ember/service': ['inject'],
    },
    };