Convert NPM bundle to ES-Module format

This commit is contained in:
Eli Kogan-Wang
2025-05-06 12:40:30 +02:00
committed by Pierre Ossman
parent 6cf02042de
commit fe29dc6509
6 changed files with 13 additions and 152 deletions

View File

@@ -2,19 +2,20 @@
"name": "@novnc/novnc",
"version": "1.6.0",
"description": "An HTML5 VNC client",
"browser": "lib/rfb",
"type": "module",
"files": [
"lib",
"core",
"vendor",
"AUTHORS",
"VERSION",
"docs/API.md",
"docs/LIBRARY.md",
"docs/LICENSE*"
],
"exports": "./core/rfb.js",
"scripts": {
"lint": "eslint app core po/po2js po/xgettext-html tests utils",
"test": "karma start karma.conf.js",
"prepublish": "node ./utils/convert.js --clean"
"test": "karma start karma.conf.cjs"
},
"repository": {
"type": "git",