Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f1b169b

Browse files
committed
initial commit
0 parents commit f1b169b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+942
-0
lines changed

‎.editorconfig‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# http://editorconfig.org
2+
3+
root = true
4+
5+
[*]
6+
charset = utf-8
7+
indent_style = space
8+
indent_size = 2
9+
end_of_line = lf
10+
insert_final_newline = true
11+
trim_trailing_whitespace = true
12+
13+
[*.md]
14+
insert_final_newline = false
15+
trim_trailing_whitespace = false

‎.gitignore‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.vscode
2+
.DS_STORE
3+
node_modules
4+
.module-cache
5+
*.log*
6+
build
7+
dist
8+
.idea/

‎README.md‎

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# MOBA GAME on React, Redux & TypeScript
2+
3+
Simple example and boilerplate on wonderful stack!
4+
5+
## Contains
6+
7+
- [x] [Typescript](https://www.typescriptlang.org/) 2.5
8+
- [x] [React](https://facebook.github.io/react/) 16.0
9+
- [x] [Redux](https://github.com/reactjs/redux) 3.7
10+
- [x] [React Router](https://github.com/ReactTraining/react-router) 4.2
11+
- [x] [Redux DevTools Extension](https://github.com/zalmoxisus/redux-devtools-extension)
12+
- [x] [TodoMVC example](http://todomvc.com)
13+
14+
### Build tools
15+
16+
- [x] [Webpack](https://webpack.github.io) 3
17+
- [x] [Tree Shaking](https://medium.com/@Rich_Harris/tree-shaking-versus-dead-code-elimination-d3765df85c80)
18+
- [x] [Webpack Dev Server](https://github.com/webpack/webpack-dev-server)
19+
- [x] [Awesome Typescript Loader](https://github.com/s-panferov/awesome-typescript-loader)
20+
- [x] [PostCSS Loader](https://github.com/postcss/postcss-loader)
21+
- [x] [CSS next](https://github.com/MoOx/postcss-cssnext)
22+
- [x] [CSS modules](https://github.com/css-modules/css-modules)
23+
- [x] [React Hot Loader](https://github.com/gaearon/react-hot-loader)
24+
- [x] [ExtractText Plugin](https://github.com/webpack/extract-text-webpack-plugin)
25+
- [x] [HTML Webpack Plugin](https://github.com/ampedandwired/html-webpack-plugin)
26+
27+
28+
## Setup
29+
30+
```
31+
$ npm install
32+
```
33+
34+
## Running
35+
36+
```
37+
$ npm start
38+
```
39+
40+
## Build
41+
42+
```
43+
$ npm run build
44+
```
45+
46+
# License
47+
48+
MIT

‎package.json‎

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
{
2+
"name": "ts-react-starter",
3+
"version": "1.0.0",
4+
"private": true,
5+
"description": "",
6+
"main": "index.js",
7+
"scripts": {
8+
"test": "echo \"Error: no test specified\" && exit 1",
9+
"start": "webpack-dev-server --debug --devtool cheap-module-source-map --output-pathinfo --history-api-fallback --hot --inline --progress --colors --port 3001 --open",
10+
"build": "webpack -p --progress --colors --optimize-minimize",
11+
"start:prod": "webpack-dev-server -p --progress --colors --port 3001 --open"
12+
},
13+
"license": "MIT",
14+
"devDependencies": {
15+
"@types/axios": "^0.14.0",
16+
"@types/classnames": "2.2.3",
17+
"@types/history": "4.6.2",
18+
"@types/node": "^8.0.53",
19+
"@types/prop-types": "^15.5.3",
20+
"@types/react-dom": "16.0.3",
21+
"@types/react-redux": "5.0.13",
22+
"@types/react-router-dom": "^4.2.3",
23+
"@types/react-router": "4.0.18",
24+
"@types/react": "^16.0.25",
25+
"@types/redux-actions": "2.2.2",
26+
"@types/redux-thunk": "^2.1.0",
27+
"@types/webpack-env": "1.13.2",
28+
"@types/webpack": "3.8.1",
29+
"awesome-typescript-loader": "^3.4.0",
30+
"base64-inline-loader": "^1.1.0",
31+
"css-loader": "^0.28.7",
32+
"extract-text-webpack-plugin": "^3.0.2",
33+
"file-loader": "^1.1.6",
34+
"html-loader": "^0.5.1",
35+
"html-webpack-plugin": "^2.30.1",
36+
"image-webpack-loader": "^4.1.0",
37+
"node-sass": "^4.7.2",
38+
"postcss-browser-reporter": "^0.5.0",
39+
"postcss-cssnext": "^3.0.2",
40+
"postcss-import": "^11.0.0",
41+
"postcss-loader": "^2.0.8",
42+
"postcss-reporter": "^5.0.0",
43+
"postcss-url": "^7.2.1",
44+
"postcss": "^6.0.14",
45+
"react-hot-loader": "^3.1.3",
46+
"redux-devtools-extension": "^2.13.2",
47+
"sass-loader": "^6.0.6",
48+
"style-loader": "^0.19.0",
49+
"tslint-config-prettier": "^1.13.0",
50+
"tslint-eslint-rules": "^5.3.1",
51+
"tslint-react": "^3.6.0",
52+
"tslint": "^5.11.0",
53+
"typescript": "^2.6.1",
54+
"url-loader": "^0.6.2",
55+
"webpack-dev-server": "^2.11.1",
56+
"webpack": "^3.11.0"
57+
},
58+
"dependencies": {
59+
"axios": "^0.18.0",
60+
"classnames": "^2.2.5",
61+
"core-decorators": "^0.20.0",
62+
"font-awesome": "^4.7.0",
63+
"heatmap.js": "^2.0.5",
64+
"history": "^4.7.2",
65+
"moment": "^2.20.1",
66+
"path-to-regexp": "^2.1.0",
67+
"prop-types": "^15.6.2",
68+
"query-string": "^5.1.0",
69+
"react-dom": "^16.2.0",
70+
"react-redux": "^5.0.6",
71+
"react-router-dom": "^4.2.2",
72+
"react-router-modal": "^1.3.2",
73+
"react-router": "^4.2.0",
74+
"react-tabs": "^2.2.1",
75+
"react-tagcloud": "^1.2.0",
76+
"react": "^16.2.0",
77+
"redux-actions": "^2.2.1",
78+
"redux-thunk": "^2.2.0",
79+
"redux": "^3.7.2",
80+
"three": "^0.90.0"
81+
}
82+
}

‎src/assets/background-min.jpg‎

260 KB
Loading[フレーム]

‎src/assets/background.jpg‎

1.13 MB
Loading[フレーム]

‎src/assets/background2.jpg‎

467 KB
Loading[フレーム]

‎src/assets/background3.jpg‎

264 KB
Loading[フレーム]

‎src/assets/dota2map.png‎

1.2 MB
Loading[フレーム]

‎src/assets/icons/heroes.png‎

5.98 KB
Loading[フレーム]

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /