UNPKG

rpc-cli

Version:

A rpc client base on JSON-RPC 2.0 Specification.

80 lines 1.86 kB
{ "name": "rpc-cli", "version": "1.2.1", "description": "A rpc client base on JSON-RPC 2.0 Specification.", "main": "dist/index.js", "typings": "dist/index.d.ts", "jam": { "main": "./dist/index.browser.js" }, "browser": { "dist/index.js": "./dist/index.browser.js" }, "scripts": { "build": "webpack || echo not ok", "test": "jest", "test:watch": "npm test -- --watch", "coverage": "npm test -- --coverage --no-cache", "coverage:watch": "npm run coverage -- --watch", "prepare": "npm run build && npm test", "release": "standard-version && npm pack" }, "repository": { "type": "git", "url": "git+https://github.com/gzhappysky/rpc-cli.git" }, "keywords": [ "example", "typescript", "library", "starter", "webpack", "browserify", "dts-bundle", "package", "jest", "tsloader", "boilerplate", "ts-loader" ], "author": "guoyong", "license": "MIT", "devDependencies": { "@types/jest": "^20.0.7", "@types/node": "^8.0.24", "@types/es6-promise": "0.0.33", "browserify": "^14.4.0", "delete-empty": "^1.0.1", "dts-bundle": "^0.7.3", "jest": "^20.0.4", "standard-version": "^4.2.0", "ts-jest": "^20.0.10", "ts-loader": "^2.3.3", "typescript": "2.4.2", "webpack": "3.5.5", "webpack-node-externals": "^1.6.0" }, "dependencies": { "axios": "^0.16.2" }, "jest": { "transform": { ".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js" }, "mapCoverage": true, "collectCoverageFrom": [ "src/**/*.ts" ], "coveragePathIgnorePatterns": [ "\/__tests__\/", "\/node_modules\/" ], "testEnvironment": "node", "testRegex": "__tests__/.*\\.spec\\.ts$", "moduleFileExtensions": [ "ts", "js", "json" ] } }