UNPKG

@gear-js/api

Version:

A JavaScript library that provides functionality to connect GEAR Component APIs.

67 lines (66 loc) 2.12 kB
{ "name": "@gear-js/api", "version": "0.42.0", "description": "A JavaScript library that provides functionality to connect GEAR Component APIs.", "main": "lib/cjs/index.js", "module": "lib/index.js", "types": "lib/index.d.ts", "type": "module", "author": "Gear Technologies", "bugs": { "url": "https://github.com/gear-tech/gear-js/issues" }, "homepage": "https://github.com/gear-tech/gear-js/tree/master/apis/gear#readme", "repository": { "type": "git", "url": "git+https://github.com/gear-tech/gear-js.git", "directory": "apis/gear" }, "keywords": [ "gear", "gear-js", "gear-api" ], "scripts": { "test": "bash run-tests.sh", "test:only": "npx jest --testPathPattern", "build": "rm -rf lib && npx rollup --config rollup.config.js", "generate:defs": "npx ts-node --skip-project ../../node_modules/.bin/polkadot-types-from-defs --package sample-polkadotjs-typegen/interfaces --input ./temp --endpoint ws://127.0.0.1:9944", "generate:meta": "npx ts-node --skip-project ../../node_modules/.bin/polkadot-types-from-chain --package sample-polkadotjs-typegen/interfaces --endpoint ws://127.0.0.1:9944 --output ./temp", "clean": "echo \"clean @gear-js/api\" && rm -rf lib" }, "exports": { "./cjs/package.json": "./lib/cjs/package.json", "./cjs/*": "./lib/cjs/*.js", ".": { "import": "./lib/index.js", "require": "./lib/cjs/index.js", "types": "./lib/index.d.ts" }, "./types": { "import": "./lib/types/index.d.ts" }, "./utils": { "import": "./lib/utils/index.js", "require": "./lib/cjs/utils/index.js", "types": "./lib/utils/index.d.ts" } }, "license": "GPL-3.0", "peerDependencies": { "@polkadot/api": "^15.9.1", "@polkadot/wasm-crypto": "^7.4.1", "rxjs": "^7.8.2" }, "devDependencies": { "@polkadot/api": "15.10.2", "@polkadot/typegen": "15.10.2", "@polkadot/types": "15.10.2", "@polkadot/wasm-crypto": "7.4.1", "rxjs": "7.8.2" }, "files": [ "lib" ], "gitHead": "209f723b4a270df42f938b807a1c874643d6e754" }