Преглед на файлове

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.
Alexandre Stanislawski преди 10 години
родител
ревизия
e02f0488bb
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      package.json

+ 1 - 0
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": ""