Skip to content

Commit f6a19f9

Browse files
committed
list pkg files (to make sure npm doesn't grab them from repo root)
1 parent 3903e6d commit f6a19f9

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tasks/sync_packages.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,12 @@ packagesSpecs.forEach(function(d) {
4646
repository: pkg.repository,
4747
bugs: pkg.bugs,
4848
author: pkg.author,
49-
keywords: pkg.keywords
49+
keywords: pkg.keywords,
50+
files: [
51+
'LICENSE',
52+
'README.md',
53+
d.main
54+
]
5055
};
5156

5257
fs.writeFile(

0 commit comments

Comments
 (0)