Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #161 from sindresorhus/files-prop

Explicitly define contents of npm package
  • Loading branch information...
commit 38b7adbd3a0304d1d8a98a213ba228d1c7d55eed 2 parents efc585c + 6915b12
@tj authored
Showing with 1 addition and 7 deletions.
  1. +0 −7 .npmignore
  2. +1 −0  package.json
View
7 .npmignore
@@ -1,7 +0,0 @@
-support
-test
-examples
-*.sock
-.npmignore
-.travis.yml
-Makefile
View
1  package.json
@@ -9,4 +9,5 @@
, "scripts": { "test": "make test" }
, "main": "index"
, "engines": { "node": ">= 0.6.x" }
+ , "files": ["index.js"]
}

1 comment on commit 38b7adb

@drkibitz

Has this field always existed in npm? Is so wow, and why I have I never seen it before?

Please sign in to comment.
Something went wrong with that request. Please try again.