Skip to content

Commit

Permalink
fix: change-path-for-npm-package #21
Browse files Browse the repository at this point in the history
fix: change-path-for-npm-package #21
  • Loading branch information
Mylothros-Charalampos authored Jul 8, 2021
1 parent e24b580 commit 1506005
Show file tree
Hide file tree
Showing 11 changed files with 5 additions and 166 deletions.
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*
yarn-debug.log*
yarn-error.log*

#webpack generated
dist
lib
# Runtime data
pids
*.pid
Expand Down
31 changes: 0 additions & 31 deletions dist/GeoSearchControl.js

This file was deleted.

17 changes: 0 additions & 17 deletions dist/Providers/bingProvider.js

This file was deleted.

17 changes: 0 additions & 17 deletions dist/Providers/esriProvider.js

This file was deleted.

17 changes: 0 additions & 17 deletions dist/Providers/googleProvider.js

This file was deleted.

17 changes: 0 additions & 17 deletions dist/Providers/locationIQProvider.js

This file was deleted.

17 changes: 0 additions & 17 deletions dist/Providers/openCageProvider.js

This file was deleted.

13 changes: 0 additions & 13 deletions dist/Providers/openStreetMapProvider.js

This file was deleted.

34 changes: 0 additions & 34 deletions dist/index.js

This file was deleted.

2 changes: 1 addition & 1 deletion example/geosearch.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import { MapContainer, TileLayer } from "react-leaflet";
import { SearchControl, OpenStreetMapProvider } from "../src/index";
import { SearchControl, OpenStreetMapProvider } from "../lib/index";
import './react-leaflet-geosearch.css';

export default class GeoSearchExample extends React.Component {
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,10 @@
"build:lib": "npm run compile:lib",
"clean:lib": "rm -Rf ./lib",
"compile:lib": "babel src --out-dir lib",
"prepublishOnly": "npm run transpile",
"prepublishOnly": "npm run build",
"example": "webpack-dev-server --config ./example/webpack.config.js",
"lint": "eslint ./src",
"pretty": "prettier --write \"{src,example}/**/*.js\"",
"transpile": "babel src -d dist --copy-files"
},
"files": [
"src",
Expand Down

0 comments on commit 1506005

Please sign in to comment.