|
| 1 | +{ |
| 2 | + "name": "@ocap/brow-2-brow", |
| 3 | + "version": "1.0.0", |
| 4 | + "private": true, |
| 5 | + "description": "Browser-to-browser libp2p communications proof of concept", |
| 6 | + "repository": { |
| 7 | + "type": "git", |
| 8 | + "url": "https://github.com/MetaMask/ocap-kernel.git" |
| 9 | + }, |
| 10 | + "type": "module", |
| 11 | + "scripts": { |
| 12 | + "build": "ts-bridge --project tsconfig.build.json --clean", |
| 13 | + "build:dev": "mkdir -p dist && ln -fs ../src/index.html dist/index.html", |
| 14 | + "build:docs": "typedoc", |
| 15 | + "changelog:validate": "../../scripts/validate-changelog.sh @ocap/brow-2-brow", |
| 16 | + "clean": "rimraf --glob './*.tsbuildinfo' ./.eslintcache ./coverage ./dist", |
| 17 | + "lint": "yarn lint:eslint && yarn lint:misc --check && yarn constraints && yarn lint:dependencies", |
| 18 | + "lint:dependencies": "depcheck", |
| 19 | + "lint:eslint": "eslint . --cache", |
| 20 | + "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write && yarn constraints --fix && yarn lint:dependencies", |
| 21 | + "lint:misc": "prettier --no-error-on-unmatched-pattern '**/*.json' '**/*.md' '**/*.html' '!**/CHANGELOG.old.md' '**/*.yml' '!.yarnrc.yml' '!merged-packages/**' --ignore-path ../../.gitignore", |
| 22 | + "test": "vitest run --config vitest.config.ts", |
| 23 | + "test:clean": "yarn test --no-cache --coverage.clean", |
| 24 | + "test:dev": "yarn test --mode development", |
| 25 | + "test:verbose": "yarn test --reporter verbose", |
| 26 | + "test:watch": "vitest --config vitest.config.ts", |
| 27 | + "start": "npm run build:dev && esbuild src/index.js --serve --sourcemap --bundle --outdir=dist --servedir=dist --external:@types/web", |
| 28 | + "start:relay": "node dist/src/relay.mjs" |
| 29 | + }, |
| 30 | + "dependencies": { |
| 31 | + "@chainsafe/libp2p-noise": "^15.1.0", |
| 32 | + "@chainsafe/libp2p-yamux": "^6.0.2", |
| 33 | + "@libp2p/autonat": "^1.1.1", |
| 34 | + "@libp2p/bootstrap": "^10.1.1", |
| 35 | + "@libp2p/circuit-relay-v2": "^1.1.1", |
| 36 | + "@libp2p/crypto": "^5.1.1", |
| 37 | + "@libp2p/identify": "^2.1.1", |
| 38 | + "@libp2p/interface": "^2.9.0", |
| 39 | + "@libp2p/peer-id": "^5.1.2", |
| 40 | + "@libp2p/tcp": "^9.1.1", |
| 41 | + "@libp2p/webrtc": "^4.1.1", |
| 42 | + "@libp2p/websockets": "^8.1.1", |
| 43 | + "@libp2p/webtransport": "^4.1.1", |
| 44 | + "@multiformats/multiaddr": "^12.3.0", |
| 45 | + "@multiformats/multiaddr-matcher": "^1.2.4", |
| 46 | + "@ts-bridge/cli": "^0.6.3", |
| 47 | + "@ts-bridge/shims": "^0.1.1", |
| 48 | + "@types/web": "^0", |
| 49 | + "it-byte-stream": "^2.0.1", |
| 50 | + "libp2p": "^1.8.0", |
| 51 | + "uint8arrays": "^5.1.0" |
| 52 | + }, |
| 53 | + "devDependencies": { |
| 54 | + "@ocap/test-utils": "workspace:^", |
| 55 | + "@types/node": "^22.13.1", |
| 56 | + "@typescript-eslint/eslint-plugin": "^8.29.0", |
| 57 | + "@typescript-eslint/parser": "^8.29.0", |
| 58 | + "@typescript-eslint/utils": "^8.29.0", |
| 59 | + "depcheck": "^1.4.7", |
| 60 | + "esbuild": "^0.25.3", |
| 61 | + "eslint": "^9.23.0", |
| 62 | + "eslint-config-prettier": "^10.1.1", |
| 63 | + "eslint-import-resolver-typescript": "^4.3.1", |
| 64 | + "eslint-plugin-import-x": "^4.10.0", |
| 65 | + "eslint-plugin-jsdoc": "^50.6.9", |
| 66 | + "eslint-plugin-n": "^17.17.0", |
| 67 | + "eslint-plugin-prettier": "^5.2.6", |
| 68 | + "eslint-plugin-promise": "^7.2.1", |
| 69 | + "prettier": "^3.5.3", |
| 70 | + "rimraf": "^6.0.1", |
| 71 | + "ses": "^1.12.0", |
| 72 | + "typescript": "~5.8.2", |
| 73 | + "typescript-eslint": "^8.29.0", |
| 74 | + "vitest": "^3.1.1" |
| 75 | + }, |
| 76 | + "eslintConfig": { |
| 77 | + "extends": "ipfs", |
| 78 | + "parserOptions": { |
| 79 | + "sourceType": "module" |
| 80 | + } |
| 81 | + }, |
| 82 | + "engines": { |
| 83 | + "node": "^20 || >=22" |
| 84 | + }, |
| 85 | + "exports": { |
| 86 | + "./package.json": "./package.json" |
| 87 | + } |
| 88 | +} |
0 commit comments