From e02f0488bb052c9bc83bb8fbb8d07ed6f0c7b2d2 Mon Sep 17 00:00:00 2001 From: Alexandre Stanislawski Date: Sat, 14 Mar 2015 20:05:05 +0100 Subject: [PATCH] Make npm dependency usable by Browserify through NPM Right now the package is not recognized as usable library by Browserify. Adding the main attribute in the package.json solves that, and now gives others the possibility to use reveal as a library in more complex systems. --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 10489bb..afe21f2 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "description": "The HTML Presentation Framework", "homepage": "http://lab.hakim.se/reveal-js", "subdomain": "revealjs", + "main": "js/reveal.js", "scripts": { "test": "grunt test", "start": ""