Skip to content

Commit bf39060

Browse files
committed
Scaffold: Use files property in package.json & ignore .DS_Store
1 parent 3a155d2 commit bf39060

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,5 @@ build/Release
2323
# Deployed apps should consider commenting this line out:
2424
# see https://npmjs.org/doc/faq.html#Should-I-check-my-node_modules-folder-into-git
2525
node_modules
26+
27+
.DS_Store

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
"node": ">= 0.10"
1515
},
1616
"main": "index.js",
17+
"files": [
18+
"index.js",
19+
"LICENSE"
20+
],
1721
"scripts": {
1822
"test": "lab -cv",
1923
"lint": "jshint test index.js --reporter node_modules/jshint-stylish/stylish.js --exclude node_modules"

0 commit comments

Comments
 (0)