Explicitly list file sin package.json

To avoid publishing whatever happens to be in the working copy.

Equivalent of https://github.com/vector-im/vector-web/pull/2516
for react-sdk.
This commit is contained in:
David Baker 2016-11-01 15:15:31 +00:00
parent 9e69b48762
commit 3e8fcac303

View file

@ -9,6 +9,23 @@
},
"license": "Apache-2.0",
"main": "lib/index.js",
"files": [
"CHANGELOG.md",
"CONTRIBUTING.rst",
"LICENSE",
"README.md",
"code_style.md",
"git-revision.txt",
"header",
"jenkins.sh",
"karma.conf.js",
"lib",
"package.json",
"release.sh",
"scripts",
"src",
"test"
],
"bin": {
"reskindex": "scripts/reskindex.js"
},