peerjs-server/package.json
semantic-release-bot eb6b280646
chore(release): 1.0.0 [skip ci]
# [1.0.0](https://github.com/peers/peerjs-server/compare/v0.6.1...v1.0.0) (2023-03-07)

### Bug Fixes

* **deps:** update dependency ws to v8 ([1ecc94b](1ecc94b887))
* import from ESM only environments ([476299e](476299ed08))
* more accurate types ([68f973a](68f973afb4)), closes [#182](https://github.com/peers/peerjs-server/issues/182)
* **npm audit:** Updates all dependencies that cause `npm audit` to issue a warning ([1aaafbc](1aaafbc450)), closes [#287](https://github.com/peers/peerjs-server/issues/287)
* the server could crash if a client sends invalid frames ([29394de](29394dea5e))

### Features

* drop Node {10,11,12,13} support ([b70ed79](b70ed79d9a))
* ESM support ([2b73b5c](2b73b5c97d))
* remove deprecated XHR fallback ([d900145](d900145901))
* set the PEERSERVER_PATH with an environment variable ([084fb8a](084fb8a4bd)), closes [#213](https://github.com/peers/peerjs-server/issues/213)
* set the PORT with an environment variable ([68a3398](68a3398f54)), closes [#213](https://github.com/peers/peerjs-server/issues/213)
* specify cors options via cli or js ([05f12cd](05f12cdc56)), closes [#196](https://github.com/peers/peerjs-server/issues/196) [#221](https://github.com/peers/peerjs-server/issues/221)

### Performance Improvements

* use the builtin UUID generator for Peer ids instead of the `uuid` module ([5d882dd](5d882dd0c6))

### BREAKING CHANGES

* Requires PeerJS >= 1.0
* Node >= 14 required

14 is the oldest currently supported version. See https://github.com/nodejs/release#release-schedule
2023-03-07 19:25:47 +00:00

107 lines
2.4 KiB
JSON

{
"name": "peer",
"version": "1.0.0",
"keywords": [
"peerjs",
"webrtc",
"p2p",
"rtc"
],
"description": "PeerJS server component",
"homepage": "https://peerjs.com",
"bugs": {
"url": "https://github.com/peers/peerjs-server/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/peers/peerjs-server"
},
"license": "MIT",
"contributors": [],
"type": "module",
"exports": {
".": {
"import": {
"types": "./dist/peer.d.ts",
"default": "./dist/module.mjs"
},
"require": {
"types": "./dist/peer.d.ts",
"default": "./dist/index.cjs"
}
}
},
"main": "dist/index.cjs",
"module": "dist/module.mjs",
"source": "src/index.ts",
"binary": "dist/bin/peerjs.js",
"types": "dist/peer.d.ts",
"bin": {
"peerjs": "dist/bin/peerjs.js"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/peer"
},
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/peer"
},
"files": [
"dist/"
],
"engines": {
"node": ">=14"
},
"targets": {
"binary": {
"source": "bin/peerjs.ts"
},
"main": {},
"module": {}
},
"scripts": {
"format": "prettier --write .",
"build": "parcel build",
"lint": "eslint --ext .js,.ts . && npm run check",
"check": "tsc --noEmit",
"test": "npm run lint && jest",
"coverage": "jest --coverage",
"start": "node dist/bin/peerjs.js --port ${PORT:=9000}",
"dev": "nodemon --watch src -e ts --exec 'npm run build && npm run start'",
"semantic-release": "semantic-release"
},
"dependencies": {
"@types/express": "^4.17.3",
"@types/ws": "^7.2.3 || ^8.0.0",
"cors": "^2.8.5",
"express": "^4.17.1",
"node-fetch": "^3.3.0",
"ws": "^7.2.3 || ^8.0.0",
"yargs": "^17.6.2"
},
"devDependencies": {
"@codedependant/semantic-release-docker": "^4.3.0",
"@parcel/packager-ts": "^2.8.2",
"@parcel/transformer-typescript-types": "^2.8.2",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/git": "^10.0.1",
"@swc/core": "^1.3.35",
"@swc/jest": "^0.2.24",
"@tsconfig/node16-strictest-esm": "^1.0.3",
"@types/cors": "^2.8.6",
"@types/jest": "^29.4.0",
"@types/node": "^14.18.33",
"@types/yargs": "^17.0.19",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"eslint": "^8.0.0",
"jest": "^29.4.2",
"mock-socket": "^9.1.5",
"parcel": "^2.8.2",
"prettier": "^2.8.4",
"semantic-release": "^20.0.0",
"typescript": "^4.1.2"
}
}