From a3e000ec8099442e85348fa443f676ff17b70bf1 Mon Sep 17 00:00:00 2001 From: jos Date: Fri, 19 Dec 2014 11:25:07 +0100 Subject: [PATCH] Added prerequisites for custom builds --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 86d88306..2305bd77 100644 --- a/README.md +++ b/README.md @@ -154,6 +154,16 @@ The source code of vis.js consists of commonjs modules, which makes it possible *Note that hammer.js version 1 is required (v1.0.6-v1.1.3), version 2 is not yet supported.* + +#### Prerequisites + +Before you can do a build: + +- Install node.js, npm, and browserify on your system. +- Download or clone the vis.js project. +- Install the dependencies of vis.js by running `npm install` in the root of the project. + + #### Example 1: Bundle a single visualization For example, to create a bundle with just the Timeline and DataSet, create an index file named **custom.js** in the root of the project, containing: