Skip to content

Commit 98dfb1e

Browse files
author
vinogradov
committed
upgrade dependencies, add redux-saga
1 parent 39f162b commit 98dfb1e

File tree

3 files changed

+36
-18
lines changed

3 files changed

+36
-18
lines changed

README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
Includes only the latest and greatest web technologies. Use it for your next heroic SPA project because you can't go wrong with it. Contains minimal viable "hello, world" code just to proof it works. Remove hello world and write your own great project.
22

3+
Suitable for:
4+
1. Education
5+
2. Small pet projects/protorypes
6+
3. Production
7+
8+
**If you don't need some library then just don't use it. Its source code will _NOT_ be included in the final bundle.**
9+
310
# 🎁 What’s Inside?
411

512
Name | Type | Original Description | Example Config | Notes
@@ -9,6 +16,7 @@ Name | Type | Original Description | Example Config | Notes
916
[redux](https://github.com/reactjs/redux/) | Data management | Predictable state container for JavaScript apps
1017
[react-redux](https://github.com/reactjs/react-redux) | Data management | Official React bindings for Redux
1118
[redux-thunk](https://github.com/gaearon/redux-thunk) | Data management | Thunk middleware for Redux
19+
[redux-saga](https://github.com/redux-saga/redux-saga) | Data management | An alternative side effect model for Redux apps | | An alternative to [redux-thunk](https://github.com/gaearon/redux-thunk). You need to `import "regenerator-runtime/runtime";` for using generators/`yield`
1220
[redux-logger](https://github.com/evgenyrodionov/redux-logger) | Utils | Logger for Redux
1321
[webpack 2](https://webpack.js.org/) | Build tool | A module bundler for modern javascript applications (bundling, minification, watch mode, ect.) | [webpack.config.js](https://github.com/vinogradov/react-starter-kit/blob/master/webpack.config.js) | Loaders: [babel-loader](https://github.com/babel/babel-loader), [eslint-loader](https://github.com/MoOx/eslint-loader), [sass-loader](https://github.com/webpack-contrib/sass-loader)
1422
[babel](https://babeljs.io/) | Transpiler | ES2015/2016/2017 support | [.babelrc](https://github.com/vinogradov/react-starter-kit/blob/master/.babelrc) | Plugins: [transform-object-rest-spread](http://babeljs.io/docs/plugins/transform-object-rest-spread/) (spreads are currently [at STAGE 3](https://github.com/sebmarkbage/ecmascript-rest-spread))
@@ -18,10 +26,15 @@ Name | Type | Original Description | Example Config | Notes
1826
[yarn](https://yarnpkg.com/) | Package management | Fast, reliable, and secure dependency management
1927

2028
# 👨🏼‍💻 Usage
29+
1. install dependencies with:
2130
`yarn`
2231

23-
for development purposes (watch mode with automatic browser refresh): `yarn start` and go to http://localhost:8080/
32+
1. run in development mode (watch changes in the files and refresh your browser automatically):
33+
`yarn start` (then go http://localhost:8080/)
34+
35+
1. would like to publish the project as a website? Then make a distribution build by generating static files:
36+
`yarn dist`
2437

25-
for distribution purposes (generate public static files): `yarn dist`
38+
If you have problems with running it please [file an issue](https://github.com/vinogradov/react-starter-kit/issues) or [contact me](https://www.facebook.com/vadim.vinogradov) on Facebook
2639

2740
![](http://vinogradov.github.io/react-starter-kit/screenshot.png)

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"eslint-loader": "1.7.1",
2424
"eslint-plugin-react": "6.10.3",
2525
"extract-text-webpack-plugin": "2.1.0",
26-
"file-loader": "0.11.0",
26+
"file-loader": "0.11.1",
2727
"html-webpack-plugin": "2.28.0",
2828
"isomorphic-fetch": "2.2.1",
2929
"node-sass": "4.5.2",
@@ -33,10 +33,11 @@
3333
"react-router-dom": "4.0.0",
3434
"redux": "3.6.0",
3535
"redux-logger": "3.0.1",
36+
"redux-saga": "0.14.4",
3637
"redux-thunk": "2.2.0",
3738
"sass-loader": "6.0.3",
3839
"style-loader": "0.16.1",
39-
"webpack": "2.3.2"
40+
"webpack": "2.3.3"
4041
},
4142
"devDependencies": {
4243
"webpack-dev-server": "2.4.2"

yarn.lock

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ acorn@^4.0.3, acorn@^4.0.4:
3434
resolved "https://registry.yarnpkg.com/acorn/-/acorn-4.0.11.tgz#edcda3bd937e7556410d42ed5860f67399c794c0"
3535

3636
acorn@^5.0.1:
37-
version "5.0.2"
38-
resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.0.2.tgz#dc1c8fb907f64db2ab573de2326b73527c24de36"
37+
version "5.0.3"
38+
resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.0.3.tgz#c460df08491463f028ccb82eab3730bf01087b3d"
3939

4040
ajv-keywords@^1.0.0, ajv-keywords@^1.1.1:
4141
version "1.5.1"
@@ -186,8 +186,8 @@ async@^1.5.2:
186186
resolved "https://registry.yarnpkg.com/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a"
187187

188188
async@^2.1.2, async@^2.1.5:
189-
version "2.2.0"
190-
resolved "https://registry.yarnpkg.com/async/-/async-2.2.0.tgz#c324eba010a237e4fbd55a12dee86367d5c0ef32"
189+
version "2.3.0"
190+
resolved "https://registry.yarnpkg.com/async/-/async-2.3.0.tgz#1013d1051047dd320fe24e494d5c66ecaf6147d9"
191191
dependencies:
192192
lodash "^4.14.0"
193193

@@ -969,8 +969,8 @@ caniuse-api@^1.5.2:
969969
lodash.uniq "^4.3.0"
970970

971971
caniuse-db@^1.0.30000346, caniuse-db@^1.0.30000634, caniuse-db@^1.0.30000639:
972-
version "1.0.30000646"
973-
resolved "https://registry.yarnpkg.com/caniuse-db/-/caniuse-db-1.0.30000646.tgz#c724b90d61df24286e015fc528d062073c00def4"
972+
version "1.0.30000649"
973+
resolved "https://registry.yarnpkg.com/caniuse-db/-/caniuse-db-1.0.30000649.tgz#1ee1754a6df235450c8b7cd15e0ebf507221a86a"
974974

975975
caseless@~0.12.0:
976976
version "0.12.0"
@@ -1945,9 +1945,9 @@ file-entry-cache@^2.0.0:
19451945
flat-cache "^1.2.1"
19461946
object-assign "^4.0.1"
19471947

1948-
1949-
version "0.11.0"
1950-
resolved "https://registry.yarnpkg.com/file-loader/-/file-loader-0.11.0.tgz#af018f39c44617305f1ee92f850c7a65a4331616"
1948+
1949+
version "0.11.1"
1950+
resolved "https://registry.yarnpkg.com/file-loader/-/file-loader-0.11.1.tgz#6b328ee1234a729e4e47d36375dd6d35c0e1db84"
19511951
dependencies:
19521952
loader-utils "^1.0.2"
19531953

@@ -3913,6 +3913,10 @@ [email protected]:
39133913
dependencies:
39143914
deep-diff "0.3.4"
39153915

3916+
3917+
version "0.14.4"
3918+
resolved "https://registry.yarnpkg.com/redux-saga/-/redux-saga-0.14.4.tgz#a09acf294ef8387a0f23043e5c6d2f9f3fd25b54"
3919+
39163920
39173921
version "2.2.0"
39183922
resolved "https://registry.yarnpkg.com/redux-thunk/-/redux-thunk-2.2.0.tgz#e615a16e16b47a19a515766133d1e3e99b7852e5"
@@ -4563,8 +4567,8 @@ ua-parser-js@^0.7.9:
45634567
resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.12.tgz#04c81a99bdd5dc52263ea29d24c6bf8d4818a4bb"
45644568

45654569
[email protected], uglify-js@^2.8.5:
4566-
version "2.8.20"
4567-
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-2.8.20.tgz#be87100fbc18de3876ed606e9d24b4568311cecf"
4570+
version "2.8.21"
4571+
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-2.8.21.tgz#1733f669ae6f82fc90c7b25ec0f5c783ee375314"
45684572
dependencies:
45694573
source-map "~0.5.1"
45704574
yargs "~3.10.0"
@@ -4754,9 +4758,9 @@ webpack-sources@^0.2.3:
47544758
source-list-map "^1.1.1"
47554759
source-map "~0.5.3"
47564760

4757-
4758-
version "2.3.2"
4759-
resolved "https://registry.yarnpkg.com/webpack/-/webpack-2.3.2.tgz#7d521e6f0777a3a58985c69425263fdfe977b458"
4761+
4762+
version "2.3.3"
4763+
resolved "https://registry.yarnpkg.com/webpack/-/webpack-2.3.3.tgz#eecc083c18fb7bf958ea4f40b57a6640c5a0cc78"
47604764
dependencies:
47614765
acorn "^4.0.4"
47624766
acorn-dynamic-import "^2.0.0"

0 commit comments

Comments
 (0)