@bowbee/peer-lite
Version:
Lightweight WebRTC browser library that supports video, audio and data channels
100 lines (99 loc) • 2.66 kB
JSON
{
"name": "@bowbee/peer-lite",
"description": "Lightweight WebRTC browser library that supports video, audio and data channels",
"version": "2.2.0",
"license": "MIT",
"keywords": [
"audio",
"p2p",
"peer",
"peer lite",
"peer-to-peer",
"stream",
"video",
"voice",
"webrtc",
"webrtc stream"
],
"main": "./dist/index.js",
"module": "./dist/index.es.js",
"types": "./dist/types/index.d.ts",
"scripts": {
"prebuild": "rimraf -rf dist/*",
"build": "rollup --config build/rollup.config.ts --configPlugin typescript",
"test": "yarn test:playwright && yarn test:jest",
"test:playwright": "playwright test ./test/peer.spec.ts",
"test:jest": "jest",
"prepublishOnly": "npm run build",
"lint": "eslint . --ext .tsx --ext .ts --ext .js",
"commit": "cz",
"prepare": "husky install"
},
"dependencies": {},
"peerDependencies": {
"webrtc-adapter": "^9.0.1"
},
"devDependencies": {
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@playwright/test": "^1.22.2",
"@rollup/plugin-typescript": "^8.3.2",
"@swc/core": "^1.2.197",
"@swc/jest": "^0.2.21",
"@types/jest": "^28.1.1",
"@types/node": "^17.0.40",
"@types/webrtc": "^0.0.32",
"@typescript-eslint/eslint-plugin": "^5.27.0",
"@typescript-eslint/parser": "^5.27.0",
"commitizen": "^4.2.5",
"cz-conventional-changelog": "3.3.0",
"eslint": "^8.17.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.5.1",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-playwright": "^0.9.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.30.0",
"husky": "^8.0.1",
"jest": "^28.1.0",
"playwright": "^1.22.2",
"prettier": "^2.6.2",
"rimraf": "^3.0.2",
"rollup": "^2.75.5",
"rollup-plugin-swc": "^0.2.1",
"typescript": "^4.7.3",
"webrtc-adapter": "^9.0.1"
},
"files": [
"dist"
],
"jest": {
"modulePathIgnorePatterns": [
"./test/peer.spec.ts"
],
"transform": {
"^.+\\.(t|j)sx?$": [
"@swc/jest"
]
},
"moduleNameMapper": {
"webrtc-adapter": "<rootDir>/test/__mocks__/webrtc-adapter.ts"
},
"setupFiles": [
"<rootDir>/test/setup.ts"
]
},
"husky": {
"hooks": {
"prepare-commit-msg": "exec < /dev/tty && npx cz --hook || true"
}
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}