diff --git a/.flowconfig b/.flowconfig index ef6f9d9ea..66fe67dae 100644 --- a/.flowconfig +++ b/.flowconfig @@ -1,5 +1,5 @@ [include] -.*/frontend/.* +.*/app/.* .*/server/.* .*/shared/.* @@ -17,7 +17,7 @@ emoji=true module.system.node.resolve_dirname=node_modules -module.system.node.resolve_dirname=frontend +module.system.node.resolve_dirname=app module.name_mapper='^\(.*\)\.s?css$' -> 'empty/object' module.name_mapper='^\(.*\)\.md$' -> 'empty/object' diff --git a/frontend/components/Alert/Alert.js b/app/components/Alert/Alert.js similarity index 100% rename from frontend/components/Alert/Alert.js rename to app/components/Alert/Alert.js diff --git a/frontend/components/Alert/index.js b/app/components/Alert/index.js similarity index 100% rename from frontend/components/Alert/index.js rename to app/components/Alert/index.js diff --git a/frontend/components/Avatar/Avatar.js b/app/components/Avatar/Avatar.js similarity index 100% rename from frontend/components/Avatar/Avatar.js rename to app/components/Avatar/Avatar.js diff --git a/frontend/components/Avatar/index.js b/app/components/Avatar/index.js similarity index 100% rename from frontend/components/Avatar/index.js rename to app/components/Avatar/index.js diff --git a/frontend/components/Button/Button.js b/app/components/Button/Button.js similarity index 100% rename from frontend/components/Button/Button.js rename to app/components/Button/Button.js diff --git a/frontend/components/Button/index.js b/app/components/Button/index.js similarity index 100% rename from frontend/components/Button/index.js rename to app/components/Button/index.js diff --git a/frontend/components/CenteredContent/CenteredContent.js b/app/components/CenteredContent/CenteredContent.js similarity index 100% rename from frontend/components/CenteredContent/CenteredContent.js rename to app/components/CenteredContent/CenteredContent.js diff --git a/frontend/components/CenteredContent/index.js b/app/components/CenteredContent/index.js similarity index 100% rename from frontend/components/CenteredContent/index.js rename to app/components/CenteredContent/index.js diff --git a/frontend/components/Collaborators/Collaborators.js b/app/components/Collaborators/Collaborators.js similarity index 100% rename from frontend/components/Collaborators/Collaborators.js rename to app/components/Collaborators/Collaborators.js diff --git a/frontend/components/Collaborators/index.js b/app/components/Collaborators/index.js similarity index 100% rename from frontend/components/Collaborators/index.js rename to app/components/Collaborators/index.js diff --git a/frontend/components/CopyToClipboard/CopyToClipboard.js b/app/components/CopyToClipboard/CopyToClipboard.js similarity index 100% rename from frontend/components/CopyToClipboard/CopyToClipboard.js rename to app/components/CopyToClipboard/CopyToClipboard.js diff --git a/frontend/components/CopyToClipboard/index.js b/app/components/CopyToClipboard/index.js similarity index 100% rename from frontend/components/CopyToClipboard/index.js rename to app/components/CopyToClipboard/index.js diff --git a/frontend/components/Divider/Divider.js b/app/components/Divider/Divider.js similarity index 100% rename from frontend/components/Divider/Divider.js rename to app/components/Divider/Divider.js diff --git a/frontend/components/Divider/index.js b/app/components/Divider/index.js similarity index 100% rename from frontend/components/Divider/index.js rename to app/components/Divider/index.js diff --git a/frontend/components/DocumentList/DocumentList.js b/app/components/DocumentList/DocumentList.js similarity index 100% rename from frontend/components/DocumentList/DocumentList.js rename to app/components/DocumentList/DocumentList.js diff --git a/frontend/components/DocumentList/index.js b/app/components/DocumentList/index.js similarity index 100% rename from frontend/components/DocumentList/index.js rename to app/components/DocumentList/index.js diff --git a/frontend/components/DocumentPreview/DocumentPreview.js b/app/components/DocumentPreview/DocumentPreview.js similarity index 100% rename from frontend/components/DocumentPreview/DocumentPreview.js rename to app/components/DocumentPreview/DocumentPreview.js diff --git a/frontend/components/DocumentPreview/components/PublishingInfo.js b/app/components/DocumentPreview/components/PublishingInfo.js similarity index 100% rename from frontend/components/DocumentPreview/components/PublishingInfo.js rename to app/components/DocumentPreview/components/PublishingInfo.js diff --git a/frontend/components/DocumentPreview/index.js b/app/components/DocumentPreview/index.js similarity index 100% rename from frontend/components/DocumentPreview/index.js rename to app/components/DocumentPreview/index.js diff --git a/frontend/components/DocumentViews/DocumentViewersStore.js b/app/components/DocumentViews/DocumentViewersStore.js similarity index 100% rename from frontend/components/DocumentViews/DocumentViewersStore.js rename to app/components/DocumentViews/DocumentViewersStore.js diff --git a/frontend/components/DocumentViews/DocumentViews.js b/app/components/DocumentViews/DocumentViews.js similarity index 100% rename from frontend/components/DocumentViews/DocumentViews.js rename to app/components/DocumentViews/DocumentViews.js diff --git a/frontend/components/DocumentViews/components/DocumentViewers/DocumentViewers.js b/app/components/DocumentViews/components/DocumentViewers/DocumentViewers.js similarity index 100% rename from frontend/components/DocumentViews/components/DocumentViewers/DocumentViewers.js rename to app/components/DocumentViews/components/DocumentViewers/DocumentViewers.js diff --git a/frontend/components/DocumentViews/components/DocumentViewers/index.js b/app/components/DocumentViews/components/DocumentViewers/index.js similarity index 100% rename from frontend/components/DocumentViews/components/DocumentViewers/index.js rename to app/components/DocumentViews/components/DocumentViewers/index.js diff --git a/frontend/components/DocumentViews/index.js b/app/components/DocumentViews/index.js similarity index 100% rename from frontend/components/DocumentViews/index.js rename to app/components/DocumentViews/index.js diff --git a/frontend/components/DropToImport/DropToImport.js b/app/components/DropToImport/DropToImport.js similarity index 100% rename from frontend/components/DropToImport/DropToImport.js rename to app/components/DropToImport/DropToImport.js diff --git a/frontend/components/DropToImport/index.js b/app/components/DropToImport/index.js similarity index 100% rename from frontend/components/DropToImport/index.js rename to app/components/DropToImport/index.js diff --git a/frontend/components/DropdownMenu/DropdownMenu.js b/app/components/DropdownMenu/DropdownMenu.js similarity index 100% rename from frontend/components/DropdownMenu/DropdownMenu.js rename to app/components/DropdownMenu/DropdownMenu.js diff --git a/frontend/components/DropdownMenu/DropdownMenuItem.js b/app/components/DropdownMenu/DropdownMenuItem.js similarity index 100% rename from frontend/components/DropdownMenu/DropdownMenuItem.js rename to app/components/DropdownMenu/DropdownMenuItem.js diff --git a/frontend/components/DropdownMenu/index.js b/app/components/DropdownMenu/index.js similarity index 100% rename from frontend/components/DropdownMenu/index.js rename to app/components/DropdownMenu/index.js diff --git a/frontend/components/Editor/Editor.js b/app/components/Editor/Editor.js similarity index 100% rename from frontend/components/Editor/Editor.js rename to app/components/Editor/Editor.js diff --git a/frontend/components/Editor/components/BlockInsert.js b/app/components/Editor/components/BlockInsert.js similarity index 100% rename from frontend/components/Editor/components/BlockInsert.js rename to app/components/Editor/components/BlockInsert.js diff --git a/frontend/components/Editor/components/ClickablePadding/ClickablePadding.js b/app/components/Editor/components/ClickablePadding/ClickablePadding.js similarity index 100% rename from frontend/components/Editor/components/ClickablePadding/ClickablePadding.js rename to app/components/Editor/components/ClickablePadding/ClickablePadding.js diff --git a/frontend/components/Editor/components/ClickablePadding/index.js b/app/components/Editor/components/ClickablePadding/index.js similarity index 100% rename from frontend/components/Editor/components/ClickablePadding/index.js rename to app/components/Editor/components/ClickablePadding/index.js diff --git a/frontend/components/Editor/components/Code.js b/app/components/Editor/components/Code.js similarity index 100% rename from frontend/components/Editor/components/Code.js rename to app/components/Editor/components/Code.js diff --git a/frontend/components/Editor/components/Contents.js b/app/components/Editor/components/Contents.js similarity index 100% rename from frontend/components/Editor/components/Contents.js rename to app/components/Editor/components/Contents.js diff --git a/frontend/components/Editor/components/CopyButton.js b/app/components/Editor/components/CopyButton.js similarity index 100% rename from frontend/components/Editor/components/CopyButton.js rename to app/components/Editor/components/CopyButton.js diff --git a/frontend/components/Editor/components/Heading.js b/app/components/Editor/components/Heading.js similarity index 100% rename from frontend/components/Editor/components/Heading.js rename to app/components/Editor/components/Heading.js diff --git a/frontend/components/Editor/components/HorizontalRule.js b/app/components/Editor/components/HorizontalRule.js similarity index 100% rename from frontend/components/Editor/components/HorizontalRule.js rename to app/components/Editor/components/HorizontalRule.js diff --git a/frontend/components/Editor/components/Image.js b/app/components/Editor/components/Image.js similarity index 100% rename from frontend/components/Editor/components/Image.js rename to app/components/Editor/components/Image.js diff --git a/frontend/components/Editor/components/InlineCode.js b/app/components/Editor/components/InlineCode.js similarity index 100% rename from frontend/components/Editor/components/InlineCode.js rename to app/components/Editor/components/InlineCode.js diff --git a/frontend/components/Editor/components/Link.js b/app/components/Editor/components/Link.js similarity index 100% rename from frontend/components/Editor/components/Link.js rename to app/components/Editor/components/Link.js diff --git a/frontend/components/Editor/components/ListItem.js b/app/components/Editor/components/ListItem.js similarity index 100% rename from frontend/components/Editor/components/ListItem.js rename to app/components/Editor/components/ListItem.js diff --git a/frontend/components/Editor/components/Paragraph.js b/app/components/Editor/components/Paragraph.js similarity index 100% rename from frontend/components/Editor/components/Paragraph.js rename to app/components/Editor/components/Paragraph.js diff --git a/frontend/components/Editor/components/Placeholder.js b/app/components/Editor/components/Placeholder.js similarity index 100% rename from frontend/components/Editor/components/Placeholder.js rename to app/components/Editor/components/Placeholder.js diff --git a/frontend/components/Editor/components/TodoItem.js b/app/components/Editor/components/TodoItem.js similarity index 100% rename from frontend/components/Editor/components/TodoItem.js rename to app/components/Editor/components/TodoItem.js diff --git a/frontend/components/Editor/components/TodoList.js b/app/components/Editor/components/TodoList.js similarity index 100% rename from frontend/components/Editor/components/TodoList.js rename to app/components/Editor/components/TodoList.js diff --git a/frontend/components/Editor/components/Toolbar/Toolbar.js b/app/components/Editor/components/Toolbar/Toolbar.js similarity index 100% rename from frontend/components/Editor/components/Toolbar/Toolbar.js rename to app/components/Editor/components/Toolbar/Toolbar.js diff --git a/frontend/components/Editor/components/Toolbar/components/DocumentResult.js b/app/components/Editor/components/Toolbar/components/DocumentResult.js similarity index 100% rename from frontend/components/Editor/components/Toolbar/components/DocumentResult.js rename to app/components/Editor/components/Toolbar/components/DocumentResult.js diff --git a/frontend/components/Editor/components/Toolbar/components/FormattingToolbar.js b/app/components/Editor/components/Toolbar/components/FormattingToolbar.js similarity index 100% rename from frontend/components/Editor/components/Toolbar/components/FormattingToolbar.js rename to app/components/Editor/components/Toolbar/components/FormattingToolbar.js diff --git a/frontend/components/Editor/components/Toolbar/components/LinkToolbar.js b/app/components/Editor/components/Toolbar/components/LinkToolbar.js similarity index 100% rename from frontend/components/Editor/components/Toolbar/components/LinkToolbar.js rename to app/components/Editor/components/Toolbar/components/LinkToolbar.js diff --git a/frontend/components/Editor/components/Toolbar/components/ToolbarButton.js b/app/components/Editor/components/Toolbar/components/ToolbarButton.js similarity index 100% rename from frontend/components/Editor/components/Toolbar/components/ToolbarButton.js rename to app/components/Editor/components/Toolbar/components/ToolbarButton.js diff --git a/frontend/components/Editor/components/Toolbar/index.js b/app/components/Editor/components/Toolbar/index.js similarity index 100% rename from frontend/components/Editor/components/Toolbar/index.js rename to app/components/Editor/components/Toolbar/index.js diff --git a/frontend/components/Editor/headingToSlug.js b/app/components/Editor/headingToSlug.js similarity index 100% rename from frontend/components/Editor/headingToSlug.js rename to app/components/Editor/headingToSlug.js diff --git a/frontend/components/Editor/index.js b/app/components/Editor/index.js similarity index 100% rename from frontend/components/Editor/index.js rename to app/components/Editor/index.js diff --git a/frontend/components/Editor/insertImage.js b/app/components/Editor/insertImage.js similarity index 100% rename from frontend/components/Editor/insertImage.js rename to app/components/Editor/insertImage.js diff --git a/frontend/components/Editor/plugins.js b/app/components/Editor/plugins.js similarity index 100% rename from frontend/components/Editor/plugins.js rename to app/components/Editor/plugins.js diff --git a/frontend/components/Editor/plugins/EditList.js b/app/components/Editor/plugins/EditList.js similarity index 100% rename from frontend/components/Editor/plugins/EditList.js rename to app/components/Editor/plugins/EditList.js diff --git a/frontend/components/Editor/plugins/KeyboardShortcuts.js b/app/components/Editor/plugins/KeyboardShortcuts.js similarity index 100% rename from frontend/components/Editor/plugins/KeyboardShortcuts.js rename to app/components/Editor/plugins/KeyboardShortcuts.js diff --git a/frontend/components/Editor/plugins/MarkdownShortcuts.js b/app/components/Editor/plugins/MarkdownShortcuts.js similarity index 100% rename from frontend/components/Editor/plugins/MarkdownShortcuts.js rename to app/components/Editor/plugins/MarkdownShortcuts.js diff --git a/frontend/components/Editor/schema.js b/app/components/Editor/schema.js similarity index 100% rename from frontend/components/Editor/schema.js rename to app/components/Editor/schema.js diff --git a/frontend/components/Editor/serializer.js b/app/components/Editor/serializer.js similarity index 100% rename from frontend/components/Editor/serializer.js rename to app/components/Editor/serializer.js diff --git a/frontend/components/Editor/types.js b/app/components/Editor/types.js similarity index 100% rename from frontend/components/Editor/types.js rename to app/components/Editor/types.js diff --git a/frontend/components/Empty/Empty.js b/app/components/Empty/Empty.js similarity index 100% rename from frontend/components/Empty/Empty.js rename to app/components/Empty/Empty.js diff --git a/frontend/components/Empty/index.js b/app/components/Empty/index.js similarity index 100% rename from frontend/components/Empty/index.js rename to app/components/Empty/index.js diff --git a/frontend/components/Flex/Flex.js b/app/components/Flex/Flex.js similarity index 100% rename from frontend/components/Flex/Flex.js rename to app/components/Flex/Flex.js diff --git a/frontend/components/Flex/index.js b/app/components/Flex/index.js similarity index 100% rename from frontend/components/Flex/index.js rename to app/components/Flex/index.js diff --git a/frontend/components/HelpText/HelpText.js b/app/components/HelpText/HelpText.js similarity index 100% rename from frontend/components/HelpText/HelpText.js rename to app/components/HelpText/HelpText.js diff --git a/frontend/components/HelpText/index.js b/app/components/HelpText/index.js similarity index 100% rename from frontend/components/HelpText/index.js rename to app/components/HelpText/index.js diff --git a/frontend/components/Icon/BackIcon.js b/app/components/Icon/BackIcon.js similarity index 100% rename from frontend/components/Icon/BackIcon.js rename to app/components/Icon/BackIcon.js diff --git a/frontend/components/Icon/BoldIcon.js b/app/components/Icon/BoldIcon.js similarity index 100% rename from frontend/components/Icon/BoldIcon.js rename to app/components/Icon/BoldIcon.js diff --git a/frontend/components/Icon/BulletedListIcon.js b/app/components/Icon/BulletedListIcon.js similarity index 100% rename from frontend/components/Icon/BulletedListIcon.js rename to app/components/Icon/BulletedListIcon.js diff --git a/frontend/components/Icon/CheckboxIcon.js b/app/components/Icon/CheckboxIcon.js similarity index 100% rename from frontend/components/Icon/CheckboxIcon.js rename to app/components/Icon/CheckboxIcon.js diff --git a/frontend/components/Icon/CloseIcon.js b/app/components/Icon/CloseIcon.js similarity index 100% rename from frontend/components/Icon/CloseIcon.js rename to app/components/Icon/CloseIcon.js diff --git a/frontend/components/Icon/CodeIcon.js b/app/components/Icon/CodeIcon.js similarity index 100% rename from frontend/components/Icon/CodeIcon.js rename to app/components/Icon/CodeIcon.js diff --git a/frontend/components/Icon/CollapsedIcon.js b/app/components/Icon/CollapsedIcon.js similarity index 100% rename from frontend/components/Icon/CollapsedIcon.js rename to app/components/Icon/CollapsedIcon.js diff --git a/frontend/components/Icon/CollectionIcon.js b/app/components/Icon/CollectionIcon.js similarity index 100% rename from frontend/components/Icon/CollectionIcon.js rename to app/components/Icon/CollectionIcon.js diff --git a/frontend/components/Icon/DocumentIcon.js b/app/components/Icon/DocumentIcon.js similarity index 100% rename from frontend/components/Icon/DocumentIcon.js rename to app/components/Icon/DocumentIcon.js diff --git a/frontend/components/Icon/EditIcon.js b/app/components/Icon/EditIcon.js similarity index 100% rename from frontend/components/Icon/EditIcon.js rename to app/components/Icon/EditIcon.js diff --git a/frontend/components/Icon/GoToIcon.js b/app/components/Icon/GoToIcon.js similarity index 100% rename from frontend/components/Icon/GoToIcon.js rename to app/components/Icon/GoToIcon.js diff --git a/frontend/components/Icon/Heading1Icon.js b/app/components/Icon/Heading1Icon.js similarity index 100% rename from frontend/components/Icon/Heading1Icon.js rename to app/components/Icon/Heading1Icon.js diff --git a/frontend/components/Icon/Heading2Icon.js b/app/components/Icon/Heading2Icon.js similarity index 100% rename from frontend/components/Icon/Heading2Icon.js rename to app/components/Icon/Heading2Icon.js diff --git a/frontend/components/Icon/HomeIcon.js b/app/components/Icon/HomeIcon.js similarity index 100% rename from frontend/components/Icon/HomeIcon.js rename to app/components/Icon/HomeIcon.js diff --git a/frontend/components/Icon/HorizontalRuleIcon.js b/app/components/Icon/HorizontalRuleIcon.js similarity index 100% rename from frontend/components/Icon/HorizontalRuleIcon.js rename to app/components/Icon/HorizontalRuleIcon.js diff --git a/frontend/components/Icon/Icon.js b/app/components/Icon/Icon.js similarity index 100% rename from frontend/components/Icon/Icon.js rename to app/components/Icon/Icon.js diff --git a/frontend/components/Icon/ImageIcon.js b/app/components/Icon/ImageIcon.js similarity index 100% rename from frontend/components/Icon/ImageIcon.js rename to app/components/Icon/ImageIcon.js diff --git a/frontend/components/Icon/ItalicIcon.js b/app/components/Icon/ItalicIcon.js similarity index 100% rename from frontend/components/Icon/ItalicIcon.js rename to app/components/Icon/ItalicIcon.js diff --git a/frontend/components/Icon/LinkIcon.js b/app/components/Icon/LinkIcon.js similarity index 100% rename from frontend/components/Icon/LinkIcon.js rename to app/components/Icon/LinkIcon.js diff --git a/frontend/components/Icon/MoreIcon.js b/app/components/Icon/MoreIcon.js similarity index 100% rename from frontend/components/Icon/MoreIcon.js rename to app/components/Icon/MoreIcon.js diff --git a/frontend/components/Icon/NewDocumentIcon.js b/app/components/Icon/NewDocumentIcon.js similarity index 100% rename from frontend/components/Icon/NewDocumentIcon.js rename to app/components/Icon/NewDocumentIcon.js diff --git a/frontend/components/Icon/NextIcon.js b/app/components/Icon/NextIcon.js similarity index 100% rename from frontend/components/Icon/NextIcon.js rename to app/components/Icon/NextIcon.js diff --git a/frontend/components/Icon/OpenIcon.js b/app/components/Icon/OpenIcon.js similarity index 100% rename from frontend/components/Icon/OpenIcon.js rename to app/components/Icon/OpenIcon.js diff --git a/frontend/components/Icon/OrderedListIcon.js b/app/components/Icon/OrderedListIcon.js similarity index 100% rename from frontend/components/Icon/OrderedListIcon.js rename to app/components/Icon/OrderedListIcon.js diff --git a/frontend/components/Icon/PlusIcon.js b/app/components/Icon/PlusIcon.js similarity index 100% rename from frontend/components/Icon/PlusIcon.js rename to app/components/Icon/PlusIcon.js diff --git a/frontend/components/Icon/SearchIcon.js b/app/components/Icon/SearchIcon.js similarity index 100% rename from frontend/components/Icon/SearchIcon.js rename to app/components/Icon/SearchIcon.js diff --git a/frontend/components/Icon/StarredIcon.js b/app/components/Icon/StarredIcon.js similarity index 100% rename from frontend/components/Icon/StarredIcon.js rename to app/components/Icon/StarredIcon.js diff --git a/frontend/components/Icon/StrikethroughIcon.js b/app/components/Icon/StrikethroughIcon.js similarity index 100% rename from frontend/components/Icon/StrikethroughIcon.js rename to app/components/Icon/StrikethroughIcon.js diff --git a/frontend/components/Icon/TableIcon.js b/app/components/Icon/TableIcon.js similarity index 100% rename from frontend/components/Icon/TableIcon.js rename to app/components/Icon/TableIcon.js diff --git a/frontend/components/Icon/TodoListIcon.js b/app/components/Icon/TodoListIcon.js similarity index 100% rename from frontend/components/Icon/TodoListIcon.js rename to app/components/Icon/TodoListIcon.js diff --git a/frontend/components/Icon/TrashIcon.js b/app/components/Icon/TrashIcon.js similarity index 100% rename from frontend/components/Icon/TrashIcon.js rename to app/components/Icon/TrashIcon.js diff --git a/frontend/components/Icon/index.js b/app/components/Icon/index.js similarity index 100% rename from frontend/components/Icon/index.js rename to app/components/Icon/index.js diff --git a/frontend/components/Input/Input.js b/app/components/Input/Input.js similarity index 100% rename from frontend/components/Input/Input.js rename to app/components/Input/Input.js diff --git a/frontend/components/Input/index.js b/app/components/Input/index.js similarity index 100% rename from frontend/components/Input/index.js rename to app/components/Input/index.js diff --git a/frontend/components/Key/index.js b/app/components/Key/index.js similarity index 100% rename from frontend/components/Key/index.js rename to app/components/Key/index.js diff --git a/frontend/components/Key/key.js b/app/components/Key/key.js similarity index 100% rename from frontend/components/Key/key.js rename to app/components/Key/key.js diff --git a/frontend/components/Labeled/Labeled.js b/app/components/Labeled/Labeled.js similarity index 100% rename from frontend/components/Labeled/Labeled.js rename to app/components/Labeled/Labeled.js diff --git a/frontend/components/Labeled/index.js b/app/components/Labeled/index.js similarity index 100% rename from frontend/components/Labeled/index.js rename to app/components/Labeled/index.js diff --git a/frontend/components/Layout/Layout.js b/app/components/Layout/Layout.js similarity index 100% rename from frontend/components/Layout/Layout.js rename to app/components/Layout/Layout.js diff --git a/frontend/components/Layout/components/HeaderBlock.js b/app/components/Layout/components/HeaderBlock.js similarity index 100% rename from frontend/components/Layout/components/HeaderBlock.js rename to app/components/Layout/components/HeaderBlock.js diff --git a/frontend/components/Layout/components/Modals.js b/app/components/Layout/components/Modals.js similarity index 100% rename from frontend/components/Layout/components/Modals.js rename to app/components/Layout/components/Modals.js diff --git a/frontend/components/Layout/components/SidebarCollections.js b/app/components/Layout/components/SidebarCollections.js similarity index 100% rename from frontend/components/Layout/components/SidebarCollections.js rename to app/components/Layout/components/SidebarCollections.js diff --git a/frontend/components/Layout/components/SidebarLink.js b/app/components/Layout/components/SidebarLink.js similarity index 100% rename from frontend/components/Layout/components/SidebarLink.js rename to app/components/Layout/components/SidebarLink.js diff --git a/frontend/components/Layout/components/Title.js b/app/components/Layout/components/Title.js similarity index 100% rename from frontend/components/Layout/components/Title.js rename to app/components/Layout/components/Title.js diff --git a/frontend/components/Layout/index.js b/app/components/Layout/index.js similarity index 100% rename from frontend/components/Layout/index.js rename to app/components/Layout/index.js diff --git a/frontend/components/LoadingIndicator/LoadingIndicator.js b/app/components/LoadingIndicator/LoadingIndicator.js similarity index 100% rename from frontend/components/LoadingIndicator/LoadingIndicator.js rename to app/components/LoadingIndicator/LoadingIndicator.js diff --git a/frontend/components/LoadingIndicator/LoadingIndicatorBar.js b/app/components/LoadingIndicator/LoadingIndicatorBar.js similarity index 100% rename from frontend/components/LoadingIndicator/LoadingIndicatorBar.js rename to app/components/LoadingIndicator/LoadingIndicatorBar.js diff --git a/frontend/components/LoadingIndicator/index.js b/app/components/LoadingIndicator/index.js similarity index 100% rename from frontend/components/LoadingIndicator/index.js rename to app/components/LoadingIndicator/index.js diff --git a/frontend/components/LoadingListPlaceholder/LoadingListPlaceholder.js b/app/components/LoadingListPlaceholder/LoadingListPlaceholder.js similarity index 100% rename from frontend/components/LoadingListPlaceholder/LoadingListPlaceholder.js rename to app/components/LoadingListPlaceholder/LoadingListPlaceholder.js diff --git a/frontend/components/LoadingListPlaceholder/index.js b/app/components/LoadingListPlaceholder/index.js similarity index 100% rename from frontend/components/LoadingListPlaceholder/index.js rename to app/components/LoadingListPlaceholder/index.js diff --git a/frontend/components/LoadingPlaceholder/ListPlaceholder.js b/app/components/LoadingPlaceholder/ListPlaceholder.js similarity index 100% rename from frontend/components/LoadingPlaceholder/ListPlaceholder.js rename to app/components/LoadingPlaceholder/ListPlaceholder.js diff --git a/frontend/components/LoadingPlaceholder/LoadingPlaceholder.js b/app/components/LoadingPlaceholder/LoadingPlaceholder.js similarity index 100% rename from frontend/components/LoadingPlaceholder/LoadingPlaceholder.js rename to app/components/LoadingPlaceholder/LoadingPlaceholder.js diff --git a/frontend/components/LoadingPlaceholder/components/Mask.js b/app/components/LoadingPlaceholder/components/Mask.js similarity index 100% rename from frontend/components/LoadingPlaceholder/components/Mask.js rename to app/components/LoadingPlaceholder/components/Mask.js diff --git a/frontend/components/LoadingPlaceholder/index.js b/app/components/LoadingPlaceholder/index.js similarity index 100% rename from frontend/components/LoadingPlaceholder/index.js rename to app/components/LoadingPlaceholder/index.js diff --git a/frontend/components/Modal/Modal.js b/app/components/Modal/Modal.js similarity index 100% rename from frontend/components/Modal/Modal.js rename to app/components/Modal/Modal.js diff --git a/frontend/components/Modal/index.js b/app/components/Modal/index.js similarity index 100% rename from frontend/components/Modal/index.js rename to app/components/Modal/index.js diff --git a/frontend/components/PageTitle/PageTitle.js b/app/components/PageTitle/PageTitle.js similarity index 100% rename from frontend/components/PageTitle/PageTitle.js rename to app/components/PageTitle/PageTitle.js diff --git a/frontend/components/PageTitle/index.js b/app/components/PageTitle/index.js similarity index 100% rename from frontend/components/PageTitle/index.js rename to app/components/PageTitle/index.js diff --git a/frontend/components/Popover/Popover.js b/app/components/Popover/Popover.js similarity index 100% rename from frontend/components/Popover/Popover.js rename to app/components/Popover/Popover.js diff --git a/frontend/components/Popover/index.js b/app/components/Popover/index.js similarity index 100% rename from frontend/components/Popover/index.js rename to app/components/Popover/index.js diff --git a/frontend/components/RouteSidebarHidden/RouteSidebarHidden.js b/app/components/RouteSidebarHidden/RouteSidebarHidden.js similarity index 100% rename from frontend/components/RouteSidebarHidden/RouteSidebarHidden.js rename to app/components/RouteSidebarHidden/RouteSidebarHidden.js diff --git a/frontend/components/RouteSidebarHidden/index.js b/app/components/RouteSidebarHidden/index.js similarity index 100% rename from frontend/components/RouteSidebarHidden/index.js rename to app/components/RouteSidebarHidden/index.js diff --git a/frontend/components/ScrollToTop/ScrollToTop.js b/app/components/ScrollToTop/ScrollToTop.js similarity index 100% rename from frontend/components/ScrollToTop/ScrollToTop.js rename to app/components/ScrollToTop/ScrollToTop.js diff --git a/frontend/components/ScrollToTop/index.js b/app/components/ScrollToTop/index.js similarity index 100% rename from frontend/components/ScrollToTop/index.js rename to app/components/ScrollToTop/index.js diff --git a/frontend/components/Scrollable/Scrollable.js b/app/components/Scrollable/Scrollable.js similarity index 100% rename from frontend/components/Scrollable/Scrollable.js rename to app/components/Scrollable/Scrollable.js diff --git a/frontend/components/Scrollable/index.js b/app/components/Scrollable/index.js similarity index 100% rename from frontend/components/Scrollable/index.js rename to app/components/Scrollable/index.js diff --git a/frontend/components/SlackAuthLink/SlackAuthLink.js b/app/components/SlackAuthLink/SlackAuthLink.js similarity index 100% rename from frontend/components/SlackAuthLink/SlackAuthLink.js rename to app/components/SlackAuthLink/SlackAuthLink.js diff --git a/frontend/components/SlackAuthLink/assets/slack_icon.svg b/app/components/SlackAuthLink/assets/slack_icon.svg similarity index 100% rename from frontend/components/SlackAuthLink/assets/slack_icon.svg rename to app/components/SlackAuthLink/assets/slack_icon.svg diff --git a/frontend/components/SlackAuthLink/index.js b/app/components/SlackAuthLink/index.js similarity index 100% rename from frontend/components/SlackAuthLink/index.js rename to app/components/SlackAuthLink/index.js diff --git a/frontend/components/Toasts/Toasts.js b/app/components/Toasts/Toasts.js similarity index 100% rename from frontend/components/Toasts/Toasts.js rename to app/components/Toasts/Toasts.js diff --git a/frontend/components/Toasts/components/Toast.js b/app/components/Toasts/components/Toast.js similarity index 100% rename from frontend/components/Toasts/components/Toast.js rename to app/components/Toasts/components/Toast.js diff --git a/frontend/components/Toasts/index.js b/app/components/Toasts/index.js similarity index 100% rename from frontend/components/Toasts/index.js rename to app/components/Toasts/index.js diff --git a/frontend/components/Tooltip/index.js b/app/components/Tooltip/index.js similarity index 100% rename from frontend/components/Tooltip/index.js rename to app/components/Tooltip/index.js diff --git a/frontend/fonts/atlas/AtlasGrotesk-Black-Web.woff b/app/fonts/atlas/AtlasGrotesk-Black-Web.woff similarity index 100% rename from frontend/fonts/atlas/AtlasGrotesk-Black-Web.woff rename to app/fonts/atlas/AtlasGrotesk-Black-Web.woff diff --git a/frontend/fonts/atlas/AtlasGrotesk-BlackItalic-Web.woff b/app/fonts/atlas/AtlasGrotesk-BlackItalic-Web.woff similarity index 100% rename from frontend/fonts/atlas/AtlasGrotesk-BlackItalic-Web.woff rename to app/fonts/atlas/AtlasGrotesk-BlackItalic-Web.woff diff --git a/frontend/fonts/atlas/AtlasGrotesk-Bold-Web.woff b/app/fonts/atlas/AtlasGrotesk-Bold-Web.woff similarity index 100% rename from frontend/fonts/atlas/AtlasGrotesk-Bold-Web.woff rename to app/fonts/atlas/AtlasGrotesk-Bold-Web.woff diff --git a/frontend/fonts/atlas/AtlasGrotesk-BoldItalic-Web.woff b/app/fonts/atlas/AtlasGrotesk-BoldItalic-Web.woff similarity index 100% rename from frontend/fonts/atlas/AtlasGrotesk-BoldItalic-Web.woff rename to app/fonts/atlas/AtlasGrotesk-BoldItalic-Web.woff diff --git a/frontend/fonts/atlas/AtlasGrotesk-Light-Web.woff b/app/fonts/atlas/AtlasGrotesk-Light-Web.woff similarity index 100% rename from frontend/fonts/atlas/AtlasGrotesk-Light-Web.woff rename to app/fonts/atlas/AtlasGrotesk-Light-Web.woff diff --git a/frontend/fonts/atlas/AtlasGrotesk-LightItalic-Web.woff b/app/fonts/atlas/AtlasGrotesk-LightItalic-Web.woff similarity index 100% rename from frontend/fonts/atlas/AtlasGrotesk-LightItalic-Web.woff rename to app/fonts/atlas/AtlasGrotesk-LightItalic-Web.woff diff --git a/frontend/fonts/atlas/AtlasGrotesk-Medium-Web.woff b/app/fonts/atlas/AtlasGrotesk-Medium-Web.woff similarity index 100% rename from frontend/fonts/atlas/AtlasGrotesk-Medium-Web.woff rename to app/fonts/atlas/AtlasGrotesk-Medium-Web.woff diff --git a/frontend/fonts/atlas/AtlasGrotesk-MediumItalic-Web.woff b/app/fonts/atlas/AtlasGrotesk-MediumItalic-Web.woff similarity index 100% rename from frontend/fonts/atlas/AtlasGrotesk-MediumItalic-Web.woff rename to app/fonts/atlas/AtlasGrotesk-MediumItalic-Web.woff diff --git a/frontend/fonts/atlas/AtlasGrotesk-Regular-Web.woff b/app/fonts/atlas/AtlasGrotesk-Regular-Web.woff similarity index 100% rename from frontend/fonts/atlas/AtlasGrotesk-Regular-Web.woff rename to app/fonts/atlas/AtlasGrotesk-Regular-Web.woff diff --git a/frontend/fonts/atlas/AtlasGrotesk-RegularItalic-Web.woff b/app/fonts/atlas/AtlasGrotesk-RegularItalic-Web.woff similarity index 100% rename from frontend/fonts/atlas/AtlasGrotesk-RegularItalic-Web.woff rename to app/fonts/atlas/AtlasGrotesk-RegularItalic-Web.woff diff --git a/frontend/fonts/atlas/AtlasGrotesk-Thin-Web.woff b/app/fonts/atlas/AtlasGrotesk-Thin-Web.woff similarity index 100% rename from frontend/fonts/atlas/AtlasGrotesk-Thin-Web.woff rename to app/fonts/atlas/AtlasGrotesk-Thin-Web.woff diff --git a/frontend/fonts/atlas/AtlasGrotesk-ThinItalic-Web.woff b/app/fonts/atlas/AtlasGrotesk-ThinItalic-Web.woff similarity index 100% rename from frontend/fonts/atlas/AtlasGrotesk-ThinItalic-Web.woff rename to app/fonts/atlas/AtlasGrotesk-ThinItalic-Web.woff diff --git a/frontend/fonts/atlas/AtlasTypewriterMedium.woff b/app/fonts/atlas/AtlasTypewriterMedium.woff similarity index 100% rename from frontend/fonts/atlas/AtlasTypewriterMedium.woff rename to app/fonts/atlas/AtlasTypewriterMedium.woff diff --git a/frontend/fonts/atlas/AtlasTypewriterRegular.woff b/app/fonts/atlas/AtlasTypewriterRegular.woff similarity index 100% rename from frontend/fonts/atlas/AtlasTypewriterRegular.woff rename to app/fonts/atlas/AtlasTypewriterRegular.woff diff --git a/frontend/index.js b/app/index.js similarity index 100% rename from frontend/index.js rename to app/index.js diff --git a/frontend/menus/AccountMenu.js b/app/menus/AccountMenu.js similarity index 100% rename from frontend/menus/AccountMenu.js rename to app/menus/AccountMenu.js diff --git a/frontend/menus/BlockMenu.js b/app/menus/BlockMenu.js similarity index 100% rename from frontend/menus/BlockMenu.js rename to app/menus/BlockMenu.js diff --git a/frontend/menus/CollectionMenu.js b/app/menus/CollectionMenu.js similarity index 100% rename from frontend/menus/CollectionMenu.js rename to app/menus/CollectionMenu.js diff --git a/frontend/menus/DocumentMenu.js b/app/menus/DocumentMenu.js similarity index 100% rename from frontend/menus/DocumentMenu.js rename to app/menus/DocumentMenu.js diff --git a/frontend/models/BaseModel.js b/app/models/BaseModel.js similarity index 100% rename from frontend/models/BaseModel.js rename to app/models/BaseModel.js diff --git a/frontend/models/Collection.js b/app/models/Collection.js similarity index 100% rename from frontend/models/Collection.js rename to app/models/Collection.js diff --git a/frontend/models/Collection.test.js b/app/models/Collection.test.js similarity index 100% rename from frontend/models/Collection.test.js rename to app/models/Collection.test.js diff --git a/frontend/models/Document.js b/app/models/Document.js similarity index 100% rename from frontend/models/Document.js rename to app/models/Document.js diff --git a/frontend/models/Document.test.js b/app/models/Document.test.js similarity index 100% rename from frontend/models/Document.test.js rename to app/models/Document.test.js diff --git a/frontend/scenes/Collection/Collection.js b/app/scenes/Collection/Collection.js similarity index 100% rename from frontend/scenes/Collection/Collection.js rename to app/scenes/Collection/Collection.js diff --git a/frontend/scenes/Collection/index.js b/app/scenes/Collection/index.js similarity index 100% rename from frontend/scenes/Collection/index.js rename to app/scenes/Collection/index.js diff --git a/frontend/scenes/CollectionDelete/CollectionDelete.js b/app/scenes/CollectionDelete/CollectionDelete.js similarity index 100% rename from frontend/scenes/CollectionDelete/CollectionDelete.js rename to app/scenes/CollectionDelete/CollectionDelete.js diff --git a/frontend/scenes/CollectionDelete/index.js b/app/scenes/CollectionDelete/index.js similarity index 100% rename from frontend/scenes/CollectionDelete/index.js rename to app/scenes/CollectionDelete/index.js diff --git a/frontend/scenes/CollectionEdit/CollectionEdit.js b/app/scenes/CollectionEdit/CollectionEdit.js similarity index 100% rename from frontend/scenes/CollectionEdit/CollectionEdit.js rename to app/scenes/CollectionEdit/CollectionEdit.js diff --git a/frontend/scenes/CollectionEdit/index.js b/app/scenes/CollectionEdit/index.js similarity index 100% rename from frontend/scenes/CollectionEdit/index.js rename to app/scenes/CollectionEdit/index.js diff --git a/frontend/scenes/CollectionNew/CollectionNew.js b/app/scenes/CollectionNew/CollectionNew.js similarity index 100% rename from frontend/scenes/CollectionNew/CollectionNew.js rename to app/scenes/CollectionNew/CollectionNew.js diff --git a/frontend/scenes/CollectionNew/index.js b/app/scenes/CollectionNew/index.js similarity index 100% rename from frontend/scenes/CollectionNew/index.js rename to app/scenes/CollectionNew/index.js diff --git a/frontend/scenes/Dashboard/Dashboard.js b/app/scenes/Dashboard/Dashboard.js similarity index 100% rename from frontend/scenes/Dashboard/Dashboard.js rename to app/scenes/Dashboard/Dashboard.js diff --git a/frontend/scenes/Dashboard/index.js b/app/scenes/Dashboard/index.js similarity index 100% rename from frontend/scenes/Dashboard/index.js rename to app/scenes/Dashboard/index.js diff --git a/frontend/scenes/Document/Document.js b/app/scenes/Document/Document.js similarity index 100% rename from frontend/scenes/Document/Document.js rename to app/scenes/Document/Document.js diff --git a/frontend/scenes/Document/components/DocumentMove/DocumentMove.js b/app/scenes/Document/components/DocumentMove/DocumentMove.js similarity index 100% rename from frontend/scenes/Document/components/DocumentMove/DocumentMove.js rename to app/scenes/Document/components/DocumentMove/DocumentMove.js diff --git a/frontend/scenes/Document/components/DocumentMove/components/PathToDocument.js b/app/scenes/Document/components/DocumentMove/components/PathToDocument.js similarity index 100% rename from frontend/scenes/Document/components/DocumentMove/components/PathToDocument.js rename to app/scenes/Document/components/DocumentMove/components/PathToDocument.js diff --git a/frontend/scenes/Document/components/DocumentMove/index.js b/app/scenes/Document/components/DocumentMove/index.js similarity index 100% rename from frontend/scenes/Document/components/DocumentMove/index.js rename to app/scenes/Document/components/DocumentMove/index.js diff --git a/frontend/scenes/Document/components/LoadingPlaceholder/LoadingPlaceholder.js b/app/scenes/Document/components/LoadingPlaceholder/LoadingPlaceholder.js similarity index 100% rename from frontend/scenes/Document/components/LoadingPlaceholder/LoadingPlaceholder.js rename to app/scenes/Document/components/LoadingPlaceholder/LoadingPlaceholder.js diff --git a/frontend/scenes/Document/components/LoadingPlaceholder/index.js b/app/scenes/Document/components/LoadingPlaceholder/index.js similarity index 100% rename from frontend/scenes/Document/components/LoadingPlaceholder/index.js rename to app/scenes/Document/components/LoadingPlaceholder/index.js diff --git a/frontend/scenes/Document/components/SaveAction/SaveAction.js b/app/scenes/Document/components/SaveAction/SaveAction.js similarity index 100% rename from frontend/scenes/Document/components/SaveAction/SaveAction.js rename to app/scenes/Document/components/SaveAction/SaveAction.js diff --git a/frontend/scenes/Document/components/SaveAction/index.js b/app/scenes/Document/components/SaveAction/index.js similarity index 100% rename from frontend/scenes/Document/components/SaveAction/index.js rename to app/scenes/Document/components/SaveAction/index.js diff --git a/frontend/scenes/Document/index.js b/app/scenes/Document/index.js similarity index 100% rename from frontend/scenes/Document/index.js rename to app/scenes/Document/index.js diff --git a/frontend/scenes/DocumentDelete/DocumentDelete.js b/app/scenes/DocumentDelete/DocumentDelete.js similarity index 100% rename from frontend/scenes/DocumentDelete/DocumentDelete.js rename to app/scenes/DocumentDelete/DocumentDelete.js diff --git a/frontend/scenes/DocumentDelete/index.js b/app/scenes/DocumentDelete/index.js similarity index 100% rename from frontend/scenes/DocumentDelete/index.js rename to app/scenes/DocumentDelete/index.js diff --git a/frontend/scenes/Error404/Error404.js b/app/scenes/Error404/Error404.js similarity index 100% rename from frontend/scenes/Error404/Error404.js rename to app/scenes/Error404/Error404.js diff --git a/frontend/scenes/Error404/index.js b/app/scenes/Error404/index.js similarity index 100% rename from frontend/scenes/Error404/index.js rename to app/scenes/Error404/index.js diff --git a/frontend/scenes/ErrorAuth/ErrorAuth.js b/app/scenes/ErrorAuth/ErrorAuth.js similarity index 100% rename from frontend/scenes/ErrorAuth/ErrorAuth.js rename to app/scenes/ErrorAuth/ErrorAuth.js diff --git a/frontend/scenes/ErrorAuth/index.js b/app/scenes/ErrorAuth/index.js similarity index 100% rename from frontend/scenes/ErrorAuth/index.js rename to app/scenes/ErrorAuth/index.js diff --git a/frontend/scenes/Flatpage/Flatpage.js b/app/scenes/Flatpage/Flatpage.js similarity index 100% rename from frontend/scenes/Flatpage/Flatpage.js rename to app/scenes/Flatpage/Flatpage.js diff --git a/frontend/scenes/Flatpage/index.js b/app/scenes/Flatpage/index.js similarity index 100% rename from frontend/scenes/Flatpage/index.js rename to app/scenes/Flatpage/index.js diff --git a/frontend/scenes/Home/Home.js b/app/scenes/Home/Home.js similarity index 100% rename from frontend/scenes/Home/Home.js rename to app/scenes/Home/Home.js diff --git a/frontend/scenes/Home/index.js b/app/scenes/Home/index.js similarity index 100% rename from frontend/scenes/Home/index.js rename to app/scenes/Home/index.js diff --git a/frontend/scenes/KeyboardShortcuts/KeyboardShortcuts.js b/app/scenes/KeyboardShortcuts/KeyboardShortcuts.js similarity index 100% rename from frontend/scenes/KeyboardShortcuts/KeyboardShortcuts.js rename to app/scenes/KeyboardShortcuts/KeyboardShortcuts.js diff --git a/frontend/scenes/KeyboardShortcuts/index.js b/app/scenes/KeyboardShortcuts/index.js similarity index 100% rename from frontend/scenes/KeyboardShortcuts/index.js rename to app/scenes/KeyboardShortcuts/index.js diff --git a/frontend/scenes/Search/Search.js b/app/scenes/Search/Search.js similarity index 100% rename from frontend/scenes/Search/Search.js rename to app/scenes/Search/Search.js diff --git a/frontend/scenes/Search/components/SearchField/SearchField.js b/app/scenes/Search/components/SearchField/SearchField.js similarity index 100% rename from frontend/scenes/Search/components/SearchField/SearchField.js rename to app/scenes/Search/components/SearchField/SearchField.js diff --git a/frontend/scenes/Search/components/SearchField/index.js b/app/scenes/Search/components/SearchField/index.js similarity index 100% rename from frontend/scenes/Search/components/SearchField/index.js rename to app/scenes/Search/components/SearchField/index.js diff --git a/frontend/scenes/Search/index.js b/app/scenes/Search/index.js similarity index 100% rename from frontend/scenes/Search/index.js rename to app/scenes/Search/index.js diff --git a/frontend/scenes/Settings/Settings.js b/app/scenes/Settings/Settings.js similarity index 100% rename from frontend/scenes/Settings/Settings.js rename to app/scenes/Settings/Settings.js diff --git a/frontend/scenes/Settings/SettingsStore.js b/app/scenes/Settings/SettingsStore.js similarity index 100% rename from frontend/scenes/Settings/SettingsStore.js rename to app/scenes/Settings/SettingsStore.js diff --git a/frontend/scenes/Settings/components/ApiKeyRow/ApiKeyRow.js b/app/scenes/Settings/components/ApiKeyRow/ApiKeyRow.js similarity index 100% rename from frontend/scenes/Settings/components/ApiKeyRow/ApiKeyRow.js rename to app/scenes/Settings/components/ApiKeyRow/ApiKeyRow.js diff --git a/frontend/scenes/Settings/components/ApiKeyRow/index.js b/app/scenes/Settings/components/ApiKeyRow/index.js similarity index 100% rename from frontend/scenes/Settings/components/ApiKeyRow/index.js rename to app/scenes/Settings/components/ApiKeyRow/index.js diff --git a/frontend/scenes/Settings/index.js b/app/scenes/Settings/index.js similarity index 100% rename from frontend/scenes/Settings/index.js rename to app/scenes/Settings/index.js diff --git a/frontend/scenes/SlackAuth/SlackAuth.js b/app/scenes/SlackAuth/SlackAuth.js similarity index 100% rename from frontend/scenes/SlackAuth/SlackAuth.js rename to app/scenes/SlackAuth/SlackAuth.js diff --git a/frontend/scenes/SlackAuth/index.js b/app/scenes/SlackAuth/index.js similarity index 100% rename from frontend/scenes/SlackAuth/index.js rename to app/scenes/SlackAuth/index.js diff --git a/frontend/scenes/Starred/Starred.js b/app/scenes/Starred/Starred.js similarity index 100% rename from frontend/scenes/Starred/Starred.js rename to app/scenes/Starred/Starred.js diff --git a/frontend/scenes/Starred/index.js b/app/scenes/Starred/index.js similarity index 100% rename from frontend/scenes/Starred/index.js rename to app/scenes/Starred/index.js diff --git a/frontend/static/flatpages/api.md b/app/static/flatpages/api.md similarity index 100% rename from frontend/static/flatpages/api.md rename to app/static/flatpages/api.md diff --git a/frontend/static/flatpages/index.js b/app/static/flatpages/index.js similarity index 100% rename from frontend/static/flatpages/index.js rename to app/static/flatpages/index.js diff --git a/frontend/stores/AuthStore.js b/app/stores/AuthStore.js similarity index 100% rename from frontend/stores/AuthStore.js rename to app/stores/AuthStore.js diff --git a/frontend/stores/BaseStore.js b/app/stores/BaseStore.js similarity index 100% rename from frontend/stores/BaseStore.js rename to app/stores/BaseStore.js diff --git a/frontend/stores/CacheStore.js b/app/stores/CacheStore.js similarity index 100% rename from frontend/stores/CacheStore.js rename to app/stores/CacheStore.js diff --git a/frontend/stores/CollectionsStore.js b/app/stores/CollectionsStore.js similarity index 100% rename from frontend/stores/CollectionsStore.js rename to app/stores/CollectionsStore.js diff --git a/frontend/stores/CollectionsStore.test.js b/app/stores/CollectionsStore.test.js similarity index 100% rename from frontend/stores/CollectionsStore.test.js rename to app/stores/CollectionsStore.test.js diff --git a/frontend/stores/DocumentsStore.js b/app/stores/DocumentsStore.js similarity index 100% rename from frontend/stores/DocumentsStore.js rename to app/stores/DocumentsStore.js diff --git a/frontend/stores/ErrorsStore.js b/app/stores/ErrorsStore.js similarity index 100% rename from frontend/stores/ErrorsStore.js rename to app/stores/ErrorsStore.js diff --git a/frontend/stores/ErrorsStore.test.js b/app/stores/ErrorsStore.test.js similarity index 100% rename from frontend/stores/ErrorsStore.test.js rename to app/stores/ErrorsStore.test.js diff --git a/frontend/stores/UiStore.js b/app/stores/UiStore.js similarity index 100% rename from frontend/stores/UiStore.js rename to app/stores/UiStore.js diff --git a/frontend/stores/index.js b/app/stores/index.js similarity index 100% rename from frontend/stores/index.js rename to app/stores/index.js diff --git a/frontend/styles/animations.js b/app/styles/animations.js similarity index 100% rename from frontend/styles/animations.js rename to app/styles/animations.js diff --git a/frontend/styles/base.css b/app/styles/base.css similarity index 100% rename from frontend/styles/base.css rename to app/styles/base.css diff --git a/frontend/styles/constants.js b/app/styles/constants.js similarity index 100% rename from frontend/styles/constants.js rename to app/styles/constants.js diff --git a/frontend/styles/fonts.css b/app/styles/fonts.css similarity index 100% rename from frontend/styles/fonts.css rename to app/styles/fonts.css diff --git a/frontend/styles/prism.css b/app/styles/prism.css similarity index 100% rename from frontend/styles/prism.css rename to app/styles/prism.css diff --git a/frontend/styles/transitions.css b/app/styles/transitions.css similarity index 100% rename from frontend/styles/transitions.css rename to app/styles/transitions.css diff --git a/frontend/types/index.js b/app/types/index.js similarity index 100% rename from frontend/types/index.js rename to app/types/index.js diff --git a/frontend/utils/ApiClient.js b/app/utils/ApiClient.js similarity index 100% rename from frontend/utils/ApiClient.js rename to app/utils/ApiClient.js diff --git a/frontend/utils/__mocks__/ApiClient.js b/app/utils/__mocks__/ApiClient.js similarity index 100% rename from frontend/utils/__mocks__/ApiClient.js rename to app/utils/__mocks__/ApiClient.js diff --git a/frontend/utils/getDataTransferFiles.js b/app/utils/getDataTransferFiles.js similarity index 100% rename from frontend/utils/getDataTransferFiles.js rename to app/utils/getDataTransferFiles.js diff --git a/frontend/utils/random.js b/app/utils/random.js similarity index 100% rename from frontend/utils/random.js rename to app/utils/random.js diff --git a/frontend/utils/routeHelpers.js b/app/utils/routeHelpers.js similarity index 100% rename from frontend/utils/routeHelpers.js rename to app/utils/routeHelpers.js diff --git a/frontend/utils/uploadFile.js b/app/utils/uploadFile.js similarity index 100% rename from frontend/utils/uploadFile.js rename to app/utils/uploadFile.js diff --git a/package.json b/package.json index 0206a7219..d30e3667c 100644 --- a/package.json +++ b/package.json @@ -10,14 +10,14 @@ "start": "node index.js", "dev": "NODE_ENV=development DEBUG=sql,cache,presenters ./node_modules/.bin/nodemon --inspect --watch server index.js", "lint": "npm run lint:flow && npm run lint:js", - "lint:js": "eslint frontend", + "lint:js": "eslint app", "lint:flow": "flow", "deploy": "git push heroku master", "heroku-postbuild": "npm run build && npm run sequelize:migrate", "sequelize:create-migration": "sequelize migration:create", "sequelize:migrate": "sequelize db:migrate", - "test": "npm run test:frontend && npm run test:server", - "test:frontend": "jest", + "test": "npm run test:app && npm run test:server", + "test:app": "jest", "test:server": "jest --config=server/.jestconfig.json --runInBand --forceExit", "precommit": "lint-staged" }, @@ -30,7 +30,7 @@ "jest": { "verbose": false, "roots": [ - "frontend" + "app" ], "moduleNameMapper": { "^.*[.](s?css|css)$": "/__mocks__/styleMock.js", @@ -45,7 +45,7 @@ "node_modules" ], "modulePaths": [ - "frontend" + "app" ], "setupFiles": [ "/setupJest.js", diff --git a/webpack.config.dev.js b/webpack.config.dev.js index a09773b95..640cd2e47 100644 --- a/webpack.config.dev.js +++ b/webpack.config.dev.js @@ -12,7 +12,7 @@ const developmentWebpackConfig = Object.assign(commonWebpackConfig, { 'babel-polyfill', 'babel-regenerator-runtime', 'webpack-hot-middleware/client', - './frontend/index', + './app/index', ], }); diff --git a/webpack.config.js b/webpack.config.js index 5e33b37a8..563498296 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -29,7 +29,7 @@ module.exports = { test: /\.js$/, loader: 'babel', include: [ - path.join(__dirname, 'frontend'), + path.join(__dirname, 'app'), path.join(__dirname, 'shared'), ], }, @@ -50,7 +50,7 @@ module.exports = { noParse: [new RegExp('node_modules/localforage/dist/localforage.js')], }, resolve: { - root: path.join(__dirname, 'frontend'), + root: path.join(__dirname, 'app'), // you can now require('file') instead of require('file.json') extensions: ['', '.js', '.json'], }, diff --git a/webpack.config.prod.js b/webpack.config.prod.js index f3e0b0dfa..a17b872e3 100644 --- a/webpack.config.prod.js +++ b/webpack.config.prod.js @@ -9,7 +9,7 @@ commonWebpackConfig = require('./webpack.config'); productionWebpackConfig = Object.assign(commonWebpackConfig, { cache: true, devtool: 'source-map', - entry: ['babel-polyfill', 'babel-regenerator-runtime', './frontend/index'], + entry: ['babel-polyfill', 'babel-regenerator-runtime', './app/index'], output: { path: path.join(__dirname, 'dist'), filename: 'bundle.[hash].js',