Skip to content

Lesson1.5final #33

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 34 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
e8787e5
First iteration on Lesson 1.1
Dec 3, 2015
ccdaf74
Initial commit for Lesson 1.2
Dec 3, 2015
fd20dd0
Update Git section
Dec 5, 2015
c91c36e
Add header to end of lesson
Dec 5, 2015
f9ad543
Lesson 1.3 initial content
Dec 5, 2015
0d2679a
Minor update
Dec 5, 2015
065c44e
Reword dependencies section
Dec 5, 2015
0a8becf
Add a few more headers and reword a few things
Dec 5, 2015
0d575af
Update caret range section
Dec 5, 2015
3ae341b
Initial commit for Lesson 1.4
Dec 5, 2015
c4fc4ec
Fix typos
Dec 5, 2015
5f8e39c
Add notes to web server section
Dec 5, 2015
84c1919
Initial commit for Lesson 1.5
Dec 5, 2015
7e4da41
Initial commit for Lesson 2.1
Dec 6, 2015
904e80a
Remove JSX from lesson
Dec 6, 2015
48e72e6
Initial commit for Lesson 2.2
Dec 6, 2015
6542891
Initial commit for lesson2.3
Dec 6, 2015
73e3625
Initial commit for Lesson 3.1
Dec 6, 2015
76fd334
Initial commit for Lesson 3.2
Dec 6, 2015
ab24dc1
Initial commit for Lesson 3.3
Dec 7, 2015
0be4b6b
Initial commit for Lesson 3.4
Dec 7, 2015
7946617
Initial commit for Lesson 4.1
Dec 7, 2015
71ee9f2
Initial commit for Lesson 4.2
Dec 7, 2015
031b2dc
Initial commit for Lesson 4.3
Dec 7, 2015
7f803c6
tech edit
andrewk Dec 15, 2015
889b377
Merge pull request #16 from andrewk/lesson4.3-TR
Dec 30, 2015
a08e843
to refactor from previous code
bruno12mota Jan 22, 2016
60f7a2f
Merge pull request #30 from bruno12mota/lesson4.3
Jan 24, 2016
b712707
Update to reflect changes
Jan 24, 2016
45f8400
Update copy
Jan 27, 2016
c281dd1
Add lesson5.1 content
Jan 27, 2016
36fe144
Add more copy.
Jan 27, 2016
6f6a6a9
lesson 1 final code
Jan 29, 2016
e357043
Update readme.md
spxds Feb 8, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
presets: ['es2015', 'react', 'stage-0']
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/node_modules
12 changes: 12 additions & 0 deletions example/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<html>
<head>
<title>React Reading Time Example</title>
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="container">
<div id="react"></div>
</div>
<script src="/react-reading-time.js"></script>
</body>
</html>
32 changes: 32 additions & 0 deletions example/webpack.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
var webpack = require('webpack');

module.exports = {
entry: {
'react-reading-time': [
'webpack-dev-server/client?http://localhost:8881/',
'webpack/hot/only-dev-server',
'./example/react-reading-time.jsx'
]
},
output: {
path: __dirname,
filename: "[name].js",
publicPath: 'http://localhost:8881/',
chunkFilename: '[id].chunk.js',
sourceMapFilename: '[name].map'
},
resolve: {
extensions: ['', '.js', '.jsx', '.es6'],
modulesDirectories: ['node_modules']
},
module: {
loaders: [
{ test: /\.jsx$|\.es6$|\.js$/, loaders: ['react-hot', 'babel-loader'], exclude: /node_modules/ },
{ test: /\.scss$|\.css$/, loader: 'style-loader!style!css!sass' }
]
},
plugins: [
new webpack.NoErrorsPlugin()
],
devtool: "eval-source-map"
};
33 changes: 33 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name": "ReactJS-the-ES6-Way",
"version": "1.0.0",
"description": "Congratulations! You've finished the ReactJS the ES6 way course!",
"main": "index.js",
"scripts": {
"start": "webpack-dev-server --config ./example/webpack.config.js --hot --port 8881"
},
"repository": {
"type": "git",
"url": "git+https://github.com/learnable-content/ReactJS-the-ES6-Way.git"
},
"keywords": [],
"author": "Darin Haener <[email protected]> (https://github.com/dphaener)",
"license": "ISC",
"bugs": {
"url": "https://github.com/learnable-content/ReactJS-the-ES6-Way/issues"
},
"homepage": "https://github.com/learnable-content/ReactJS-the-ES6-Way#readme",
"devDependencies": {
"babel": "^6.3.26",
"babel-core": "^6.4.5",
"babel-loader": "^6.2.1",
"babel-preset-es2015": "^6.3.13",
"babel-preset-react": "^6.3.13",
"babel-preset-stage-0": "^6.3.13",
"react": "^0.14.7",
"react-dom": "^0.14.7",
"react-hot-loader": "^1.3.0",
"webpack": "^1.12.12",
"webpack-dev-server": "^1.14.1"
}
}
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#ReactJS-the-ES6-Way
#ReactJS the ES6 way