ADDING CUSTOM LIBRARY (store.js) TO EMBER

here is the quick snippet.
first install the library with bower. bower install store-js --save

now edit ember-cli-build.js file and import the library there.

var EmberApp = require('ember-cli/lib/broccoli/ember-app');

module.exports = function(defaults) {
  ...
  // Use app.import to add additional libraries to the generated
  // output files.

  //Javascript files.
  app.import("bower_components/store-js/dist/store.legacy.min.js");

  return app.toTree();
};

now you can use the library anywhere inside ember by its namespace. in store.js case, it is store.

import Ember from 'ember';

const StorageHandler = Ember.Object.extend({

  get(name) {
    console.log('store get will be called');
    return store.get(name);
  }
}