Skip to content

Commit 8b7a570

Browse files
authored
feat(package.json): Add Yarn (#38)
* feat(package.json): Add Yarn Add a yarn.lock file to lock dependencies
1 parent f73958e commit 8b7a570

File tree

2 files changed

+5535
-2
lines changed

2 files changed

+5535
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ A [React](https://github.com/facebook/react) component for [Google Publisher Tag
3030
## Installation
3131

3232
```
33-
$ npm install --save react-gpt
33+
$ yarn react-gpt
3434
```
3535

3636
React GPT depends on [Promise](https://promisesaplus.com/) to be available in browser. If your application support the browser which doesn't support Promise, please include the polyfill.
@@ -120,7 +120,7 @@ class Application extends React.Component {
120120
## To run examples:
121121

122122
1. Clone this repo
123-
2. Run `npm install`
123+
2. Run `yarn`
124124
3. Run `npm run examples` for client side rendering, `npm start` for server side rendering.
125125
4. Point your browser to http://localhost:8080
126126

0 commit comments

Comments
 (0)