File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,6 @@ Make sure you have installed [everything needed to run React Native](https://fac
21
21
22
22
- clone this repository
23
23
- remove the previous git history: ` rm -rf .git/ `
24
- - rename the React Native project: ` npm rename-project <YourProjectName> `
24
+ - rename the React Native project to your own project name : ` npm run rename -- <YourProjectName> ` (the default name is ` Boilerplate ` )
25
25
26
26
You can now start the application, for example with ` react-native run-android ` .
Original file line number Diff line number Diff line change 8
8
"prettier-fix" : " prettier --write **/*.js" ,
9
9
"prettier-check" : " prettier --list-different **/*.js" ,
10
10
"lint-fix" : " eslint --fix ." ,
11
- "lint-check" : " eslint ."
11
+ "lint-check" : " eslint ." ,
12
+ "rename" : " react-native-rename"
12
13
},
13
14
"dependencies" : {
14
15
"react" : " 16.3.1" ,
29
30
"eslint-plugin-standard" : " ^3.0.1" ,
30
31
"jest" : " 23.3.0" ,
31
32
"prettier" : " ^1.11.1" ,
33
+ "react-native-rename" : " ^2.2.2" ,
32
34
"react-test-renderer" : " 16.3.1"
33
35
},
34
36
"jest" : {
35
37
"preset" : " react-native"
36
38
}
37
- }
39
+ }
You can’t perform that action at this time.
0 commit comments