@0x/mesh-graphql-client 中文文档教程
@0x/mesh-graphql-client
Mesh GraphQL API 的客户端。
Installation
yarn add @0x/mesh-graphql-client
如果您的项目使用 TypeScript,请将以下内容添加到您的 tsconfig.json
:
"compilerOptions": {
"typeRoots": ["node_modules/@0x/typescript-typings/types", "node_modules/@types"],
}
Contributing
如果您想贡献客户端的错误修复或新功能,检查 0xproject/0x-mesh 项目并使用以下命令安装依赖项、构建、lint 和测试您的更改。
Install dependencies
yarn install
Build
yarn build
Clean
yarn clean
Lint
yarn lint
Run Tests
yarn test
@0x/mesh-graphql-client
A client for the Mesh GraphQL API.
Installation
yarn add @0x/mesh-graphql-client
If your project is in TypeScript, add the following to your tsconfig.json
:
"compilerOptions": {
"typeRoots": ["node_modules/@0x/typescript-typings/types", "node_modules/@types"],
}
Contributing
If you would like to contribute bug fixes or new features to the client, checkout the 0xproject/0x-mesh project and use the below commands to install the dependencies, build, lint and test your changes.
Install dependencies
yarn install
Build
yarn build
Clean
yarn clean
Lint
yarn lint
Run Tests
yarn test