mirror of
https://git.proxmox.com/git/mirror_novnc
synced 2025-04-28 16:31:02 +00:00
[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:
parent
a80955ee7a
commit
f6dd102a14
1
.gitignore
vendored
1
.gitignore
vendored
@ -9,3 +9,4 @@ utils/websockify
|
|||||||
recordings
|
recordings
|
||||||
*.swp
|
*.swp
|
||||||
*~
|
*~
|
||||||
|
noVNC-*.tgz
|
||||||
|
50
.npmignore
50
.npmignore
@ -1,21 +1,37 @@
|
|||||||
app
|
# infra JS
|
||||||
core
|
/build/
|
||||||
vendor
|
/node_modules/
|
||||||
.gitmodules
|
/tests/
|
||||||
node_modules
|
/utils/
|
||||||
|
/recordings/
|
||||||
|
/vendor/sinon.js
|
||||||
|
|
||||||
|
# noVNC application files
|
||||||
|
/app
|
||||||
|
/vendor/browser-es-module-loader
|
||||||
|
/vendor/promise.js
|
||||||
|
/vnc.html
|
||||||
|
/vnc_lite.html
|
||||||
|
|
||||||
|
# raw translation files
|
||||||
|
/po
|
||||||
|
|
||||||
|
# config files
|
||||||
|
/.travis.yml
|
||||||
|
/karma.conf.js
|
||||||
|
|
||||||
|
# various other files
|
||||||
|
/.gitmodules
|
||||||
.*
|
.*
|
||||||
*~
|
*~
|
||||||
*.swp
|
*.swp
|
||||||
*.swo
|
*.swo
|
||||||
tests
|
|
||||||
.travis.yml
|
# documentation (except licenses)
|
||||||
utils
|
/docs/notes
|
||||||
docs/notes
|
/docs/links
|
||||||
docs/links
|
/docs/release.txt
|
||||||
docs/release.txt
|
/docs/rfb_notes
|
||||||
docs/rfb_notes
|
/docs/*.pdf
|
||||||
docs/*.pdf
|
/docs/flash_policy.txt
|
||||||
vnc.html
|
/CONTRIBUTING.md
|
||||||
vnc_lite.html
|
|
||||||
karma.conf.js
|
|
||||||
docs/flash_policy.txt
|
|
||||||
|
@ -2,14 +2,13 @@
|
|||||||
"name": "noVNC",
|
"name": "noVNC",
|
||||||
"version": "0.6.1",
|
"version": "0.6.1",
|
||||||
"description": "An HTML5 VNC client",
|
"description": "An HTML5 VNC client",
|
||||||
"main": "karma.conf.js",
|
|
||||||
"directories": {
|
"directories": {
|
||||||
"doc": "docs",
|
"doc": "docs",
|
||||||
"test": "tests"
|
"test": "tests"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "PATH=$PATH:node_modules/karma/bin karma start karma.conf.js",
|
"test": "PATH=$PATH:node_modules/karma/bin karma start karma.conf.js",
|
||||||
"prepublish": "node ./utils/use_require.js --as commonjs"
|
"prepare": "node ./utils/use_require.js --as commonjs --clean"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
Loading…
Reference in New Issue
Block a user