{"_id":"@ahalabs/open-rpc-docs-react","name":"@ahalabs/open-rpc-docs-react","dist-tags":{"latest":"0.2.0"},"versions":{"0.2.0":{"name":"@ahalabs/open-rpc-docs-react","version":"0.2.0","description":"OpenRPC Docs React for Stellar","homepage":"https://github.com/AhaLabs/open-rpc-docs-react#readme","bugs":{"url":"https://github.com/AhaLabs/open-rpc-docs-react/issues"},"repository":{"type":"git","url":"git+https://github.com/AhaLabs/open-rpc-docs-react.git"},"license":"Apache-2.0","main":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"build":"tsc --project tsconfig.build.json && cp src/ContentDescriptor/ContentDescriptor.css dist/ContentDescriptor/ && cp src/index.css dist/","build:clean":"rimraf dist && yarn build","build:docs":"typedoc","link:setup":"rm -rf ./node_modules/react ./node_modules/react-dom","lint":"yarn lint:eslint && yarn lint:constraints && yarn lint:misc --check && yarn lint:dependencies --check && yarn lint:changelog","lint:changelog":"auto-changelog validate","lint:constraints":"yarn constraints","lint:dependencies":"depcheck && yarn dedupe","lint:eslint":"eslint . --cache --ext js,ts","lint:fix":"yarn lint:eslint --fix && yarn lint:constraints --fix && yarn lint:misc --write && yarn lint:dependencies && yarn lint:changelog","lint:misc":"prettier '**/*.json' '**/*.md' '!CHANGELOG.md' '**/*.yml' '!.yarnrc.yml' --ignore-path .gitignore --no-error-on-unmatched-pattern","prepack":"./scripts/prepack.sh","test":"jest && jest-it-up","test:watch":"jest --watch"},"dependencies":{"@json-schema-tools/traverse":"^1.10.1","@open-rpc/examples":"^1.6.1","@rjsf/core":"^5.6.2","@rjsf/utils":"^5.6.2","@rjsf/validator-ajv8":"^5.6.2","@stoplight/json-schema-viewer":"^4.9.1","@stoplight/markdown-viewer":"^5","@stoplight/mosaic":"^1.32","@stoplight/mosaic-code-viewer":"^1.32","hash-color-material":"^1.1.3","lodash":"^4.17.15","qs":"^6.11.1","react-markdown":"^8.0.7","react-syntax-highlighter":"^15.4.3"},"devDependencies":{"@lavamoat/allow-scripts":"^2.3.1","@lavamoat/preinstall-always-fail":"^1.0.0","@metamask/auto-changelog":"^3.1.0","@metamask/eslint-config":"^11.0.1","@metamask/eslint-config-jest":"^11.0.0","@metamask/eslint-config-nodejs":"^11.0.1","@metamask/eslint-config-typescript":"^11.0.0","@open-rpc/meta-schema":"^1.11.0","@testing-library/react":"^11.2.2","@types/jest":"^29.5.0","@types/json-schema":"^7.0.11","@types/lodash":"^4.14.194","@types/node":"^16","@types/react":"^18.2.6","@types/react-dom":"^18.0.0","@types/react-syntax-highlighter":"^15.5.6","@typescript-eslint/eslint-plugin":"^5.43.0","@typescript-eslint/parser":"^5.43.0","depcheck":"^1.4.3","eslint":"^8.27.0","eslint-config-prettier":"^8.5.0","eslint-plugin-import":"^2.26.0","eslint-plugin-jest":"^27.1.5","eslint-plugin-jsdoc":"^39.6.2","eslint-plugin-node":"^11.1.0","eslint-plugin-prettier":"^4.2.1","jest":"^29.5.0","jest-environment-jsdom":"^29.5.0","jest-it-up":"^2.0.2","jest-transform-css":"^6.0.1","json-schema-ref-parser":"^7.0.1","prettier":"^2.7.1","prettier-plugin-packagejson":"^2.3.0","react":"^18.0.0","react-dom":"^18.0.0","rimraf":"^3.0.2","ts-jest":"^29.1.0","ts-node":"^10.7.0","typedoc":"^0.23.15","typescript":"^5.0.4"},"peerDependencies":{"react":"^18.0.0","react-dom":"^18.0.0"},"packageManager":"yarn@3.2.1","engines":{"node":">=16.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"lavamoat":{"allowScripts":{"@lavamoat/preinstall-always-fail":false,"@stoplight/mosaic>@fortawesome/fontawesome-svg-core":false,"@stoplight/mosaic>@fortawesome/fontawesome-svg-core>@fortawesome/fontawesome-common-types":false,"@testing-library/react>@testing-library/dom>aria-query>@babel/runtime-corejs3>core-js-pure":false}},"gitHead":"6c2d38a5102a39510b361f6e0fdf656d74844c38","_id":"@ahalabs/open-rpc-docs-react@0.2.0","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-GpVUPkSedWOEAdcj6XZEogm/C3OJxJ6ec872xuJpRXqV/qc491ffH/AwKNXeDNBuZexYCqsTcEJ4om+4PzVIpQ==","shasum":"7856463c01967d41d3f4ab3e6589d2066fd2435e","tarball":"https://registry.npmjs.org/@ahalabs/open-rpc-docs-react/-/open-rpc-docs-react-0.2.0.tgz","fileCount":61,"unpackedSize":324172,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+PAMBW6DDXTgPoHL1ALw8RSm0V8xdT4BRzBzAxtdd0QIgeEPXP0+3uvRDo1msj2wJUgwLp8y+J4iyvCnuVEE6uGU="}]},"_npmUser":{"name":"chadoh","email":"hi+npm@chadoh.com"},"directories":{},"maintainers":[{"name":"chadoh","email":"hi+npm@chadoh.com"},{"name":"sirwillem","email":"willem@wyndham.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/open-rpc-docs-react_0.2.0_1722626065812_0.1632456061388876"},"_hasShrinkwrap":false}},"time":{"created":"2024-08-02T19:14:25.697Z","0.2.0":"2024-08-02T19:14:26.042Z","modified":"2024-08-02T19:14:26.370Z"},"maintainers":[{"name":"chadoh","email":"hi+npm@chadoh.com"},{"name":"sirwillem","email":"willem@wyndham.tech"}],"description":"OpenRPC Docs React for Stellar","homepage":"https://github.com/AhaLabs/open-rpc-docs-react#readme","repository":{"type":"git","url":"git+https://github.com/AhaLabs/open-rpc-docs-react.git"},"bugs":{"url":"https://github.com/AhaLabs/open-rpc-docs-react/issues"},"license":"Apache-2.0","readme":"# @metamask/open-rpc-docs-react\n\nOpenRPC documentation as a react component\n\n#### What is this?\n\nThis is a react component that will render documentation for a given OpenRPC document.\n\n#### How do I use this?\n\n##### Installation:\n\n```\nnpm install --save @metamask/open-rpc-docs-react\n```\n\n##### Usage:\n\n```\nimport Method from \"@metamask/open-rpc-docs-react\";\n```\n\nand then use it somewhere in a project:\n\n```\n<Method method={method} />\n```\n\n## Development\n\n### Linking\n\nWhen linking this project with others, use `yarn link:setup` to avoid getting errors about hooks / multiple react versions.\n","readmeFilename":"README.md"}