Skip to content

Commit e0ccdcb

Browse files
committed
add files to pkg.json and add bages to readme
1 parent db59632 commit e0ccdcb

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Node.js Package
1+
name: Publish Package Pipeline
22

33
on:
44
release:

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# adblock-detect-react
22

3+
[![npm version](https://badge.fury.io/js/adblock-detect-react.svg)](https://www.npmjs.com/package/adblock-detect-react)
4+
![Publish Status](https://github.com/aruniverse/adblock-detect-react/workflows/Publish%20Package%20Pipeline/badge.svg)
5+
36
## Description
47

58
Provides utilities to check if ad block is enabled on a page via either a React hook or a wrapper component.

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "adblock-detect-react",
3-
"version": "1.0.0-beta.1",
3+
"version": "1.0.0-beta.2",
44
"description": "Provide React Hook that checks if AdBlock is enabled on the page.",
55
"main": "lib/index.js",
66
"module": "build/index.js",
@@ -11,6 +11,10 @@
1111
"url": "https://github.com/aruniverse/adblock-detect-react",
1212
"type": "git"
1313
},
14+
"files": [
15+
"lib/**/*",
16+
"build/**/*"
17+
],
1418
"keywords": [
1519
"react",
1620
"adblock",
@@ -36,4 +40,4 @@
3640
"react": "^16.8.0",
3741
"react-dom": "^16.8.0"
3842
}
39-
}
43+
}

0 commit comments

Comments
 (0)