Last active
February 28, 2018 21:10
-
-
Save justincampbell/0677cc71932b54cec5ae2e4f9d7f44b0 to your computer and use it in GitHub Desktop.
import-js Ember aliases/namedExports config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
emptyLineBetweenGroups: false, | |
importDevDependencies: true, | |
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', | |
'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/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'], | |
}, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment