Skip to content

Commit

Permalink
v1.0.1 Added dist
Browse files Browse the repository at this point in the history
- Updated README.md
  • Loading branch information
zsajjad committed Jul 7, 2020
1 parent 2f90e52 commit 7952848
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 9 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ npm-debug.log
.c9
package-lock.json
.vscode/
dist/
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
registry=https://npm.pkg.github.com/zsajjad
registry=https://npm.pkg.github.com
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,29 @@
## Install

```bash
npm install --save react-facebook-pixel
npm install --save @zsajjad/react-facebook-pixel

```

or

```bash
yarn add react-facebook-pixel
yarn add @zsajjad/react-facebook-pixel

```

## Sponsors

React Facebook Pixel is being sponsored by the following tool; please help to support us by taking a look and signing up to a free trial

<a href="https://tracking.gitads.io/?repo=YOUR_REPO">
<img src="https://images.gitads.io/YOUR_REPO" alt="GitAds"/>
<a href="https://tracking.gitads.io/?repo=react-facebook-pixel" target="_blank">
<img src="https://images.gitads.io/react-facebook-pixel" alt="GitAds"/>
</a>

## How to use

```js
import ReactPixel from 'react-facebook-pixel';
import ReactPixel from '@zsajjad/react-facebook-pixel';

const advancedMatching = { em: '[email protected]' }; // optional, more info: https://developers.facebook.com/docs/facebook-pixel/advanced/advanced-matching
const options = {
Expand All @@ -50,7 +50,7 @@ if you're bundling in CI
```js
...
componentDidMount() {
const ReactPixel = require('react-facebook-pixel');
const ReactPixel = require('@zsajjad/react-facebook-pixel');
ReactPixel.init('yourPixelIdGoesHere');
}
...
Expand Down
2 changes: 2 additions & 0 deletions dist/fb-pixel.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/fb-pixel.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zsajjad/react-facebook-pixel",
"version": "1.0.0",
"version": "1.0.1",
"description": "Pixel Kit for React",
"main": "dist/fb-pixel.js",
"types": "./types/index.d.ts",
Expand Down

0 comments on commit 7952848

Please sign in to comment.