From 46ca4ba2810fd623bc0d4735915ebce5d6f8e903 Mon Sep 17 00:00:00 2001 From: Kristofer Joseph Date: Wed, 4 Jun 2014 20:03:41 -0700 Subject: [PATCH] Fixing npm install by updating main property main is the property npm uses to know what to require. It was requiring the Gruntfile instead of the compiled source. :beers: --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 15964a4..fb108c9 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "snapsvg", "version": "0.3.0", "description": "JavaScript Vector Library", - "main": "Gruntfile.js", + "main": "./dist/snap.svg.js", "repository": { "type": "git", "url": "git@github.com:adobe-webplatform/Snap.svg.git"