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.
This commit is contained in:
parent
8858ee75a5
commit
e02f0488bb
@ -4,6 +4,7 @@
|
|||||||
"description": "The HTML Presentation Framework",
|
"description": "The HTML Presentation Framework",
|
||||||
"homepage": "http://lab.hakim.se/reveal-js",
|
"homepage": "http://lab.hakim.se/reveal-js",
|
||||||
"subdomain": "revealjs",
|
"subdomain": "revealjs",
|
||||||
|
"main": "js/reveal.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "grunt test",
|
"test": "grunt test",
|
||||||
"start": ""
|
"start": ""
|
||||||
|
Loading…
Reference in New Issue
Block a user