UNPKG

nestjs-proto-gen-ts

Version:

Generate TypeScript interfaces for Nest.js gRPC from proto files

68 lines (67 loc) 1.94 kB
{ "name": "nestjs-proto-gen-ts", "version": "1.0.21", "description": "Generate TypeScript interfaces for Nest.js gRPC from proto files", "homepage": "https://github.com/AlexDaSoul/nestjs-proto-gen-ts", "author": "Alex Dukhnovskiy <alexdasoul@gmail.com>", "license": "MIT", "main": "dist/index.js", "typings": "dist/index.d.ts", "scripts": { "format": "prettier --write \"src/**/*.ts\"", "lint": "eslint \"src/**/*.ts\" --fix", "build": "tsc --sourceMap false --declaration false", "watch": "tsc --watch", "clean": "rimraf ./dist", "proto:gen": "node bin/cli -p . -i node_modules", "test": "tsc --noEmit -p tsconfig.test.json" }, "files": [ "bin/", "dist/", "templates/" ], "bin": { "tsproto": "bin/cli" }, "engines": { "node": ">=6.3.2" }, "repository": { "type": "git", "url": "git@github.com:AlexDaSoul/nestjs-proto-gen-ts.git" }, "bugs": { "url": "https://github.com/AlexDaSoul/nestjs-proto-gen-ts/issues" }, "keywords": [ "protobuf", "proto", "protobufjs", "typescript", "grpc", "nest.js" ], "devDependencies": { "@types/protobufjs": "^6.0.0", "@grpc/grpc-js": "^1.3.6", "@types/node": "^14.0.11", "@typescript-eslint/eslint-plugin": "^3.1.0", "@typescript-eslint/parser": "^3.1.0", "eslint": "^7.2.0", "eslint-config-prettier": "^6.11.0", "eslint-plugin-import": "^2.20.2", "prettier": "^2.0.5", "rimraf": "^3.0.2", "rxjs": "^6.5.5", "tslint-eslint-rules": "^5.4.0", "typescript": "^3.9.5" }, "dependencies": { "chalk": "^4.0.0", "fs-extra": "^9.0.1", "handlebars": "^4.7.6", "protobufjs": "^7.1.2", "yargs": "^15.3.1" } }