strophe.js
Version:
Strophe.js is an XMPP library for JavaScript
121 lines (120 loc) • 3.51 kB
JSON
{
"name": "strophe.js",
"description": "Strophe.js is an XMPP library for JavaScript",
"version": "5.0.0",
"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.md",
"LICENSE.txt",
"README.md"
],
"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",
"type": "module",
"main": "./dist/strophe.cjs",
"types": "./dist/types/index.d.ts",
"browser": "./dist/strophe.umd.cjs",
"module": "./dist/strophe.esm.js",
"unpkg": "./dist/strophe.umd.min.js",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"browser": {
"import": "./dist/strophe.esm.js",
"require": "./dist/strophe.umd.cjs",
"default": "./dist/strophe.umd.cjs"
},
"node": {
"types": "./dist/types/index-node.d.ts",
"import": "./dist/strophe.node.esm.js",
"require": "./dist/strophe.cjs",
"default": "./dist/strophe.cjs"
},
"default": "./dist/strophe.esm.js"
},
"./package.json": "./package.json"
},
"scripts": {
"types": "tsc",
"build": "tsc && rollup -c",
"lint": "eslint src",
"clean": "make clean",
"doc": "make doc",
"test": "npm run build && vitest run && npm run lint",
"prettier": "prettier --write \"src/**/*.ts\""
},
"volo": {
"url": "https://raw.githubusercontent.com/strophe/strophejs/release-{version}/strophe.js"
},
"devDependencies": {
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.16.0",
"@rollup/plugin-commonjs": "^28.0.1",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-terser": "^1.0.0",
"@rollup/plugin-typescript": "^12.3.0",
"@types/node": "^26.0.0",
"@types/ws": "^8.18.1",
"@xmldom/xmldom": "^0.9.10",
"almond": "~0.3.0",
"es6-promise": "^4.2.8",
"eslint": "^10.5.0",
"globals": "^15.13.0",
"http-server": "^14.1.0",
"jsdoc": "^4.0.2",
"minimist": "^1.2.5",
"prettier": "^3.5.3",
"rollup": "^4.62.2",
"saxes": "6.0.0",
"terser": "^5.10.0",
"tslib": "^2.8.1",
"typedoc": "^0.28.19",
"typescript": "^5.1.6",
"typescript-eslint": "^8.33.1",
"vitest": "^4.1.8",
"ws": "^8.18.2",
"xhr2": "^0.2.1"
},
"peerDependencies": {
"@xmldom/xmldom": "^0.9.0",
"saxes": "^6.0.0",
"ws": ">=8.0.0"
},
"peerDependenciesMeta": {
"@xmldom/xmldom": {
"optional": true
},
"saxes": {
"optional": true
},
"ws": {
"optional": true
}
}
}