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 ActiveStatusBar from './ActiveStatusBar';
|
||||||
import AssetPreview from 'components/AssetPreview';
|
import AssetPreview from './AssetPreview';
|
||||||
import ExpandingTextArea from 'components/ExpandingTextArea';
|
import ExpandingTextArea from './ExpandingTextArea';
|
||||||
import GAListener from 'components/GAListener';
|
import GAListener from './GAListener';
|
||||||
import InactiveStatusBar from 'components/InactiveStatusBar';
|
import InactiveStatusBar from './InactiveStatusBar';
|
||||||
import Logo from 'components/Logo';
|
import Logo from './Logo';
|
||||||
import NavBarChannelOptionsDropdown from 'components/NavBarChannelOptionsDropdown';
|
import NavBarChannelOptionsDropdown from './NavBarChannelOptionsDropdown';
|
||||||
import ProgressBar from 'components/ProgressBar';
|
import ProgressBar from './ProgressBar';
|
||||||
import PublishPreview from 'components/PublishPreview';
|
import PublishPreview from './PublishPreview';
|
||||||
import PublishUrlMiddleDisplay from 'components/PublishUrlMiddleDisplay';
|
import PublishUrlMiddleDisplay from './PublishUrlMiddleDisplay';
|
||||||
import SEO from 'components/SEO';
|
import SEO from './SEO';
|
||||||
|
|
||||||
const components = {
|
module.exports = {
|
||||||
ActiveStatusBar,
|
ActiveStatusBar,
|
||||||
AssetPreview,
|
AssetPreview,
|
||||||
ExpandingTextArea,
|
ExpandingTextArea,
|
||||||
|
@ -22,6 +22,4 @@ const components = {
|
||||||
PublishPreview,
|
PublishPreview,
|
||||||
PublishUrlMiddleDisplay,
|
PublishUrlMiddleDisplay,
|
||||||
SEO,
|
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
|
// logging dependencies
|
||||||
const logger = require('winston');
|
const logger = require('winston');
|
||||||
|
|
||||||
function SpeechServer () {
|
function Server () {
|
||||||
this.configureMysql = (mysqlConfig) => {
|
this.configureMysql = (mysqlConfig) => {
|
||||||
require('../config/mysqlConfig.js').configure(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 Server = require('server/server.js');
|
||||||
const components = require('client/components');
|
const Components = require('client/components');
|
||||||
// const containers = require('client/containers');
|
// const containers = require('client/containers');
|
||||||
// const pages = require('client/pages');
|
// const pages = require('client/pages');
|
||||||
|
|
||||||
const exports = {
|
const exports = {
|
||||||
SpeechServer: server,
|
Server,
|
||||||
Components : components,
|
Components,
|
||||||
// containers,
|
// containers,
|
||||||
// pages,
|
// pages,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue