From da2a4e3cfc3a9ebd8852b7a83891d599583c5427 Mon Sep 17 00:00:00 2001 From: Graeme Yeates Date: Tue, 9 Dec 2014 16:56:12 -0500 Subject: [PATCH 1/2] #461; export the browser version when using browserify --- package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.json b/package.json index 7b432a00..11189b1e 100644 --- a/package.json +++ b/package.json @@ -13,9 +13,11 @@ "Jonathan Puckey (http://studiomoniker.com)" ], "main": "dist/paper-node.js", + "browser": "dist/paper-full.js", "files": [ "AUTHORS.md", "dist/paper-node.js", + "dist/paper-full.js", "examples/Node.js", "LICENSE.txt", "README.md" From e4e786051df3ea194e8775fee6e9020c8f8a8032 Mon Sep 17 00:00:00 2001 From: Graeme Yeates Date: Wed, 10 Dec 2014 08:19:28 -0500 Subject: [PATCH 2/2] Also expose core (for custom browserify/webpack builds) Lets users `var paper = require("paper/dist/paper-core");` --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 11189b1e..13c5343c 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "AUTHORS.md", "dist/paper-node.js", "dist/paper-full.js", + "dist/paper-core.js", "examples/Node.js", "LICENSE.txt", "README.md"