File tree Expand file tree Collapse file tree 6 files changed +19
-3
lines changed Expand file tree Collapse file tree 6 files changed +19
-3
lines changed Original file line number Diff line number Diff line change 11node_modules/**
22test/fixtures/**
3+ dist/**
Original file line number Diff line number Diff line change 1+ var alchemist = require ( 'broccoli-module-alchemist' ) ;
2+
3+ module . exports = function ( ) {
4+ return alchemist ( {
5+ targets : [ 'cjs' ]
6+ } ) ;
7+ } ;
Original file line number Diff line number Diff line change 22 "name" : " fastboot-express-middleware" ,
33 "version" : " 1.0.0-rc.1" ,
44 "description" : " An Express middleware for rendering Ember apps with FastBoot" ,
5- "main" : " index.js" ,
5+ "main" : " src/ index.js" ,
66 "scripts" : {
7+ "build" : " ember build" ,
8+ "prepublish" : " npm run build" ,
9+ "postinstall" : " broccoli-module-alchemist-install" ,
710 "test" : " mocha"
811 },
912 "repository" : {
2528 "devDependencies" : {
2629 "babel-core" : " ^6.11.4" ,
2730 "babel-preset-es2015" : " ^6.9.0" ,
31+ "broccoli-module-alchemist" : " ^0.2.0" ,
2832 "chai" : " ^3.5.0" ,
2933 "chai-as-promised" : " ^5.3.0" ,
34+ "ember-cli" : " ^2.7.0" ,
3035 "express" : " ^4.13.4" ,
3136 "mocha" : " ^2.4.5" ,
3237 "mocha-jshint" : " ^2.3.1" ,
3338 "request-promise" : " ^3.0.0"
3439 },
3540 "dependencies" : {
41+ "broccoli-module-alchemist-install" : " ^0.1.1" ,
3642 "chalk" : " ^1.1.3" ,
3743 "fastboot" : " ^1.0.0-rc.0"
3844 }
File renamed without changes.
Original file line number Diff line number Diff line change 22
33const express = require ( 'express' ) ;
44const request = require ( 'request-promise' ) ;
5- const fastbootMiddleware = require ( '../../index' ) ;
5+ const alchemistRequire = require ( 'broccoli-module-alchemist/require' ) ;
6+ const fastbootMiddleware = alchemistRequire ( 'index' ) ;
67
78let serverID = 0 ;
89
Original file line number Diff line number Diff line change 33const expect = require ( 'chai' ) . expect ;
44const path = require ( 'path' ) ;
55const FastBoot = require ( 'fastboot' ) ;
6- const fastbootMiddleware = require ( '../index' ) ;
6+ const alchemistRequire = require ( 'broccoli-module-alchemist/require' ) ;
7+ const fastbootMiddleware = alchemistRequire ( 'index' ) ;
78const fixture = require ( './helpers/fixture-path' ) ;
89const TestHTTPServer = require ( './helpers/test-http-server' ) ;
910
You can’t perform that action at this time.
0 commit comments