Skip to content

Commit

Permalink
Init
Browse files Browse the repository at this point in the history
  • Loading branch information
Matija Gluhak authored and Matija Gluhak committed Oct 24, 2018
1 parent 31eb1fe commit 5f3ce62
Show file tree
Hide file tree
Showing 9 changed files with 12,737 additions and 92 deletions.
12,676 changes: 12,676 additions & 0 deletions npm-shrinkwrap.json

Large diffs are not rendered by default.

48 changes: 35 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,45 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"react": "^16.6.0",
"react-dom": "^16.6.0",
"react-scripts": "2.0.5"
"cuid": "^2.1.1",
"date-fns": "^1.29.0",
"firebase": "^4.12.1",
"google-map-react": "^0.34.0",
"history": "^4.7.2",
"moment": "^2.22.0",
"react": "^16.3.0",
"react-cropper": "^1.0.1",
"react-datepicker": "^1.4.0",
"react-dom": "^16.3.0",
"react-dropzone": "^4.2.9",
"react-infinite-scroller": "^1.1.3",
"react-lazyload": "^2.3.0",
"react-load-script": "0.0.6",
"react-loadable": "^5.3.1",
"react-places-autocomplete": "^6.1.3",
"react-redux": "^5.0.7",
"react-redux-firebase": "^2.0.6",
"react-redux-toastr": "^7.2.3",
"react-router-dom": "^4.2.2",
"react-router-redux": "^5.0.0-alpha.9",
"react-scripts": "1.1.2",
"redux": "^3.7.2",
"redux-auth-wrapper": "^2.0.2",
"redux-firestore": "^0.3.2",
"redux-form": "^7.3.0",
"redux-thunk": "^2.2.0",
"revalidate": "^1.2.0",
"semantic-ui-css": "2.2.14",
"semantic-ui-react": "^0.79.0"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
"devDependencies": {
"redux-devtools-extension": "^2.13.2",
"source-map-explorer": "^1.5.0"
}
}
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
<title>Re-vents</title>
</head>
<body>
<noscript>
Expand Down
32 changes: 0 additions & 32 deletions src/App.css

This file was deleted.

28 changes: 0 additions & 28 deletions src/App.js

This file was deleted.

9 changes: 0 additions & 9 deletions src/App.test.js

This file was deleted.

13 changes: 13 additions & 0 deletions src/app/layout/App.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import React, { Component } from 'react';

class App extends Component {
render() {
return (
<div>
<h1>Re-vents</h1>
</div>
);
}
}

export default App;
14 changes: 12 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
import App from './app/layout/App';
import * as serviceWorker from './serviceWorker';

ReactDOM.render(<App />, document.getElementById('root'));
const rootEl = document.getElementById('root');
let render = () => {
ReactDOM.render(<App />, rootEl)
}

if (module.hot) {
module.hot.accept('./app/layout/App', () =>{
setTimeout(render)
});
}
render();

// If you want your app to work offline and load faster, you can change
// unregister() to register() below. Note this comes with some pitfalls.
Expand Down
7 changes: 0 additions & 7 deletions src/logo.svg

This file was deleted.

0 comments on commit 5f3ce62

Please sign in to comment.