mirror of
https://github.com/wassname/generator-react-webpack.git
synced 2026-08-30 11:23:47 +08:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5eee756f3e | ||
|
|
91ac75db71 | ||
|
|
25c67ffd33 | ||
|
|
8cdcc2c432 | ||
|
|
cee53ad6c1 |
@@ -1,5 +1,10 @@
|
||||
# generator-react-webpack - Changelog
|
||||
|
||||
## 2.2.6
|
||||
___Upgrades___:
|
||||
|
||||
1. Added new version of ```react-webpack-template``` (provides new features for continuous testing and better dist build support)
|
||||
|
||||
## 2.2.5
|
||||
___Upgrades:___
|
||||
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
# generator-react-webpack V2.0 [](https://travis-ci.org/newtriks/generator-react-webpack) [](https://bitdeli.com/free "Bitdeli Badge")
|
||||
# generator-react-webpack V2.0
|
||||
|
||||
[](https://travis-ci.org/newtriks/generator-react-webpack) [](https://bitdeli.com/free "Bitdeli Badge")    
|
||||
|
||||
> Yeoman generator for [ReactJS](http://facebook.github.io/react/) - lets you quickly set up a project including karma test runner and [Webpack](http://webpack.github.io/) module system.
|
||||
|
||||
# About
|
||||
@@ -54,7 +57,7 @@ The above command will create a new component, as well as its stylesheet and a b
|
||||
|
||||
## Generating new stateless functional components
|
||||
```
|
||||
yo react-webpack:component:stateless my/namespaced/components/name
|
||||
yo react-webpack:component my/namespaced/components/name --stateless
|
||||
```
|
||||
|
||||
Stateless functional components where introduced in React v0.14. They have a much shorter syntax than regular ones and no state or lifecycle methods at all. Please read the [React 0.14 release notes](https://facebook.github.io/react/blog/2015/10/07/react-v0.14.html) to get more information about those components.
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "generator-react-webpack",
|
||||
"version": "2.2.5",
|
||||
"version": "2.2.7",
|
||||
"description": "Yeoman generator for using React with Webpack via Babel",
|
||||
"keywords": [
|
||||
"yeoman-generator",
|
||||
@@ -37,9 +37,9 @@
|
||||
"test": "mocha"
|
||||
},
|
||||
"dependencies": {
|
||||
"react-webpack-template": "^0.2.0",
|
||||
"react-webpack-template": "^0.3.0",
|
||||
"underscore.string": "^3.2.2",
|
||||
"yeoman-generator": "^0.20.3",
|
||||
"yeoman-generator": "^0.21.0",
|
||||
"yeoman-welcome": "^1.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
Reference in New Issue
Block a user