@instamenta/grpc-errors
Version:
grpc status codes builder for javascript and typescript grpc server responses
51 lines (50 loc) • 1.17 kB
JSON
{
"name": "@instamenta/grpc-errors",
"version": "1.3.17",
"description": "grpc status codes builder for javascript and typescript grpc server responses",
"types": "./lib/cjs/types/index.d.ts",
"main": "./lib/cjs/index.js",
"exports": {
".": {
"import": {
"types": "./lib/esm/types/index.d.ts",
"default": "./lib/esm/index.mjs"
},
"require": {
"types": "./lib/cjs/types/index.d.ts",
"default": "./lib/cjs/index.js"
}
}
},
"scripts": {
"clean": "rm -rf ./lib",
"build": "npm run clean && npm run build:esm && npm run build:cjs",
"build:esm": "tsc -p ./tsconfig.esm.json && mv lib/esm/index.js lib/esm/index.mjs",
"build:cjs": "tsc -p ./tsconfig.cjs.json",
"prepack": "npm run build"
},
"files": [
"lib/**/*",
"src/index.ts",
"README.md"
],
"keywords": [
"grpc",
"status",
"codes",
"@grpc/grpc-js",
"javascript",
"js",
"typescript",
"ts"
],
"author": "instamenta",
"license": "MIT",
"devDependencies": {
"typescript": "^5.1.6"
},
"dependencies": {
"@grpc/grpc-js": "^1.9.2",
"zod": "^3.22.4"
}
}