aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorAlexandre Stanislawski <alexandre.stanislawski@algolia.com>2015-03-14 20:05:05 +0100
committerAlexandre Stanislawski <alexandre.stanislawski@algolia.com>2015-03-14 20:05:05 +0100
commite02f0488bb052c9bc83bb8fbb8d07ed6f0c7b2d2 (patch)
treee03f6a60eac77876ce1c6cf1ed244fa5e97c5fb3 /package.json
parent8858ee75a5b5a74c4ed102555c7baaa0f5d29ecd (diff)
downloadperl-software-in-gnu-guix-e02f0488bb052c9bc83bb8fbb8d07ed6f0c7b2d2.tar
perl-software-in-gnu-guix-e02f0488bb052c9bc83bb8fbb8d07ed6f0c7b2d2.tar.gz
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.
Diffstat (limited to 'package.json')
-rw-r--r--package.json1
1 files changed, 1 insertions, 0 deletions
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": ""