Skip to content

Commit 2460dd5

Browse files
Final project setup
1 parent 000d2ba commit 2460dd5

16 files changed

+900
-181
lines changed

.babelrc

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
11
{
2-
"presets": ["env", "react"]
2+
"presets": [
3+
"env",
4+
"react",
5+
"stage-1"
6+
],
7+
"plugins": [
8+
"react-hot-loader/babel",
9+
"transform-es2015-modules-commonjs"
10+
]
311
}

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ build/Release
8282
node_modules/
8383
jspm_packages/
8484
dist/
85+
build/
8586

8687
# TypeScript v1 declaration files
8788
typings/

README.md

+20-7
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,27 @@
1-
2-
## Quick Start
1+
# Quick Start
32

43
``` bash
54
# Install dependencies
65
npm install
76

8-
# Serve on localhost:3000
9-
npm start
10-
11-
# Build for production
7+
# Build files
128
npm run build
13-
```
149

10+
# Run application with electron
11+
npm run electron
12+
13+
# Run application on browser
14+
npm run dev_server
15+
16+
# Clear build folder
17+
npm run clear_build
18+
19+
# Run Linter
20+
npm run linter
21+
22+
# For development environment with electron....
23+
npm run start
24+
25+
# on another terminal
26+
npm run electron
27+
```

0 commit comments

Comments
 (0)