@mothepro/fancy-p2p
Version:
A quick and efficient way to form p2p groups in the browser
67 lines (66 loc) • 2.42 kB
JSON
{
"name": "@mothepro/fancy-p2p",
"description": "A quick and efficient way to form p2p groups in the browser",
"author": "Maurice Prosper",
"version": "0.0.22",
"license": "Apache-2.0",
"main": "dist/npm/index.js",
"sideEffects": false,
"type": "module",
"module": "dist/esm/index.js",
"files": [
"dist"
],
"repository": "https://github.com/mothepro/fancy-p2p",
"homepage": "https://mothepro.github.io/fancy-p2pya",
"publishConfig": {
"access": "public"
},
"keywords": [
"p2p",
"peer",
"peer-to-peer",
"peer2peer"
],
"scripts": {
"build": "npm run build:npm && npm run build:esm",
"pretest": "npm run build:npm",
"test": "echo 'no tests... yet'",
"prerelease": "npm run build",
"release": "np",
"importmap": "importly --host unpkg < package.json > demo/import-map.json",
"win:importmap": "type package.json | importly --host unpkg > demo/import-map.json",
"html:dev:real": "replace \"dev-only type=dev-only-\" \"dev-only type=\" demo/index.html",
"html:dev:shim": "replace \"dev-only type=\" \"dev-only type=dev-only-\" demo/index.html",
"html:prod:real": "replace \"prod-only type=prod-only-\" \"prod-only type=\" demo/index.html",
"html:prod:shim": "replace \"prod-only type=\" \"prod-only type=prod-only-\" demo/index.html",
"predeploy": "npm run build:esm && npm run html:dev:shim && npm run html:prod:real",
"postdeploy": "npm run html:dev:real && npm run html:prod:shim",
"deploy": "gh-pages -d demo",
"postrelease": "npm run deploy",
"build:npm": "tsc",
"build:esm": "tsc -p tsconfig.esm.json"
},
"devDependencies": {
"@mothepro/signaling-lobby": "^0.3.3",
"@types/mocha": "^8.2.0",
"@types/should-sinon": "^0.0.8",
"@types/simple-peer": "^9.6.1",
"@types/ws": "^7.4.0",
"gh-pages": "^3.1.0",
"importly": "^0.1.0-dev.0",
"lit-element": "^2.4.0",
"lit-log": "^0.0.1",
"mocha": "^8.2.1",
"np": "^7.2.0",
"replace": "^1.2.0",
"should": "^13.2.3",
"should-sinon": "^0.0.6",
"sinon": "^9.2.4",
"typescript": "^4.1.3"
},
"dependencies": {
"fancy-emitter": "^2.0.0",
"simple-peer": "^9.9.3"
}
}