File tree 1 file changed +60
-0
lines changed
1 file changed +60
-0
lines changed Original file line number Diff line number Diff line change
1
+ # React Typescript Starter with Eslint and Babel
2
+
3
+ <a href =" https://reactjs.org/ " >
4
+ <img alt="react" src="https://cdn.worldvectorlogo.com/logos/react.svg" width="400">
5
+ </a >
6
+
7
+ <div align =" center " >
8
+ <img alt =" eslint " src =" https://cdn.worldvectorlogo.com/logos/eslint.svg " width =" 150 " />
9
+ <img alt =" babel " src =" https://upload.wikimedia.org/wikipedia/commons/thumb/0/02/Babel_Logo.svg/1280px-Babel_Logo.svg.png " width =" 250 " />
10
+ <img alt =" typescript " src =" https://raw.githubusercontent.com/remojansen/logo.ts/master/ts.png " width =" 150 " />
11
+ </div >
12
+
13
+ ## Usage
14
+
15
+ ``` sh
16
+ git clone git@github.com:vtereshyn/react-typescript-eslint-starter.git
17
+ ```
18
+ or
19
+ ``` sh
20
+ git clone https://github.com/vtereshyn/react-typescript-eslint-starter.git
21
+ ```
22
+
23
+ ### Install
24
+
25
+ ``` sh
26
+ npm i
27
+ ```
28
+
29
+ ### Development mode
30
+
31
+ ``` sh
32
+ npm run dev
33
+ ```
34
+
35
+ ### Run linters
36
+
37
+ ``` sh
38
+ npm run lint
39
+ ```
40
+
41
+ #### Fix lint issues
42
+
43
+ ``` sh
44
+ npm run lint-fix
45
+ ```
46
+
47
+ ### Build project
48
+ ``` sh
49
+ npm run build
50
+ ```
51
+ Dist folder will have a structure like:
52
+
53
+ ``` js
54
+ dist
55
+ - public
56
+ -- assets
57
+ -- js
58
+ -- styles
59
+ -- index .html
60
+ ```
You can’t perform that action at this time.
0 commit comments