koajs / koa-body

koa body parser middleware
MIT License
950 stars 130 forks source link

Update files property of package.json #71

Closed JarvisPrestidge closed 7 years ago

JarvisPrestidge commented 7 years ago

index.d.ts wasn't making it through to the npm package because of an outdated "files": property in the package.json.

I've removed all unnecessary and non canonical files which don't affect the correct working of the package. Things like: tests, examples, CI leftovers, .npmignore, makefile etc. and added the missing index.d.ts.

JarvisPrestidge commented 7 years ago

Also, instead of maintaining both a whitelist ("files" property) and a blacklist (.npmignore) you might want to consider just using one for the sake of simplicity :+1:

dlau commented 7 years ago

👍 For now, will revisit the whole confusing whitelist/blacklist soon! Thanks!