|
| 1 | +{ |
| 2 | + "name": "@ocap/rpc-methods", |
| 3 | + "version": "0.0.0", |
| 4 | + "private": true, |
| 5 | + "description": "Utilities for implementing JSON-RPC methods", |
| 6 | + "homepage": "https://github.com/MetaMask/ocap-kernel/tree/main/packages/rpc-methods#readme", |
| 7 | + "bugs": { |
| 8 | + "url": "https://github.com/MetaMask/ocap-kernel/issues" |
| 9 | + }, |
| 10 | + "repository": { |
| 11 | + "type": "git", |
| 12 | + "url": "https://github.com/MetaMask/ocap-kernel.git" |
| 13 | + }, |
| 14 | + "type": "module", |
| 15 | + "exports": { |
| 16 | + ".": { |
| 17 | + "import": { |
| 18 | + "types": "./dist/index.d.mts", |
| 19 | + "default": "./dist/index.mjs" |
| 20 | + }, |
| 21 | + "require": { |
| 22 | + "types": "./dist/index.d.cts", |
| 23 | + "default": "./dist/index.cjs" |
| 24 | + } |
| 25 | + }, |
| 26 | + "./package.json": "./package.json" |
| 27 | + }, |
| 28 | + "files": [ |
| 29 | + "dist/" |
| 30 | + ], |
| 31 | + "scripts": { |
| 32 | + "build": "ts-bridge --project tsconfig.build.json --clean", |
| 33 | + "build:docs": "typedoc", |
| 34 | + "changelog:validate": "../../scripts/validate-changelog.sh @ocap/rpc-methods", |
| 35 | + "clean": "rimraf --glob './*.tsbuildinfo' ./.eslintcache ./coverage ./dist", |
| 36 | + "lint": "yarn lint:eslint && yarn lint:misc --check && yarn constraints && yarn lint:dependencies", |
| 37 | + "lint:dependencies": "depcheck", |
| 38 | + "lint:eslint": "eslint . --cache", |
| 39 | + "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write && yarn constraints --fix && yarn lint:dependencies", |
| 40 | + "lint:misc": "prettier --no-error-on-unmatched-pattern '**/*.json' '**/*.md' '**/*.html' '!**/CHANGELOG.old.md' '**/*.yml' '!.yarnrc.yml' '!merged-packages/**' --ignore-path ../../.gitignore", |
| 41 | + "publish:preview": "yarn npm publish --tag preview", |
| 42 | + "test": "vitest run --config vitest.config.ts", |
| 43 | + "test:clean": "yarn test --no-cache --coverage.clean", |
| 44 | + "test:dev": "yarn test --mode development", |
| 45 | + "test:verbose": "yarn test --reporter verbose", |
| 46 | + "test:watch": "vitest --config vitest.config.ts" |
| 47 | + }, |
| 48 | + "dependencies": { |
| 49 | + "@endo/promise-kit": "^1.1.6", |
| 50 | + "@metamask/superstruct": "^3.2.0", |
| 51 | + "@metamask/utils": "^11.3.0", |
| 52 | + "@ocap/utils": "workspace:^" |
| 53 | + }, |
| 54 | + "devDependencies": { |
| 55 | + "@arethetypeswrong/cli": "^0.17.3", |
| 56 | + "@metamask/auto-changelog": "^4.0.0", |
| 57 | + "@metamask/eslint-config": "^14.0.0", |
| 58 | + "@metamask/eslint-config-nodejs": "^14.0.0", |
| 59 | + "@metamask/eslint-config-typescript": "^14.0.0", |
| 60 | + "@ocap/test-utils": "workspace:^", |
| 61 | + "@ts-bridge/cli": "^0.6.2", |
| 62 | + "@ts-bridge/shims": "^0.1.1", |
| 63 | + "@typescript-eslint/eslint-plugin": "^8.26.1", |
| 64 | + "@typescript-eslint/parser": "^8.26.1", |
| 65 | + "@typescript-eslint/utils": "^8.26.1", |
| 66 | + "@vitest/eslint-plugin": "^1.1.25", |
| 67 | + "depcheck": "^1.4.7", |
| 68 | + "eslint": "^9.12.0", |
| 69 | + "eslint-config-prettier": "^9.1.0", |
| 70 | + "eslint-import-resolver-typescript": "^3.8.4", |
| 71 | + "eslint-plugin-import-x": "^4.3.1", |
| 72 | + "eslint-plugin-jsdoc": "^50.3.1", |
| 73 | + "eslint-plugin-n": "^17.11.1", |
| 74 | + "eslint-plugin-prettier": "^5.2.1", |
| 75 | + "eslint-plugin-promise": "^7.1.0", |
| 76 | + "prettier": "^3.3.3", |
| 77 | + "rimraf": "^6.0.1", |
| 78 | + "typedoc": "^0.27.9", |
| 79 | + "typescript": "~5.8.2", |
| 80 | + "typescript-eslint": "^8.26.1", |
| 81 | + "vite": "^6.0.11", |
| 82 | + "vitest": "^3.0.5" |
| 83 | + }, |
| 84 | + "engines": { |
| 85 | + "node": "^20 || >=22" |
| 86 | + } |
| 87 | +} |
0 commit comments