package.json (1862B)
1{ 2 "name": "guacamole-common-js", 3 "version": "1.5.0", 4 "description": "The Guacamole javascript client", 5 "type": "module", 6 "main": "dist/cjs/guacamole-common.js", 7 "module": "dist/esm/guacamole-common.js", 8 "exports": { 9 ".": { 10 "import": "./dist/esm/guacamole-common.js", 11 "require": "./dist/cjs/guacamole-common.js" 12 } 13 }, 14 "scripts": { 15 "build": "npm run build:esm && npm run build:cjs", 16 "build:esm:concat": "cat guacamole-common-js/src/main/webapp/modules/*.js > dist/esm/guacamole-common.js", 17 "build:esm:append": "echo 'export default Guacamole;' >> dist/esm/guacamole-common.js", 18 "build:esm:minify": "minify dist/esm/guacamole-common.js > dist/esm/guacamole-common.min.js", 19 "build:esm": "npm run build:esm:concat && npm run build:esm:append && npm run build:esm:minify", 20 "build:cjs:concat": "cat guacamole-common-js/src/main/webapp/modules/*.js > dist/cjs/guacamole-common.js", 21 "build:cjs:append": "echo 'module.exports = Guacamole;' >> dist/cjs/guacamole-common.js", 22 "build:cjs:minify": "minify dist/cjs/guacamole-common.js > dist/cjs/guacamole-common.min.js", 23 "build:cjs": "npm run build:cjs:concat && npm run build:cjs:append && npm run build:cjs:minify", 24 "prepublishOnly": "npm run build" 25 }, 26 "repository": { 27 "type": "git", 28 "url": "git+https://github.com/padarom/guacamole-common-js.git" 29 }, 30 "files": [ 31 "dist", 32 "README.md" 33 ], 34 "keywords": [ 35 "guacamole", 36 "common", 37 "js", 38 "guac", 39 "remote", 40 "desktop", 41 "vnc", 42 "rdp", 43 "ssh", 44 "telnet" 45 ], 46 "author": "Christopher Mühl <christopher@muehl.dev>", 47 "license": "Apache 2.0", 48 "bugs": { 49 "url": "https://issues.apache.org/jira/browse/GUACAMOLE/" 50 }, 51 "homepage": "https://github.com/padarom/guacamole-common-js#readme", 52 "devDependencies": { 53 "minify": "^9.2.0" 54 } 55}