[infra] updated packaging config

This updates the .npmignore file to ignore some new files that were
recently added, and to keep the `core` directory, so that noVNC can be
used as an ES6 module from NPM.

This also updates package.json to clean when generating lib files in the
`prepare` phase (which has replaced the `prepublish` phase).
This commit is contained in:
Solly Ross
2017-10-03 19:36:36 -04:00
parent a80955ee7a
commit f6dd102a14
3 changed files with 35 additions and 19 deletions

1
.gitignore vendored
View File

@@ -9,3 +9,4 @@ utils/websockify
recordings
*.swp
*~
noVNC-*.tgz