Skip to content

Commit

Permalink
fix: simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
Filipe Correa committed Feb 24, 2023
1 parent 9ee106f commit 3aa7a89
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 10.x, 12.x, 14.x, 16.x, 18.x ]
node-version: [ 10.x, 12.x, 14.x, 16.x ]
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

30 changes: 18 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ React component for rendering images with zoom controls and hotspots.

Install from _npm_ and include it in your project build process:

```
```bash
npm install react-image-hotspots --save
```

Or install from _Yarn_ running:
Or install from _yarn_ running:

```
```bash
yarn add react-image-hotspots
```

Expand Down Expand Up @@ -62,22 +62,28 @@ If image size is smaller than the container size, zoom controls and minimap will

### Prerequisites

- [Node.js 10](https://nodejs.org/dist/latest-v10.x/)

Test project running:
- [Node.js](https://nodejs.org)

```
npm test
```
### Start

Run project running:
Start the project running:

```
```bash
npm start
```

Build project running:
### Test

Test the project running:

```bash
npm test
```

### Build

Build the project running:

```bash
npm run build
```
4 changes: 2 additions & 2 deletions package-lock.json

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": "react-image-hotspots",
"version": "1.7.1",
"version": "1.8.0",
"description": "React component for rendering images with hotspots",
"main": "dist/ImageHotspots.js",
"files": [
Expand Down

0 comments on commit 3aa7a89

Please sign in to comment.