Skip to content

Commit 8218d36

Browse files
authored
Merge pull request danialfarid#1762 from Den-dp/master
For npm builds use whitelisting with "files" field instead of .npmignore
2 parents cdf1688 + 6f1f2ad commit 8218d36

File tree

2 files changed

+4
-26
lines changed

2 files changed

+4
-26
lines changed

.npmignore

Lines changed: 0 additions & 25 deletions
This file was deleted.

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@
1616
"load-grunt-tasks": "^3.1.0"
1717
},
1818
"description": "An AngularJS directive for file upload using HTML5 with FileAPI polyfill for unsupported browsers",
19-
"main": "index.js",
19+
"files": [
20+
"index.js",
21+
"dist"
22+
],
2023
"scripts": {
2124
"test": "echo \"Error: no test specified\" && exit 1"
2225
},

0 commit comments

Comments
 (0)