Speech as a package - export components #401
5 changed files with 55069 additions and 29 deletions
|
@ -1,16 +1,16 @@
|
|||
import ActiveStatusBar from 'components/ActiveStatusBar';
|
||||
import AssetPreview from 'components/AssetPreview';
|
||||
import ExpandingTextArea from 'components/ExpandingTextArea';
|
||||
import GAListener from 'components/GAListener';
|
||||
import InactiveStatusBar from 'components/InactiveStatusBar';
|
||||
import Logo from 'components/Logo';
|
||||
import NavBarChannelOptionsDropdown from 'components/NavBarChannelOptionsDropdown';
|
||||
import ProgressBar from 'components/ProgressBar';
|
||||
import PublishPreview from 'components/PublishPreview';
|
||||
import PublishUrlMiddleDisplay from 'components/PublishUrlMiddleDisplay';
|
||||
import SEO from 'components/SEO';
|
||||
import ActiveStatusBar from './ActiveStatusBar';
|
||||
import AssetPreview from './AssetPreview';
|
||||
import ExpandingTextArea from './ExpandingTextArea';
|
||||
import GAListener from './GAListener';
|
||||
import InactiveStatusBar from './InactiveStatusBar';
|
||||
import Logo from './Logo';
|
||||
import NavBarChannelOptionsDropdown from './NavBarChannelOptionsDropdown';
|
||||
import ProgressBar from './ProgressBar';
|
||||
import PublishPreview from './PublishPreview';
|
||||
import PublishUrlMiddleDisplay from './PublishUrlMiddleDisplay';
|
||||
import SEO from './SEO';
|
||||
|
||||
const components = {
|
||||
module.exports = {
|
||||
ActiveStatusBar,
|
||||
AssetPreview,
|
||||
ExpandingTextArea,
|
||||
|
@ -22,6 +22,4 @@ const components = {
|
|||
PublishPreview,
|
||||
PublishUrlMiddleDisplay,
|
||||
SEO,
|
||||
}
|
||||
|
||||
export default components;
|
||||
};
|
||||
|
|
9282
index.js
9282
index.js
File diff suppressed because one or more lines are too long
45776
public/bundle/bundle.js
45776
public/bundle/bundle.js
File diff suppressed because one or more lines are too long
|
@ -11,7 +11,7 @@ const http = require('http');
|
|||
// logging dependencies
|
||||
const logger = require('winston');
|
||||
|
||||
function SpeechServer () {
|
||||
function Server () {
|
||||
this.configureMysql = (mysqlConfig) => {
|
||||
require('../config/mysqlConfig.js').configure(mysqlConfig);
|
||||
};
|
||||
|
@ -96,4 +96,4 @@ function SpeechServer () {
|
|||
};
|
||||
};
|
||||
|
||||
module.exports = SpeechServer;
|
||||
module.exports = Server;
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
const server = require('server/server.js');
|
||||
const components = require('client/components');
|
||||
const Server = require('server/server.js');
|
||||
const Components = require('client/components');
|
||||
// const containers = require('client/containers');
|
||||
// const pages = require('client/pages');
|
||||
|
||||
const exports = {
|
||||
SpeechServer: server,
|
||||
Components : components,
|
||||
Server,
|
||||
Components,
|
||||
// containers,
|
||||
// pages,
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue