UNPKG

@openfga/frontend-utils

Version:

Exposes helpful utilities for building authoring experiences of OpenFGA Models.

73 lines (72 loc) 1.87 kB
{ "name": "@openfga/frontend-utils", "version": "0.2.0-beta.11", "description": "", "license": "Apache-2.0", "main": "./dist/index.js", "typings": "./dist/index.d.ts", "scripts": { "build:ts": "rm -rf dist/ && tsc --outDir dist/", "build": "npm run build:ts", "build:npx": "tsc --build tsconfig.json", "clean": "rm -r dist/", "prepublishOnly": "npm run build", "test": "jest --config ./tests/jest.config.js", "typecheck": "tsc --skipLibCheck", "lint": "eslint -c .eslintrc.js --ext .ts", "lint:fix": "npm run lint -- --fix", "format:check": "prettier --check {src,tests}/**", "format:fix": "prettier --write {src,tests}/**" }, "keywords": [ "openfga", "authorization", "fga", "fine-grained-authorization", "rebac", "zanzibar", "vscode", "monaco", "prism", "language", "theme" ], "author": "OpenFGA", "dependencies": { "@openfga/syntax-transformer": "^0.2.0-beta.21" }, "devDependencies": { "@openfga/sdk": "^0.6.3", "@types/jest": "^29.5.12", "@types/node": "^22.5.4", "@types/prismjs": "^1.26.4", "@typescript-eslint/eslint-plugin": "^8.4.0", "@typescript-eslint/parser": "^8.4.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.30.0", "jest": "^29.7.0", "monaco-editor": "0.51.0", "prettier": "^3.3.3", "ts-jest": "^29.2.5", "typescript": "^5.5.4" }, "files": [ "README.md", "CHANGELOG.md", "LICENSE", "dist" ], "repository": { "type": "git", "url": "git://github.com:openfga/frontend-utils.git" }, "bugs": { "url": "https://github.com/openfga/frontend-utils/issues" }, "homepage": "https://github.com/openfga/frontend-utils#readme", "publishConfig": { "access": "public", "provenance": true } }