@oiij/web-rtc
Version:
Features:
106 lines (105 loc) • 2.56 kB
JSON
{
"name": "@oiij/web-rtc",
"type": "module",
"version": "0.0.1",
"description": "",
"author": "oiij",
"license": "MIT",
"homepage": "https://github.com/oiij/web-rtc",
"repository": {
"type": "git",
"url": "git@github.com:oiij/web-rtc.git"
},
"bugs": "https://github.com/oiij/web-rtc/issues",
"keywords": [
"web-rtc"
],
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./node": {
"types": "./dist/node.d.ts",
"import": "./dist/node.js",
"require": "./dist/node.cjs"
},
"./class": {
"types": "./dist/class.d.ts",
"import": "./dist/class.js",
"require": "./dist/class.cjs"
}
},
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"LICENSE",
"README.md",
"dist",
"package.json"
],
"scripts": {
"dev": "tsup --watch",
"dev:unbuild": "unbuild --stub",
"build": "tsc --noEmit && tsup",
"build:unbuild": "tsc --noEmit && unbuild",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"prepublishOnly": "pnpm build",
"release": "bumpp -r && npm publish --access public",
"awe": "pnpx are-we-esm",
"nmi": "pnpx node-modules-inspector",
"start": "esno src/index.ts",
"test": "vitest",
"update:deps": "taze -w && pnpm i",
"type:check": "tsc --noEmit",
"cz": "czg",
"commit": "git pull && git add -A && pnpm cz && git push",
"link": "pnpm link --global",
"preinstall": "npx only-allow pnpm"
},
"peerDependencies": {
"vue": "^3.5.13",
"ws": "^8.18.1"
},
"dependencies": {
"nanoid": "^5.1.5"
},
"devDependencies": {
"@antfu/eslint-config": "^4.2.0",
"@oiij/tsconfig": "^0.0.1",
"@types/node": "^22.13.1",
"@types/ws": "^8.18.0",
"@vitest/ui": "^3.0.5",
"bumpp": "^10.0.3",
"commitlint": "^19.7.1",
"cz-git": "^1.11.0",
"czg": "^1.11.0",
"eslint": "^9.20.1",
"eslint-plugin-format": "^1.0.1",
"esno": "^4.8.0",
"lint-staged": "^15.4.3",
"simple-git-hooks": "^2.11.1",
"taze": "^18.5.0",
"tsup": "8.3.6",
"typescript": "^5.7.3",
"unbuild": "^3.3.1",
"vitest": "^3.0.5",
"vue": "^3.5.13",
"ws": "^8.18.1"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged && pnpm type:check"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"pnpm lint:fix"
]
},
"publishConfig": {
"access": "public"
}
}