'reflect-metadata' is a package that is a proposal for ES7. It allow for meta data to be included to a class or function; essentially it is syntax sugar. Example. Angular 2 ES6: @Component({selector: "thingy"}) @View({template: "<div><h1>Hello everyone</h1></div>"}) class Thingy{}; As you can see there are no semicolons after @Component and...

One option is to install the latest version from NPM: jspm install npm:mout and use it like this: import equals from 'mout/array/equals'; console.log(equals([1], [2], function() { console.log(arguments); })); ...

To reuse components like this you can create an Aurelia plugin. A plugin is basically some re-usable piece that can be a single code-base shared across applications. You can start your plugin from this skeleton - https://github.com/aurelia/skeleton-plugin In a nutshell all you need to do is download the plugin source...

It's a module bundler. So closer to Browserify. You can, however, set it up in a watch mode easily. That way it deals with the builds on the background while you develop and examine the result in the browser.

Aurelia is just a javascript framework. Aurelia itself won't keep you from using the libraries you love. After installing a library with jspm, just import it and use it. The only trick is knowing what the library exports, but the library should provide you with some documentation. In all likelihood,...

I found a solution and answering my own question here: I finally figured how to install it with jspm, so you just need to give a hint to jspm to install it from npm like so: jspm install npm:google-maps-api After jspm completes installation, standard import works fine: import {mapsapi} from...

Looks like you are running tests in browser which doesn't support Function.prototype.bind. Babel needs this function. You can fix is by karma-phantomjs-shim, or try a new version of browser. Since version 2.0, PhantomJS has this function....

I tested on a clean project and here are the steps that i followed: jspm install jquery jspm install npm:jquery.scrollto -o "{format: 'global'}" - (see this answer) add the imports in my app.js as described in the question. tested both from dev mode and from a self executing bundle with...

from 'customer/ICustomer' For typescript you need to use the complete relative path e.g. ./customer/ICustomer. There is discussion to remove this limitation : https://github.com/Microsoft/TypeScript/issues/2338...

When running on file:/// URLs, you need to set your baseURL to the current path. This can be done with: System.config({ baseURL: '.' }); Either in your configuration file or in the page itself. Note that when you load pages on different path levels, this baseURL path needs to be...