This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Intentionally showing only dependencies | |
"dependencies": { | |
"react": "^15.4.2", | |
"react-bootstrap": "^0.30.7", | |
"react-dom": "^15.4.2", | |
"react-redux": "^5.0.2", | |
"react-router": "^3.0.1", | |
"react-router-bootstrap": "^0.23.1", | |
"react-router-redux": "^4.0.7", | |
"redux": "^3.6.0", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Mycolaos", | |
"version": "1.0.0", | |
"scripts": { | |
"build": "webpack src/index.js static/bundle.js" | |
}, | |
"dependencies": { | |
"react": "^15.6.1", | |
"react-dom": "^15.6.1", | |
"react-redux": "^5.0.5", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/dist | |
bundle.js | |
index.html | |
styles.css | |
/node_modules | |
/src | |
index.js | |
styles.scss | |
.babelrc | |
.postcssrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Mycolaos", | |
"version": "1.0.0", | |
"scripts": { | |
"build": "webpack" | |
}, | |
"dependencies": { | |
"react": "^15.6.1", | |
"react-dom": "^15.6.1", | |
"react-redux": "^5.0.5", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const path = require('path'); | |
const ExtractTextPlugin = require("extract-text-webpack-plugin"); | |
module.exports = { | |
entry: './src/index.js', | |
output: { | |
filename: 'bundle.js', | |
path: path.resolve(__dirname, 'dist') | |
}, | |
module: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"presets": [ | |
["env", {"modules": false}], | |
"react", | |
"stage-0" | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"plugins": { | |
"autoprefixer": {} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"extends": ["eslint:recommended", "plugin:react/recommended"], | |
"parser": "babel-eslint", | |
"env": { | |
"browser": true, | |
"node": true | |
}, | |
"plugins": [ | |
"react" | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { AppContainer } from 'react-hot-loader'; | |
import React from 'react'; | |
import ReactDOM from 'react-dom'; | |
import Root from './Root.dev'; | |
import configureStore from './store/configureStore.dev' | |
const store = configureStore() | |
const rootEl = document.getElementById('root'); | |
const render = Component => |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"presets": [ | |
["env", { "modules": false }], | |
"react", | |
"stage-0" | |
], | |
"plugins": [ | |
"react-hot-loader/babel" | |
], |
OlderNewer