@authzed/authzed-node
Version:
authzed client for nodejs
67 lines (66 loc) • 1.94 kB
JSON
{
"name": "@authzed/authzed-node",
"author": "authzed",
"version": "1.5.1",
"type": "module",
"description": "authzed client for nodejs",
"keywords": [
"authorization",
"authzed",
"fine-grained-authorization",
"open-source",
"permissions",
"spicedb",
"zanzibar"
],
"main": "dist/src/index.cjs",
"module": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"types": {
"import": "./dist/src/index.d.ts",
"require": "./dist/src/index.d.cts",
"default": "./dist/src/index.d.ts"
},
"require": "./dist/src/index.cjs",
"import": "./dist/src/index.js"
}
},
"repository": "https://github.com/authzed/authzed-node",
"license": "Apache-2.0",
"private": false,
"scripts": {
"test": "./scripts/run-and-test.sh",
"only-run-tests": "vitest",
"buf": "buf generate && tsc-esm-fix --src src/authzedapi --ext='.js'",
"lint": "./node_modules/.bin/eslint src",
"format": "prettier -w src",
"build": "tsc",
"postbuild": "rollup dist/src/index.js --file dist/src/index.cjs --format cjs && cp dist/src/index.d.ts dist/src/index.d.cts",
"prepublish": "yarn build",
"build-js-client": "tsc --declaration false --outDir js-dist"
},
"dependencies": {
"@grpc/grpc-js": "^1.13.4",
"@protobuf-ts/runtime": "^2.11.0",
"@protobuf-ts/runtime-rpc": "^2.11.0",
"google-protobuf": "^3.21.4"
},
"devDependencies": {
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.28.0",
"@protobuf-ts/plugin": "^2.11.0",
"@tsconfig/node18": "^18.2.4",
"@typescript-eslint/eslint-plugin": "^8.33.0",
"@typescript-eslint/parser": "^8.33.0",
"eslint": "^9.28.0",
"grpc-tools": "^1.13.0",
"prettier": "^3.5.3",
"rollup": "^4.41.1",
"tsc-esm-fix": "^3.1.2",
"typescript": "^5.8",
"vitest": "^3.1.4"
}
}