Switch from excl npmignore to incl package.json files

This commit is contained in:
Lovell Fuller 2019-10-27 18:22:10 +00:00
parent 20f512fe5f
commit 220bb03a32
2 changed files with 8 additions and 16 deletions

View File

@ -1,16 +0,0 @@
build
node_modules
coverage
.editorconfig
.gitattributes
.gitignore
test
.travis.yml
appveyor.yml
mkdocs.yml
docs/css/
vendor
.prebuildrc
.nyc_output
.github/
.vscode/

View File

@ -76,6 +76,14 @@
"docs": "for m in constructor input resize composite operation colour channel output utility; do documentation build --shallow --format=md --markdown-toc=false lib/$m.js >docs/api-$m.md; done"
},
"main": "lib/index.js",
"files": [
"binding.gyp",
"docs/**",
"!docs/css/**",
"install/**",
"lib/**",
"src/**"
],
"repository": {
"type": "git",
"url": "git://github.com/lovell/sharp"