loopback-boot/test/helpers
John McLaughlin 2b596c8c8b
Support es2015 module exports (Babel, TypeScript)
Detect when a script file is an es2015 module created by
a transpiler like Babel or TypeScript and use the `default`
export instead of `module.exports` in such case.

The following artefacts support the new syntax now:

  - boot scripts
  - components
  - middleware
  - model scripts
2017-06-26 14:35:43 +02:00
..
appdir.js update copyright notices and license 2016-05-05 21:52:36 -07:00
browser.js Fix browser tests on Node.js 0.10 2017-03-24 12:04:25 +01:00
browserify.js update copyright notices and license 2016-05-05 21:52:36 -07:00
push-name-middleware.js update copyright notices and license 2016-05-05 21:52:36 -07:00
sandbox.js update copyright notices and license 2016-05-05 21:52:36 -07:00
set-umd-middleware.js Support es2015 module exports (Babel, TypeScript) 2017-06-26 14:35:43 +02:00