From d1c1987014e47faad4e5f202822bacadcdca6b5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Mon, 5 Mar 2018 15:34:43 +0100 Subject: [PATCH] refactor: new project structure --- react_full_project/.babelrc => .babelrc | 0 .gitignore | 1 + package.json | 80 +- .../public => public}/favicon.ico | Bin .../public => public}/img/avatars/1.jpg | Bin .../public => public}/img/avatars/2.jpg | Bin .../public => public}/img/avatars/3.jpg | Bin .../public => public}/img/avatars/4.jpg | Bin .../public => public}/img/avatars/5.jpg | Bin .../public => public}/img/avatars/6.jpg | Bin .../public => public}/img/avatars/7.jpg | Bin .../public => public}/img/avatars/8.jpg | Bin .../public => public}/img/brand/logo.svg | 0 .../public => public}/img/brand/sygnet.svg | 0 .../public => public}/index.html | 0 .../public => public}/scss/_custom.scss | 0 .../public => public}/scss/_variables.scss | 0 .../public => public}/scss/style.scss | 0 .../scss/vendors/_variables.scss | 0 react_full_project/.gitignore | 19 - react_full_project/README.md | 1244 ----------------- react_full_project/package.json | 57 - react_starter/.babelrc | 6 - react_starter/.gitignore | 19 - react_starter/README.md | 1244 ----------------- react_starter/package.json | 57 - react_starter/public/favicon.ico | Bin 1150 -> 0 bytes react_starter/public/img/brand/logo.svg | 53 - react_starter/public/img/brand/sygnet.svg | 53 - react_starter/public/index.html | 55 - react_starter/public/scss/_custom.scss | 1 - react_starter/public/scss/_variables.scss | 1 - react_starter/public/scss/style.scss | 8 - .../public/scss/vendors/_variables.scss | 7 - react_starter/src/components/Aside/Aside.js | 14 - .../src/components/Aside/package.json | 6 - .../src/components/Breadcrumb/Breadcrumb.js | 55 - .../src/components/Breadcrumb/package.json | 6 - react_starter/src/components/Footer/Footer.js | 14 - .../src/components/Footer/package.json | 6 - react_starter/src/components/Header/Header.js | 49 - .../src/components/Header/package.json | 6 - .../src/components/Sidebar/Sidebar.js | 164 --- react_starter/src/components/Sidebar/_nav.js | 13 - .../src/components/Sidebar/package.json | 6 - .../components/SidebarFooter/SidebarFooter.js | 14 - .../src/components/SidebarFooter/package.json | 6 - .../src/components/SidebarForm/SidebarForm.js | 14 - .../src/components/SidebarForm/package.json | 6 - .../components/SidebarHeader/SidebarHeader.js | 14 - .../src/components/SidebarHeader/package.json | 6 - .../SidebarMinimizer/SidebarMinimizer.js | 20 - .../components/SidebarMinimizer/package.json | 6 - react_starter/src/containers/Full/Full.js | 36 - .../src/containers/Full/package.json | 6 - react_starter/src/index.js | 26 - react_starter/src/routes.js | 5 - .../src/views/Dashboard/Dashboard.js | 14 - .../src/views/Dashboard/package.json | 6 - react_starter/webpack.config.js | 112 -- .../src => src}/components/Aside/Aside.js | 0 .../src => src}/components/Aside/package.json | 0 .../components/Breadcrumb/Breadcrumb.js | 0 .../components/Breadcrumb/package.json | 0 .../src => src}/components/Footer/Footer.js | 0 .../components/Footer/package.json | 0 .../src => src}/components/Header/Header.js | 0 .../components/Header/HeaderDropdown.js | 0 .../components/Header/package.json | 0 .../src => src}/components/Sidebar/Sidebar.js | 0 .../src => src}/components/Sidebar/_nav.js | 0 .../components/Sidebar/package.json | 0 .../components/SidebarFooter/SidebarFooter.js | 0 .../components/SidebarFooter/package.json | 0 .../components/SidebarForm/SidebarForm.js | 0 .../components/SidebarForm/package.json | 0 .../components/SidebarHeader/SidebarHeader.js | 0 .../components/SidebarHeader/package.json | 0 .../SidebarMinimizer/SidebarMinimizer.js | 0 .../components/SidebarMinimizer/package.json | 0 .../src => src}/containers/Full/Full.js | 0 .../src => src}/containers/Full/package.json | 0 {react_full_project/src => src}/index.js | 0 {react_full_project/src => src}/routes.js | 0 .../views/Base/Breadcrumbs/Breadcrumbs.js | 0 .../views/Base/Breadcrumbs/package.json | 0 .../src => src}/views/Base/Cards/Cards.js | 0 .../src => src}/views/Base/Cards/package.json | 0 .../views/Base/Carousels/Carousels.js | 0 .../views/Base/Carousels/package.json | 0 .../views/Base/Collapses/Collapses.js | 0 .../views/Base/Collapses/package.json | 0 .../views/Base/Dropdowns/Dropdowns.js | 0 .../views/Base/Dropdowns/package.json | 0 .../src => src}/views/Base/Forms/Forms.js | 0 .../src => src}/views/Base/Forms/package.json | 0 .../views/Base/Jumbotrons/Jumbotrons.js | 0 .../views/Base/Jumbotrons/package.json | 0 .../views/Base/ListGroups/ListGroups.js | 0 .../views/Base/ListGroups/package.json | 0 .../src => src}/views/Base/Navbars/Navbars.js | 0 .../views/Base/Navbars/package.json | 0 .../src => src}/views/Base/Navs/Navs.js | 0 .../src => src}/views/Base/Navs/package.json | 0 .../views/Base/Paginations/Pagnations.js | 0 .../views/Base/Paginations/package.json | 0 .../views/Base/Popovers/Popovers.js | 0 .../views/Base/Popovers/package.json | 0 .../views/Base/ProgressBar/ProgressBar.js | 0 .../views/Base/ProgressBar/package.json | 0 .../views/Base/Switches/Switches.js | 0 .../views/Base/Switches/package.json | 0 .../src => src}/views/Base/Tables/Tables.js | 0 .../views/Base/Tables/package.json | 0 .../src => src}/views/Base/Tabs/Tabs.js | 0 .../src => src}/views/Base/Tabs/package.json | 0 .../views/Base/Tooltips/Tooltips.js | 0 .../views/Base/Tooltips/package.json | 0 .../ButtonDropdowns/ButtonDropdowns.js | 0 .../Buttons/ButtonDropdowns/package.json | 0 .../Buttons/ButtonGroups/ButtonGroups.js | 0 .../views/Buttons/ButtonGroups/package.json | 0 .../views/Buttons/Buttons/Buttons.js | 0 .../views/Buttons/Buttons/package.json | 0 .../Buttons/SocialButtons/SocialButtons.js | 0 .../views/Buttons/SocialButtons/package.json | 0 .../src => src}/views/Charts/Charts.js | 0 .../src => src}/views/Charts/package.json | 0 .../src => src}/views/Dashboard/Dashboard.js | 0 .../src => src}/views/Dashboard/package.json | 0 .../src => src}/views/Icons/Flags/Flags.js | 0 .../views/Icons/Flags/package.json | 0 .../views/Icons/FontAwesome/FontAwesome.js | 0 .../views/Icons/FontAwesome/package.json | 0 .../Icons/SimpleLineIcons/SimpleLineIcons.js | 0 .../views/Icons/SimpleLineIcons/package.json | 0 .../views/Notifications/Alerts/Alerts.js | 0 .../views/Notifications/Alerts/package.json | 0 .../views/Notifications/Badges/Badges.js | 0 .../views/Notifications/Badges/package.json | 0 .../views/Notifications/Modals/Modals.js | 0 .../views/Notifications/Modals/package.json | 0 .../src => src}/views/Pages/Login/Login.js | 0 .../views/Pages/Login/package.json | 0 .../views/Pages/Page404/Page404.js | 0 .../views/Pages/Page404/package.json | 0 .../views/Pages/Page500/Page500.js | 0 .../views/Pages/Page500/package.json | 0 .../views/Pages/Register/Register.js | 0 .../views/Pages/Register/package.json | 0 .../src => src}/views/Theme/Colors/Colors.js | 0 .../views/Theme/Colors/package.json | 0 .../views/Theme/Typography/Typography.js | 0 .../views/Theme/Typography/package.json | 0 .../src => src}/views/Widgets/Widget01.js | 0 .../src => src}/views/Widgets/Widget02.js | 0 .../src => src}/views/Widgets/Widget03.js | 0 .../src => src}/views/Widgets/Widget04.js | 0 .../src => src}/views/Widgets/Widgets.js | 0 .../src => src}/views/Widgets/package.json | 0 .../webpack.config.js => webpack.config.js | 0 161 files changed, 53 insertions(+), 3482 deletions(-) rename react_full_project/.babelrc => .babelrc (100%) rename {react_full_project/public => public}/favicon.ico (100%) rename {react_full_project/public => public}/img/avatars/1.jpg (100%) rename {react_full_project/public => public}/img/avatars/2.jpg (100%) rename {react_full_project/public => public}/img/avatars/3.jpg (100%) rename {react_full_project/public => public}/img/avatars/4.jpg (100%) rename {react_full_project/public => public}/img/avatars/5.jpg (100%) rename {react_full_project/public => public}/img/avatars/6.jpg (100%) rename {react_full_project/public => public}/img/avatars/7.jpg (100%) rename {react_full_project/public => public}/img/avatars/8.jpg (100%) rename {react_full_project/public => public}/img/brand/logo.svg (100%) rename {react_full_project/public => public}/img/brand/sygnet.svg (100%) rename {react_full_project/public => public}/index.html (100%) rename {react_full_project/public => public}/scss/_custom.scss (100%) rename {react_full_project/public => public}/scss/_variables.scss (100%) rename {react_full_project/public => public}/scss/style.scss (100%) rename {react_full_project/public => public}/scss/vendors/_variables.scss (100%) delete mode 100644 react_full_project/.gitignore delete mode 100644 react_full_project/README.md delete mode 100644 react_full_project/package.json delete mode 100644 react_starter/.babelrc delete mode 100644 react_starter/.gitignore delete mode 100644 react_starter/README.md delete mode 100644 react_starter/package.json delete mode 100644 react_starter/public/favicon.ico delete mode 100644 react_starter/public/img/brand/logo.svg delete mode 100644 react_starter/public/img/brand/sygnet.svg delete mode 100644 react_starter/public/index.html delete mode 100644 react_starter/public/scss/_custom.scss delete mode 100644 react_starter/public/scss/_variables.scss delete mode 100644 react_starter/public/scss/style.scss delete mode 100644 react_starter/public/scss/vendors/_variables.scss delete mode 100644 react_starter/src/components/Aside/Aside.js delete mode 100644 react_starter/src/components/Aside/package.json delete mode 100644 react_starter/src/components/Breadcrumb/Breadcrumb.js delete mode 100644 react_starter/src/components/Breadcrumb/package.json delete mode 100644 react_starter/src/components/Footer/Footer.js delete mode 100644 react_starter/src/components/Footer/package.json delete mode 100644 react_starter/src/components/Header/Header.js delete mode 100644 react_starter/src/components/Header/package.json delete mode 100644 react_starter/src/components/Sidebar/Sidebar.js delete mode 100644 react_starter/src/components/Sidebar/_nav.js delete mode 100644 react_starter/src/components/Sidebar/package.json delete mode 100644 react_starter/src/components/SidebarFooter/SidebarFooter.js delete mode 100644 react_starter/src/components/SidebarFooter/package.json delete mode 100644 react_starter/src/components/SidebarForm/SidebarForm.js delete mode 100644 react_starter/src/components/SidebarForm/package.json delete mode 100644 react_starter/src/components/SidebarHeader/SidebarHeader.js delete mode 100644 react_starter/src/components/SidebarHeader/package.json delete mode 100644 react_starter/src/components/SidebarMinimizer/SidebarMinimizer.js delete mode 100644 react_starter/src/components/SidebarMinimizer/package.json delete mode 100644 react_starter/src/containers/Full/Full.js delete mode 100644 react_starter/src/containers/Full/package.json delete mode 100644 react_starter/src/index.js delete mode 100644 react_starter/src/routes.js delete mode 100644 react_starter/src/views/Dashboard/Dashboard.js delete mode 100644 react_starter/src/views/Dashboard/package.json delete mode 100644 react_starter/webpack.config.js rename {react_full_project/src => src}/components/Aside/Aside.js (100%) rename {react_full_project/src => src}/components/Aside/package.json (100%) rename {react_full_project/src => src}/components/Breadcrumb/Breadcrumb.js (100%) rename {react_full_project/src => src}/components/Breadcrumb/package.json (100%) rename {react_full_project/src => src}/components/Footer/Footer.js (100%) rename {react_full_project/src => src}/components/Footer/package.json (100%) rename {react_full_project/src => src}/components/Header/Header.js (100%) rename {react_full_project/src => src}/components/Header/HeaderDropdown.js (100%) rename {react_full_project/src => src}/components/Header/package.json (100%) rename {react_full_project/src => src}/components/Sidebar/Sidebar.js (100%) rename {react_full_project/src => src}/components/Sidebar/_nav.js (100%) rename {react_full_project/src => src}/components/Sidebar/package.json (100%) rename {react_full_project/src => src}/components/SidebarFooter/SidebarFooter.js (100%) rename {react_full_project/src => src}/components/SidebarFooter/package.json (100%) rename {react_full_project/src => src}/components/SidebarForm/SidebarForm.js (100%) rename {react_full_project/src => src}/components/SidebarForm/package.json (100%) rename {react_full_project/src => src}/components/SidebarHeader/SidebarHeader.js (100%) rename {react_full_project/src => src}/components/SidebarHeader/package.json (100%) rename {react_full_project/src => src}/components/SidebarMinimizer/SidebarMinimizer.js (100%) rename {react_full_project/src => src}/components/SidebarMinimizer/package.json (100%) rename {react_full_project/src => src}/containers/Full/Full.js (100%) rename {react_full_project/src => src}/containers/Full/package.json (100%) rename {react_full_project/src => src}/index.js (100%) rename {react_full_project/src => src}/routes.js (100%) rename {react_full_project/src => src}/views/Base/Breadcrumbs/Breadcrumbs.js (100%) rename {react_full_project/src => src}/views/Base/Breadcrumbs/package.json (100%) rename {react_full_project/src => src}/views/Base/Cards/Cards.js (100%) rename {react_full_project/src => src}/views/Base/Cards/package.json (100%) rename {react_full_project/src => src}/views/Base/Carousels/Carousels.js (100%) rename {react_full_project/src => src}/views/Base/Carousels/package.json (100%) rename {react_full_project/src => src}/views/Base/Collapses/Collapses.js (100%) rename {react_full_project/src => src}/views/Base/Collapses/package.json (100%) rename {react_full_project/src => src}/views/Base/Dropdowns/Dropdowns.js (100%) rename {react_full_project/src => src}/views/Base/Dropdowns/package.json (100%) rename {react_full_project/src => src}/views/Base/Forms/Forms.js (100%) rename {react_full_project/src => src}/views/Base/Forms/package.json (100%) rename {react_full_project/src => src}/views/Base/Jumbotrons/Jumbotrons.js (100%) rename {react_full_project/src => src}/views/Base/Jumbotrons/package.json (100%) rename {react_full_project/src => src}/views/Base/ListGroups/ListGroups.js (100%) rename {react_full_project/src => src}/views/Base/ListGroups/package.json (100%) rename {react_full_project/src => src}/views/Base/Navbars/Navbars.js (100%) rename {react_full_project/src => src}/views/Base/Navbars/package.json (100%) rename {react_full_project/src => src}/views/Base/Navs/Navs.js (100%) rename {react_full_project/src => src}/views/Base/Navs/package.json (100%) rename {react_full_project/src => src}/views/Base/Paginations/Pagnations.js (100%) rename {react_full_project/src => src}/views/Base/Paginations/package.json (100%) rename {react_full_project/src => src}/views/Base/Popovers/Popovers.js (100%) rename {react_full_project/src => src}/views/Base/Popovers/package.json (100%) rename {react_full_project/src => src}/views/Base/ProgressBar/ProgressBar.js (100%) rename {react_full_project/src => src}/views/Base/ProgressBar/package.json (100%) rename {react_full_project/src => src}/views/Base/Switches/Switches.js (100%) rename {react_full_project/src => src}/views/Base/Switches/package.json (100%) rename {react_full_project/src => src}/views/Base/Tables/Tables.js (100%) rename {react_full_project/src => src}/views/Base/Tables/package.json (100%) rename {react_full_project/src => src}/views/Base/Tabs/Tabs.js (100%) rename {react_full_project/src => src}/views/Base/Tabs/package.json (100%) rename {react_full_project/src => src}/views/Base/Tooltips/Tooltips.js (100%) rename {react_full_project/src => src}/views/Base/Tooltips/package.json (100%) rename {react_full_project/src => src}/views/Buttons/ButtonDropdowns/ButtonDropdowns.js (100%) rename {react_full_project/src => src}/views/Buttons/ButtonDropdowns/package.json (100%) rename {react_full_project/src => src}/views/Buttons/ButtonGroups/ButtonGroups.js (100%) rename {react_full_project/src => src}/views/Buttons/ButtonGroups/package.json (100%) rename {react_full_project/src => src}/views/Buttons/Buttons/Buttons.js (100%) rename {react_full_project/src => src}/views/Buttons/Buttons/package.json (100%) rename {react_full_project/src => src}/views/Buttons/SocialButtons/SocialButtons.js (100%) rename {react_full_project/src => src}/views/Buttons/SocialButtons/package.json (100%) rename {react_full_project/src => src}/views/Charts/Charts.js (100%) rename {react_full_project/src => src}/views/Charts/package.json (100%) rename {react_full_project/src => src}/views/Dashboard/Dashboard.js (100%) rename {react_full_project/src => src}/views/Dashboard/package.json (100%) rename {react_full_project/src => src}/views/Icons/Flags/Flags.js (100%) rename {react_full_project/src => src}/views/Icons/Flags/package.json (100%) rename {react_full_project/src => src}/views/Icons/FontAwesome/FontAwesome.js (100%) rename {react_full_project/src => src}/views/Icons/FontAwesome/package.json (100%) rename {react_full_project/src => src}/views/Icons/SimpleLineIcons/SimpleLineIcons.js (100%) rename {react_full_project/src => src}/views/Icons/SimpleLineIcons/package.json (100%) rename {react_full_project/src => src}/views/Notifications/Alerts/Alerts.js (100%) rename {react_full_project/src => src}/views/Notifications/Alerts/package.json (100%) rename {react_full_project/src => src}/views/Notifications/Badges/Badges.js (100%) rename {react_full_project/src => src}/views/Notifications/Badges/package.json (100%) rename {react_full_project/src => src}/views/Notifications/Modals/Modals.js (100%) rename {react_full_project/src => src}/views/Notifications/Modals/package.json (100%) rename {react_full_project/src => src}/views/Pages/Login/Login.js (100%) rename {react_full_project/src => src}/views/Pages/Login/package.json (100%) rename {react_full_project/src => src}/views/Pages/Page404/Page404.js (100%) rename {react_full_project/src => src}/views/Pages/Page404/package.json (100%) rename {react_full_project/src => src}/views/Pages/Page500/Page500.js (100%) rename {react_full_project/src => src}/views/Pages/Page500/package.json (100%) rename {react_full_project/src => src}/views/Pages/Register/Register.js (100%) rename {react_full_project/src => src}/views/Pages/Register/package.json (100%) rename {react_full_project/src => src}/views/Theme/Colors/Colors.js (100%) rename {react_full_project/src => src}/views/Theme/Colors/package.json (100%) rename {react_full_project/src => src}/views/Theme/Typography/Typography.js (100%) rename {react_full_project/src => src}/views/Theme/Typography/package.json (100%) rename {react_full_project/src => src}/views/Widgets/Widget01.js (100%) rename {react_full_project/src => src}/views/Widgets/Widget02.js (100%) rename {react_full_project/src => src}/views/Widgets/Widget03.js (100%) rename {react_full_project/src => src}/views/Widgets/Widget04.js (100%) rename {react_full_project/src => src}/views/Widgets/Widgets.js (100%) rename {react_full_project/src => src}/views/Widgets/package.json (100%) rename react_full_project/webpack.config.js => webpack.config.js (100%) diff --git a/react_full_project/.babelrc b/.babelrc similarity index 100% rename from react_full_project/.babelrc rename to .babelrc diff --git a/.gitignore b/.gitignore index 85f9a0b..85905ac 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ # dependencies node_modules +package-lock.json # testing coverage diff --git a/package.json b/package.json index 1e1250c..4f2255e 100644 --- a/package.json +++ b/package.json @@ -1,33 +1,57 @@ { - "name": "@coreui/react-admin-template", - "version": "2.0.0", - "description": "Free React Admin Template", - "main": "", - "homepage": "http://coreui.io/react/", - "github": "https://github.com/mrholek/CoreUI-React#readme", - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/mrholek/CoreUI-React.git" - }, - "keywords": [ - "Bootstrap", - "Admin", - "Template", - "Open Source", - "CSS", - "HTML", - "RWD", - "Dashboard", - "React", - "React.js", - "Reactjs" - ], + "name": "@coreui/react", + "version": "1.0.10", + "description": "Open Source Bootstrap Admin Template", "author": "Łukasz Holeczek", + "homepage": "http://coreui.io", + "copyright": "Copyright 2018 creativeLabs Łukasz Holeczek", "license": "MIT", - "bugs": { - "url": "https://github.com/mrholek/CoreUI-React/issues" + "private": true, + "devDependencies": { + "babel-core": "6.26.0", + "babel-loader": "7.1.2", + "babel-plugin-transform-object-rest-spread": "6.26.0", + "babel-preset-env": "1.6.1", + "babel-preset-react": "6.24.1", + "copy-webpack-plugin": "4.3.1", + "css-hot-loader": "1.3.6", + "css-loader": "0.28.9", + "extract-text-webpack-plugin": "3.0.2", + "file-loader": "1.1.6", + "html-loader": "0.5.5", + "html-webpack-plugin": "2.30.1", + "node-sass": "4.7.2", + "rimraf": "2.6.2", + "sass-loader": "6.0.6", + "source-list-map": "2.0.0", + "style-loader": "0.20.1", + "uglify-js": "3.3.9", + "url-loader": "0.6.2", + "webpack": "3.10.0", + "webpack-dev-server": "2.11.1" + }, + "dependencies": { + "bootstrap": "4.0.0", + "chart.js": "2.7.1", + "flag-icon-css": "2.9.0", + "font-awesome": "4.7.0", + "history": "4.7.2", + "react": "16.2.0", + "react-chartjs-2": "2.7.0", + "react-dom": "16.2.0", + "react-router-dom": "4.2.2", + "react-transition-group": "2.2.1", + "reactstrap": "5.0.0-beta", + "simple-line-icons": "2.4.1" + }, + "scripts": { + "dev": "webpack -d --progress --watch --profile --json > compilation-stats.json --env.dev", + "start": "webpack-dev-server --progress --color --inline --env.dev", + "build": "webpack -p --progress --env.prod", + "clean": "rimraf ./build" + }, + "engines": { + "node": ">= 8.9.4", + "npm": ">= 5.6.0" } } diff --git a/react_full_project/public/favicon.ico b/public/favicon.ico similarity index 100% rename from react_full_project/public/favicon.ico rename to public/favicon.ico diff --git a/react_full_project/public/img/avatars/1.jpg b/public/img/avatars/1.jpg similarity index 100% rename from react_full_project/public/img/avatars/1.jpg rename to public/img/avatars/1.jpg diff --git a/react_full_project/public/img/avatars/2.jpg b/public/img/avatars/2.jpg similarity index 100% rename from react_full_project/public/img/avatars/2.jpg rename to public/img/avatars/2.jpg diff --git a/react_full_project/public/img/avatars/3.jpg b/public/img/avatars/3.jpg similarity index 100% rename from react_full_project/public/img/avatars/3.jpg rename to public/img/avatars/3.jpg diff --git a/react_full_project/public/img/avatars/4.jpg b/public/img/avatars/4.jpg similarity index 100% rename from react_full_project/public/img/avatars/4.jpg rename to public/img/avatars/4.jpg diff --git a/react_full_project/public/img/avatars/5.jpg b/public/img/avatars/5.jpg similarity index 100% rename from react_full_project/public/img/avatars/5.jpg rename to public/img/avatars/5.jpg diff --git a/react_full_project/public/img/avatars/6.jpg b/public/img/avatars/6.jpg similarity index 100% rename from react_full_project/public/img/avatars/6.jpg rename to public/img/avatars/6.jpg diff --git a/react_full_project/public/img/avatars/7.jpg b/public/img/avatars/7.jpg similarity index 100% rename from react_full_project/public/img/avatars/7.jpg rename to public/img/avatars/7.jpg diff --git a/react_full_project/public/img/avatars/8.jpg b/public/img/avatars/8.jpg similarity index 100% rename from react_full_project/public/img/avatars/8.jpg rename to public/img/avatars/8.jpg diff --git a/react_full_project/public/img/brand/logo.svg b/public/img/brand/logo.svg similarity index 100% rename from react_full_project/public/img/brand/logo.svg rename to public/img/brand/logo.svg diff --git a/react_full_project/public/img/brand/sygnet.svg b/public/img/brand/sygnet.svg similarity index 100% rename from react_full_project/public/img/brand/sygnet.svg rename to public/img/brand/sygnet.svg diff --git a/react_full_project/public/index.html b/public/index.html similarity index 100% rename from react_full_project/public/index.html rename to public/index.html diff --git a/react_full_project/public/scss/_custom.scss b/public/scss/_custom.scss similarity index 100% rename from react_full_project/public/scss/_custom.scss rename to public/scss/_custom.scss diff --git a/react_full_project/public/scss/_variables.scss b/public/scss/_variables.scss similarity index 100% rename from react_full_project/public/scss/_variables.scss rename to public/scss/_variables.scss diff --git a/react_full_project/public/scss/style.scss b/public/scss/style.scss similarity index 100% rename from react_full_project/public/scss/style.scss rename to public/scss/style.scss diff --git a/react_full_project/public/scss/vendors/_variables.scss b/public/scss/vendors/_variables.scss similarity index 100% rename from react_full_project/public/scss/vendors/_variables.scss rename to public/scss/vendors/_variables.scss diff --git a/react_full_project/.gitignore b/react_full_project/.gitignore deleted file mode 100644 index 85905ac..0000000 --- a/react_full_project/.gitignore +++ /dev/null @@ -1,19 +0,0 @@ -# See http://help.github.com/ignore-files/ for more about ignoring files. - -# dependencies -node_modules -package-lock.json - -# testing -coverage - -# production -build - -# misc -.DS_Store -Thumbs.db -.env -.idea -npm-debug.log -compilation-stats.json diff --git a/react_full_project/README.md b/react_full_project/README.md deleted file mode 100644 index bdb88df..0000000 --- a/react_full_project/README.md +++ /dev/null @@ -1,1244 +0,0 @@ -This project was bootstrapped with [Create React App](https://github.com/facebookincubator/create-react-app). - -Below you will find some information on how to perform common tasks.
-You can find the most recent version of this guide [here](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md). - -## Table of Contents - -- [Updating to New Releases](#updating-to-new-releases) -- [Sending Feedback](#sending-feedback) -- [Folder Structure](#folder-structure) -- [Available Scripts](#available-scripts) - - [npm start](#npm-start) - - [npm test](#npm-test) - - [npm run build](#npm-run-build) - - [npm run eject](#npm-run-eject) -- [Syntax Highlighting in the Editor](#syntax-highlighting-in-the-editor) -- [Displaying Lint Output in the Editor](#displaying-lint-output-in-the-editor) -- [Installing a Dependency](#installing-a-dependency) -- [Importing a Component](#importing-a-component) -- [Adding a Stylesheet](#adding-a-stylesheet) -- [Post-Processing CSS](#post-processing-css) -- [Adding Images and Fonts](#adding-images-and-fonts) -- [Using the `public` Folder](#using-the-public-folder) -- [Using Global Variables](#using-global-variables) -- [Adding Bootstrap](#adding-bootstrap) -- [Adding Flow](#adding-flow) -- [Adding Custom Environment Variables](#adding-custom-environment-variables) -- [Can I Use Decorators?](#can-i-use-decorators) -- [Integrating with a Node Backend](#integrating-with-a-node-backend) -- [Proxying API Requests in Development](#proxying-api-requests-in-development) -- [Using HTTPS in Development](#using-https-in-development) -- [Generating Dynamic `` Tags on the Server](#generating-dynamic-meta-tags-on-the-server) -- [Running Tests](#running-tests) - - [Filename Conventions](#filename-conventions) - - [Command Line Interface](#command-line-interface) - - [Version Control Integration](#version-control-integration) - - [Writing Tests](#writing-tests) - - [Testing Components](#testing-components) - - [Using Third Party Assertion Libraries](#using-third-party-assertion-libraries) - - [Initializing Test Environment](#initializing-test-environment) - - [Focusing and Excluding Tests](#focusing-and-excluding-tests) - - [Coverage Reporting](#coverage-reporting) - - [Continuous Integration](#continuous-integration) - - [Disabling jsdom](#disabling-jsdom) - - [Experimental Snapshot Testing](#experimental-snapshot-testing) - - [Editor Integration](#editor-integration) -- [Developing Components in Isolation](#developing-components-in-isolation) -- [Making a Progressive Web App](#making-a-progressive-web-app) -- [Deployment](#deployment) - - [Serving Apps with Client-Side Routing](#serving-apps-with-client-side-routing) - - [Building for Relative Paths](#building-for-relative-paths) - - [Firebase](#firebase) - - [GitHub Pages](#github-pages) - - [Heroku](#heroku) - - [Modulus](#modulus) - - [Netlify](#netlify) - - [Now](#now) - - [S3 and CloudFront](#s3-and-cloudfront) - - [Surge](#surge) -- [Troubleshooting](#troubleshooting) - - [`npm test` hangs on macOS Sierra](#npm-test-hangs-on-macos-sierra) - - [`npm run build` silently fails](#npm-run-build-silently-fails) -- [Something Missing?](#something-missing) - -## Updating to New Releases - -Create React App is divided into two packages: - -* `create-react-app` is a global command-line utility that you use to create new projects. -* `react-scripts` is a development dependency in the generated projects (including this one). - -You almost never need to update `create-react-app` itself: it delegates all the setup to `react-scripts`. - -When you run `create-react-app`, it always creates the project with the latest version of `react-scripts` so you’ll get all the new features and improvements in newly created apps automatically. - -To update an existing project to a new version of `react-scripts`, [open the changelog](https://github.com/facebookincubator/create-react-app/blob/master/CHANGELOG.md), find the version you’re currently on (check `package.json` in this folder if you’re not sure), and apply the migration instructions for the newer versions. - -In most cases bumping the `react-scripts` version in `package.json` and running `npm install` in this folder should be enough, but it’s good to consult the [changelog](https://github.com/facebookincubator/create-react-app/blob/master/CHANGELOG.md) for potential breaking changes. - -We commit to keeping the breaking changes minimal so you can upgrade `react-scripts` painlessly. - -## Sending Feedback - -We are always open to [your feedback](https://github.com/facebookincubator/create-react-app/issues). - -## Folder Structure - -After creation, your project should look like this: - -``` -my-app/ - README.md - node_modules/ - package.json - public/ - index.html - favicon.ico - src/ - App.css - App.js - App.test.js - index.css - index.js - logo.svg -``` - -For the project to build, **these files must exist with exact filenames**: - -* `public/index.html` is the page template; -* `src/index.js` is the JavaScript entry point. - -You can delete or rename the other files. - -You may create subdirectories inside `src`. For faster rebuilds, only files inside `src` are processed by Webpack.
-You need to **put any JS and CSS files inside `src`**, or Webpack won’t see them. - -Only files inside `public` can be used from `public/index.html`.
-Read instructions below for using assets from JavaScript and HTML. - -You can, however, create more top-level directories.
-They will not be included in the production build so you can use them for things like documentation. - -## Available Scripts - -In the project directory, you can run: - -### `npm start` - -Runs the app in the development mode.
-Open [http://localhost:3000](http://localhost:3000) to view it in the browser. - -The page will reload if you make edits.
-You will also see any lint errors in the console. - -### `npm test` - -Launches the test runner in the interactive watch mode.
-See the section about [running tests](#running-tests) for more information. - -### `npm run build` - -Builds the app for production to the `build` folder.
-It correctly bundles React in production mode and optimizes the build for the best performance. - -The build is minified and the filenames include the hashes.
-Your app is ready to be deployed! - -See the section about [deployment](#deployment) for more information. - -### `npm run eject` - -**Note: this is a one-way operation. Once you `eject`, you can’t go back!** - -If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project. - -Instead, it will copy all the configuration files and the transitive dependencies (Webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own. - -You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it. - -## Syntax Highlighting in the Editor - -To configure the syntax highlighting in your favorite text editor, head to the [Babel's docs](https://babeljs.io/docs/editors) and follow the instructions. Some of the most popular editors are covered. - -## Displaying Lint Output in the Editor - ->Note: this feature is available with `react-scripts@0.2.0` and higher. - -Some editors, including Sublime Text, Atom, and Visual Studio Code, provide plugins for ESLint. - -They are not required for linting. You should see the linter output right in your terminal as well as the browser console. However, if you prefer the lint results to appear right in your editor, there are some extra steps you can do. - -You would need to install an ESLint plugin for your editor first. - ->**A note for Atom `linter-eslint` users** - ->If you are using the Atom `linter-eslint` plugin, make sure that **Use global ESLint installation** option is checked: - -> - -Then add this block to the `package.json` file of your project: - -```js -{ - // ... - "eslintConfig": { - "extends": "react-app" - } -} -``` - -Finally, you will need to install some packages *globally*: - -```sh -npm install -g eslint-config-react-app@0.3.0 eslint@3.8.1 babel-eslint@7.0.0 eslint-plugin-react@6.4.1 eslint-plugin-import@2.0.1 eslint-plugin-jsx-a11y@2.2.3 eslint-plugin-flowtype@2.21.0 -``` - -We recognize that this is suboptimal, but it is currently required due to the way we hide the ESLint dependency. The ESLint team is already [working on a solution to this](https://github.com/eslint/eslint/issues/3458) so this may become unnecessary in a couple of months. - -## Installing a Dependency - -The generated project includes React and ReactDOM as dependencies. It also includes a set of scripts used by Create React App as a development dependency. You may install other dependencies (for example, React Router) with `npm`: - -``` -npm install --save -``` - -## Importing a Component - -This project setup supports ES6 modules thanks to Babel.
-While you can still use `require()` and `module.exports`, we encourage you to use [`import` and `export`](http://exploringjs.com/es6/ch_modules.html) instead. - -For example: - -### `Button.js` - -```js -import React, { Component } from 'react'; - -class Button extends Component { - render() { - // ... - } -} - -export default Button; // Don’t forget to use export default! -``` - -### `DangerButton.js` - - -```js -import React, { Component } from 'react'; -import Button from './Button'; // Import a component from another file - -class DangerButton extends Component { - render() { - return