bestiejs / json3

A JSON polyfill. No longer maintained.
https://bestiejs.github.io/json3
Other
1.02k stars 150 forks source link

Add .npmignore #76

Closed RobLoach closed 9 years ago

RobLoach commented 9 years ago

We don't need Travis, Coverage, or Tests in the published npm package.

ghost commented 9 years ago

Hi @RobLoach! I think the files field in package.json already takes care of excluding the extra files from the package. Here's what I get when I build the npm tarball:

$ npm pack | xargs tar xvzf
x package/package.json
x package/README.md
x package/LICENSE
x package/lib/json3.js
x package/lib/json3.min.js
RobLoach commented 9 years ago

I believe you're right. I must have had an older version of json3 installed before this commit.

ghost commented 9 years ago

No worries. Thanks for confirming!