summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2018-12-13 10:43:34 +0100
committerPierre Ossman <ossman@cendio.se>2019-01-11 13:39:02 +0100
commitea4065f33a39eb78d842cb86480b07da62f8528d (patch)
tree10aa71e910d211f239f6a364f9f2589670dff190 /package.json
parent18439b0680811f175e39ce381d0faa138f868d3c (diff)
downloadnovnc-ea4065f33a39eb78d842cb86480b07da62f8528d.tar.gz
Explicitly list what we want in our NPM package
Switch over to explicitly listing what we want to include, rather than listing what we don't want to include. There is too much risk of getting random junk from your working copy otherwise. This should also hopefully complain if something is missing.
Diffstat (limited to 'package.json')
-rw-r--r--package.json11
1 files changed, 11 insertions, 0 deletions
diff --git a/package.json b/package.json
index 24cb763..f9e2349 100644
--- a/package.json
+++ b/package.json
@@ -3,9 +3,20 @@
"version": "1.0.0",
"description": "An HTML5 VNC client",
"directories": {
+ "lib": "lib",
"doc": "docs",
"test": "tests"
},
+ "files": [
+ "lib",
+ "AUTHORS",
+ "VERSION",
+ "docs/API.md",
+ "docs/LIBRARY.md",
+ "docs/LICENSE*",
+ "core",
+ "vendor/pako"
+ ],
"scripts": {
"lint": "eslint app core po tests utils",
"test": "karma start karma.conf.js",