Compare commits

...

4 Commits

Author SHA1 Message Date
Chris 12a446f747 0.0.8 2015-09-10 14:56:47 +02:00
Chris 262c0bbc9e Added shortcut for releases 2015-09-10 14:56:24 +02:00
Chris 0906a22faa 0.0.7 2015-09-10 14:54:02 +02:00
Chris d94724832e Added yeoman image as default view. 2015-09-10 14:53:32 +02:00
5 changed files with 28 additions and 4 deletions
+4 -3
View File
@@ -1,6 +1,6 @@
{
"name": "react-webpack-template",
"version": "0.0.6",
"version": "0.0.8",
"description": "A base skeleton template for react and webpack without task runners",
"main": "index.js",
"scripts": {
@@ -11,8 +11,9 @@
"serve:dist": "node server.js --env=dist",
"dist": "npm run copy & webpack --env=dist",
"lint": "eslint ./src",
"copy": "copyfiles -f ./src/index.html ./dist",
"clean": "rimraf dist/*"
"copy": "copyfiles -f ./src/index.html ./src/favicon.ico ./dist",
"clean": "rimraf dist/*",
"patch-release": "npm version patch && npm publish && git push --follow-tags"
},
"repository": {
"type": "git",
+4 -1
View File
@@ -3,11 +3,14 @@ require('styles/App.css');
import React from 'react/addons';
let yeomanImage = require('../images/yeoman.png');
class AppComponent extends React.Component {
render() {
return (
<div className="index">
Content
<img src={yeomanImage} alt="Yeoman Generator" />
<div className="notice">Please edit <code>src/components/Main.js</code> to get started!</div>
</div>
);
}
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

+20
View File
@@ -1 +1,21 @@
/* Base Application Styles */
body {
color: #fff;
background: #222;
}
.index img {
margin: 40px auto;
border-radius: 4px;
background: #fff;
display: block;
}
.index .notice {
margin: 20px auto;
padding: 15px 0;
text-align: center;
border: 1px solid #000;
border-width: 1px 0;
background: #666;
}