Skip to content

Commit

Permalink
🐛 : fix module js file incorrect issue ✅
Browse files Browse the repository at this point in the history
  • Loading branch information
kavindu-mane committed Apr 7, 2024
1 parent 2fb11a5 commit d6794da
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 6 deletions.
20 changes: 19 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div align = "center">
<img src = "https://github.com/kavindu-mane/react-percentage-bar/blob/main/rpb_cover.png" alt = "covr"/>
<img src = "https://github.com/kavindu-mane/react-percentage-bar/blob/main/rpb_cover.png" alt = "cover"/>
</div>
# <p align = "center">🚀 React Percentage Bar.</p>
Expand All @@ -24,6 +24,24 @@ _Install with npm:_
```bash
npm i react-percentage-bar
```

_Install with bun:_

```bash
bun add react-percentage-bar
```

_Install with yarn:_

```bash
yarn add react-percentage-bar
```

_Install with pnpm:_

```bash
pnpm add react-percentage-bar
```

## Usage
_Import the progress bar components:_
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "react-percentage-bar",
"version": "1.2.1",
"version": "1.2.3",
"description": "React linear and circular percentage progress bars.",
"main": "dist/index.js",
"module": "dist/index.es.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
Expand Down
21 changes: 20 additions & 1 deletion publish/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div align = "center">
<img src = "https://github.com/kavindu-mane/react-percentage-bar/blob/main/rpb_cover.png" alt = "covr"/>
<img src = "https://github.com/kavindu-mane/react-percentage-bar/blob/main/rpb_cover.png" alt = "cover"/>
</div>
# <p align = "center">🚀 React Percentage Bar.</p>
Expand All @@ -24,13 +24,32 @@ _Install with npm:_
```bash
npm i react-percentage-bar
```

_Install with bun:_

```bash
bun add react-percentage-bar
```

_Install with yarn:_

```bash
yarn add react-percentage-bar
```

_Install with pnpm:_

```bash
pnpm add react-percentage-bar
```

## Usage
_Import the progress bar components:_

```javascript
import { CircularProgressBar } from "react-percentage-bar";
import { LinearProgressBar } from "react-percentage-bar";
import "react-percentage-bar/dist/index.css";
```
Now you can use both components like bellow.

Expand Down
4 changes: 2 additions & 2 deletions publish/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "react-percentage-bar",
"version": "1.2.1",
"version": "1.2.3",
"description": "React linear and circular percentage progress bars.",
"main": "dist/index.js",
"module": "dist/index.es.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
Expand Down

0 comments on commit d6794da

Please sign in to comment.