Skip to content

Commit 9ea7d1d

Browse files
committed
Updating README with instructions on how to build
1 parent e2a2801 commit 9ea7d1d

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,17 @@
2020
## Install
2121
Install the package and its peer dependencies via npm:
2222
```
23-
npm install d3
24-
npm install d3-hexbin
25-
npm install leaflet
23+
npm install d3 d3-hexbin leaflet
2624
```
2725

26+
If you want to grab the source files directly without using npm, or you want to run the examples, you can build the dist files directly.
27+
Simply check out the repository, and then build it with the following commands:
28+
```
29+
git clone git@github.com:Asymmetrik/leaflet-d3.git
30+
cd leaflet-d3
31+
npm install
32+
npm run build
33+
```
2834

2935
## Usage
3036

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"artifactName": "leaflet-d3",
44
"moduleName": "leafletD3",
55
"description": "Custom d3 layers for leaflet",
6-
"version": "4.3.0",
6+
"version": "4.3.1",
77
"author": "Asymmetrik, Ltd.",
88
"copyright": "Copyright (c) 2007-2018 Asymmetrik Ltd, a Maryland Corporation",
99
"license": "MIT",

0 commit comments

Comments
 (0)