@chatie/grpc
Version:
gRPC for Chatie
79 lines • 2.38 kB
JSON
{
"name": "@chatie/grpc",
"version": "0.18.12",
"description": "gRPC for Chatie",
"main": "dist/src/index.js",
"typings": "dist/src/index.d.js",
"directories": {
"example": "examples",
"test": "tests"
},
"scripts": {
"clean": "shx rm -fr dist/* generated/*",
"dist": "npm run clean && npm run generate && tsc && shx mv generated/ dist/",
"dist:py": "python3 setup.py sdist bdist_wheel",
"publish:py": "twine upload dist/*",
"example:server": "nodemon --exec ts-node examples/server.ts",
"example:client": "ts-node examples/client.ts",
"generate": "bash -x scripts/generate-stub.sh",
"lint": "npm run lint:es && npm run lint:ts && npm run lint:proto",
"lint:es": "eslint --ignore-pattern fixtures/ \"src/**/*.ts\" \"tests/**/*.ts\" \"examples/**/*.ts\"",
"lint:ts": "tsc --noEmit",
"lint:proto": "bash -c 'protoc -I proto/wechaty --lint_out=. $(find proto/ -type f -name *.proto)'",
"install:lint:protoc": "bash -x scripts/install-protoc-gen-lint.sh",
"test": "npm run lint && npm run test:unit",
"test:pack": "bash -x scripts/npm-pack-testing.sh",
"test:unit": "blue-tape -r ts-node/register \"src/**/*.spec.ts\" \"tests/**/*.spec.ts\"",
"pack": "npm pack"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Chatie/grpc.git"
},
"keywords": [
"grpc",
"chatie",
"chatbot",
"hostie",
"puppet",
"wechaty"
],
"author": "Huan LI <zixia@zixia.net>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/Chatie/grpc/issues"
},
"homepage": "https://github.com/Chatie/grpc#readme",
"dependencies": {
"grpc": "^1.24.2",
"google-protobuf": "^3.11.3"
},
"devDependencies": {
"@chatie/eslint-config": "^0.12.1",
"@chatie/git-scripts": "^0.6.2",
"@chatie/semver": "^0.4.7",
"@chatie/tsconfig": "^0.10.1",
"@types/google-protobuf": "^3.7.2",
"@types/protobufjs": "^6.0.0",
"grpc-tools": "^1.8.0",
"grpc_tools_node_protoc_ts": "^5.0.0",
"grpcc": "^1.1.3",
"nodemon": "^2.0.0",
"request": "^2.88.2",
"shx": "^0.3.2",
"ts-protoc-gen": "^0.13.0",
"tstest": "^0.4.10"
},
"engines": {
"node": ">= 10"
},
"publishConfig": {
"access": "public",
"tag": "latest"
},
"git": {
"scripts": {
"pre-push": "npx git-scripts-pre-push"
}
}
}