Skip to content

Commit

Permalink
fix: fix npm package (#6)
Browse files Browse the repository at this point in the history
fix: fix npm package (#6)

* delete dist and lib

* delete unecessary command in action of github

* changed paths

* update readme
  • Loading branch information
Mylothros-Charalampos authored Jul 8, 2021
1 parent 5b3e708 commit 6495da4
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 7,159 deletions.
1 change: 0 additions & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,4 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm test
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ npm-debug.log*

.vscode

# webpack generated
dist
lib
# Runtime data
pids
*.pid
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Then add
```jsx
import React from 'react';
import { MapContainer, TileLayer, LayersControl } from 'react-leaflet'
import { ShapeFile } from '../src'
import { ShapeFile } from '../src/index.js'

const { BaseLayer, Overlay } = LayersControl;

Expand Down
45 changes: 0 additions & 45 deletions dist/main.js

This file was deleted.

Loading

0 comments on commit 6495da4

Please sign in to comment.