Permalink
Browse files

Implement npm require support.

  • Loading branch information...
1 parent ca115b3 commit 68c1e9be6c462ac15110676773dd8689700b3033 @ducksoupdev ducksoupdev committed Jun 7, 2015
Showing with 3 additions and 1 deletion.
  1. +2 −0 index.js
  2. +1 −1 package.json
View
@@ -0,0 +1,2 @@
+require('./dist/ng-file-upload-all');
+module.exports = 'ngFileUpload';
View
@@ -16,7 +16,7 @@
"load-grunt-tasks": "^3.1.0"
},
"description": "An AngularJS directive for file upload using HTML5 with FileAPI polyfill for unsupported browsers",
- "main": "dist/ng-file-upload-all.js",
+ "main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},

0 comments on commit 68c1e9b

Please sign in to comment.