Procházet zdrojové kódy

Add ability to just require package in nodejs

Norbert Fuksz před 9 roky
rodič
revize
4aae128bed
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      package.json

+ 2 - 1
package.json

@@ -7,7 +7,7 @@
     ],
     "description": "An enhanced HTML 5 file input for Bootstrap 3.x with file preview, multiple selection, ajax uploads, and more features.",
     "repository" : {
-        "type": "git", 
+        "type": "git",
         "url": "https://github.com/kartik-v/bootstrap-fileinput.git"
     },
     "bugs": {
@@ -26,6 +26,7 @@
         "progress",
         "gallery"
     ],
+    "main": "./js/fileinput.js",
     "peerDependencies": {
         "jquery": ">= 1.9.0",
         "bootstrap": "~3"