From 64dd5ee58dd8fd245b5687aa07fb8bce9c022583 Mon Sep 17 00:00:00 2001 From: MichalHe Date: Sun, 10 Feb 2019 15:31:14 +0100 Subject: [PATCH] updated readme.md - using github url as dependency --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6a751d9..bb4a77b 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,12 @@ ThreeJS OrbitControls as a standalone and typescript compatible npm module. ```shell npm install --save three-orbitcontrols-ts ``` - +## Installing latest version from git +If you require changes, that haven't yet made it to the npm repository you can add following dependency to your `package.json`: +``` +"three-orbitcontrols-ts": "git+https://git@github.com/nicolaspanel/three-orbitcontrols-ts.git" +``` +For more information see [npm docs](https://docs.npmjs.com/files/package.json#git-urls-as-dependencies). # Usage ```js import * as THREE from 'three';