UNPKG

strophe.js

Version:

Strophe.js is an XMPP library for JavaScript

127 lines (126 loc) 3.51 kB
{ "name": "strophe.js", "description": "Strophe.js is an XMPP library for JavaScript", "version": "4.0.0-rc0", "homepage": "http://strophe.im/strophejs", "repository": { "type": "git", "url": "git://github.com/strophe/strophejs.git" }, "keywords": [ "xmpp", "message", "bosh", "websocket", "browser" ], "files": [ "src/", "dist/", "CHANGELOG.txt", "LICENSE.txt", "README.txt" ], "author": "Jack Moffit (metajack)", "contributors": [ "Nathan Zorn (thepug)", "Andreas Guth (Gordin)", "Anton Stroganov (Aeon)", "Florian Zeitz (Florob)", "Christopher Zorn (twonds)", "dodo", "Lee Boynton (lboynton)", "Theo Cushion (theozaurus)", "Brendon Crawford (brendoncrawford)", "JC Brand (jcbrand)" ], "license": "MIT", "browserslist": ">1%, maintained node versions", "main": "src/index.js", "types": "src/types/index.d.ts", "browser": "dist/strophe.umd.js", "module": "dist/strophe.esm.js", "unpkg": "dist/strophe.umd.min.js", "exports": { ".": { "types": "./src/types/index.d.ts", "browser": { "import": "./dist/strophe.browser.esm.js", "require": "./dist/strophe.js", "default": "./dist/strophe.js" }, "node": { "import": "./dist/strophe.node.esm.js", "require": "./dist/strophe.cjs.js", "default": "./dist/strophe.cjs.js" }, "default": "./dist/strophe.browser.esm.js" }, "./package.json": "./package.json" }, "scripts": { "types": "tsc", "build": "rollup -c", "lint": "eslint src/*.js tests/tests.js", "clean": "make clean", "doc": "make doc", "debug-node": "NODE_OPTIONS='--inspect-wait' qunit -w --require ./tests/node tests/tests.js", "test:node": "qunit --require ./tests/node tests/tests.js", "test:browser": "karma start", "test": "npm run test:node && npm run test:browser && npm run lint", "prettier": "prettier --write src/*.js" }, "volo": { "url": "https://raw.githubusercontent.com/strophe/strophejs/release-{version}/strophe.js" }, "devDependencies": { "@babel/core": "^7.18.5", "@babel/eslint-parser": "^7.19.1", "@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6", "@babel/plugin-proposal-optional-chaining": "^7.21.0", "@babel/preset-env": "^7.18.2", "@eslint/eslintrc": "^3.2.0", "@eslint/js": "^9.16.0", "@rollup/plugin-babel": "^6.0.3", "@rollup/plugin-commonjs": "^28.0.1", "@rollup/plugin-node-resolve": "^15.0.1", "@types/node": "^22.15.30", "@types/ws": "^8.18.1", "almond": "~0.3.0", "es6-promise": "^4.2.8", "eslint": "^9.16.0", "globals": "^15.13.0", "http-server": "^14.1.0", "jsdoc": "^4.0.2", "jsdom": "^25.0.1", "karma": "^6.3.17", "karma-chrome-launcher": "^3.1.1", "karma-qunit": "^4.1.2", "karma-rollup-preprocessor": "^7.0.8", "minimist": "^1.2.5", "prettier": "^3.5.3", "qunit": "2.24.1", "rollup": "^2.32.1", "rollup-plugin-node-globals": "^1.4.0", "rollup-plugin-terser": "^7.0.2", "run-headless-chromium": "^0.1.1", "sinon": "19.0.2", "terser": "^5.10.0", "typescript": "^5.1.6", "typescript-eslint": "^8.33.1", "ws": "^8.18.2", "xhr2": "^0.2.1" }, "peerDependencies": { "jsdom": ">=20.0.0", "ws": ">=8.0.0" }, "peerDependenciesMeta": { "jsdom": { "optional": true }, "ws": { "optional": true } } }