rpcchannel
Version:
Easy RPC with permission controls
61 lines (60 loc) • 2.17 kB
JSON
{
"name": "rpcchannel",
"version": "0.3.1",
"description": "Easy RPC with permission controls",
"main": "lib/index.js",
"types": "lib/src/index.d.ts",
"keywords": [
"rpc",
"messagechannel",
"worker"
],
"typings": "lib/src/index.d.ts",
"author": "Nathan Pennie <kb1rd@kb1rd.net> [@kb1rd:kb1rd.net]",
"license": "LGPL-3.0-or-later",
"scripts": {
"check-types": "tsc --noEmit",
"check-types:watch": "yarn run type-check -- --watch",
"build": "yarn run lint && yarn run build:types && yarn run build:js",
"build:types": "tsc --emitDeclarationOnly",
"build:js": "babel src --out-dir lib --extensions \".ts,.tsx\" --source-maps inline",
"build:docs": "typedoc --mode modules --out .jsdoc src/",
"lint": "eslint src/*",
"test": "mocha --require ./test/babel-register.js --colors ./test/*.spec.ts",
"test:watch": "mocha --require ./test/babel-register.js --colors -w ./test/*.spec.ts",
"test:cover": "cross-env NODE_ENV=test nyc mocha --require ./test/babel-register.js --require source-map-support/register --recursive --colors ./test/*.spec.ts"
},
"devDependencies": {
"@babel/cli": "^7.8.3",
"@babel/core": "^7.8.3",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-decorators": "^7.10.5",
"@babel/plugin-transform-runtime": "^7.11.5",
"@babel/preset-env": "^7.8.3",
"@babel/preset-typescript": "^7.8.3",
"@babel/register": "^7.10.5",
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@types/chai": "^4.2.11",
"@types/mocha": "^8.0.0",
"@typescript-eslint/eslint-plugin": "^3.7.0",
"@typescript-eslint/parser": "^3.7.0",
"babel-eslint": "^10.1.0",
"babel-plugin-istanbul": "^6.0.0",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"eslint": "^7.5.0",
"eslint-config-prettier": "^6.11.0",
"eslint-loader": "^4.0.2",
"eslint-plugin-prettier": "^3.1.4",
"mocha": "^8.0.1",
"nyc": "^15.1.0",
"prettier": "^2.0.5",
"typedoc": "^0.17.8",
"typescript": "^3.7.5"
},
"dependencies": {
"@babel/runtime": "^7.11.2",
"ajv": "^6.12.3",
"eventemitter3": "^4.0.7"
}
}