Skip to content

Commit 558e89d

Browse files
committed
publish to NPM with scope
1 parent 394b963 commit 558e89d

File tree

3 files changed

+24
-5
lines changed

3 files changed

+24
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Follow instructions for your given `development OS` and `target OS`.
3232
To create a new project using the boilerplate simply run :
3333

3434
```
35-
npx react-native init MyApp --template thecodingmachine/react-native-boilerplate
35+
npx react-native init MyApp --template @thecodingmachine/react-native-boilerplate
3636
```
3737

3838
Assuming you have all the requirements installed, you can setup and run the project by running:

documentation/docs/2_Getting Started/2_1_Installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ You also need to install the dependencies required by React Native:
1717
To create a new project using the boilerplate simply run :
1818

1919
```
20-
npx react-native init MyApp --template thecodingmachine/react-native-boilerplate
20+
npx react-native init MyApp --template @thecodingmachine/react-native-boilerplate
2121
```
2222

2323
## Running the project

package.json

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,27 @@
11
{
2-
"name": "thecodingmachine-react-native-boilerplate",
2+
"name": "@thecodingmachine/react-native-boilerplate",
33
"version": "2.0.0",
44
"description": "TheCodingMachine React Native Boilerplate",
5-
"repository": "[email protected]:thecodingmachine/react-native-boilerplate.git",
5+
"repository": {
6+
"type": "git",
7+
"url": "https://github.com/thecodingmachine/react-native-boilerplate.git"
8+
},
69
"author": "TheCodingMachine Lyon <[email protected]>",
7-
"license": "MIT"
10+
"license": "MIT",
11+
"bugs": {
12+
"url": "https://github.com/thecodingmachine/react-native-boilerplate/issues"
13+
},
14+
"homepage": "https://github.com/thecodingmachine/react-native-boilerplate#readme",
15+
"main": "post-init.script.js",
16+
"scripts": {
17+
"test": "echo \"Error: no test specified\" && exit 1"
18+
},
19+
"keywords": [
20+
"react",
21+
"native",
22+
"boilerplate",
23+
"thecodingmachine",
24+
"react-native",
25+
"starter-kit"
26+
]
827
}

0 commit comments

Comments
 (0)