UNPKG

@glif/filecoin-rpc-client

Version:

a convenience library for interacting with the Lotus jsonrpc

49 lines (48 loc) 1.95 kB
{ "name": "@glif/filecoin-rpc-client", "version": "4.0.0", "description": "a convenience library for interacting with the Lotus jsonrpc", "main": "./dist/index.js", "browser": "./lib/index.js", "module": "./module/index.js", "types": "./dist/index.d.ts", "scripts": { "clean": "rimraf dist/ lib/ module/", "build-browser": "cross-env BABEL_ENV=browser babel ./src --out-dir ./lib --extensions \".ts,.tsx\" --source-maps --ignore '**/__tests__'", "build-module": "cross-env BABEL_ENV=module babel ./src --out-dir ./module --extensions \".ts,.tsx\" --source-maps --ignore '**/__tests__'", "build-node": "babel ./src/ --out-dir ./dist/ --extensions \".ts,.tsx\" --source-maps --ignore '**/__tests__'", "build-types": "tsc --emitDeclarationOnly", "build": "npm run clean && npm run build-types && npm run build-node && npm run build-browser && npm run build-module", "prepublishOnly": "npm run build", "lint": "eslint --ext .jsx,.js,.ts,.tsx ./src", "lint:fix": "eslint --ext .jsx,.js,.ts,.tsx ./src --fix", "test": "npm run lint && npm run build && jest", "test:watch": "npm run build && jest --watch", "type-check": "tsc --noEmit", "type-check:watch": "npm run type-check -- --watch" }, "author": "Infinite Scroll <squad@infinitescroll.org> (https://infinitescroll.org)", "license": "(Apache-2.0 OR MIT)", "dependencies": { "axios": "^0.27.2" }, "devDependencies": { "@typescript-eslint/eslint-plugin": "^5.35.1", "@typescript-eslint/parser": "^5.35.1", "eslint": "^8.22.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-prettier": "^4.2.1", "nock": "^13.0.5", "prettier": "^2.7.1" }, "files": [ "dist", "lib", "module" ], "repository": { "type": "git", "url": "https://github.com/glifio/modules/tree/primary/packages/filecoin-rpc-client" }, "gitHead": "0bb90b90d733180e878ce8c042e670c87fce7851" }