@openfga/syntax-transformer
Version:
Javascript implementation of ANTLR Grammar for the OpenFGA DSL and parser from and to the OpenFGA JSON Syntax
72 lines (71 loc) • 1.87 kB
JSON
{
"name": "@openfga/syntax-transformer",
"version": "0.2.0",
"description": "",
"license": "Apache-2.0",
"main": "./dist/index.js",
"typings": "./dist/index.d.ts",
"scripts": {
"build:ts": "rm -rf dist/ && tsc --outDir dist/",
"build:light": "tsc --outDir dist/",
"build": "npm run build:ts",
"build:npx": "tsc --build tsconfig.json",
"clean": "rm -r dist/",
"prepublishOnly": "npm run build && cp ../../LICENSE .",
"postpublish": "rm -f LICENSE",
"test": "jest --config ./jest.config.js",
"typecheck": "tsc --skipLibCheck",
"lint": "eslint . -c .eslintrc.js --ext .ts",
"lint:fix": "npm run lint -- --fix",
"format:check": "prettier --check .",
"format:fix": "prettier --write ."
},
"keywords": [
"openfga",
"authorization",
"fga",
"fine-grained-authorization",
"rebac",
"zanzibar"
],
"author": "OpenFGA",
"dependencies": {
"ajv": "^8.17.1",
"antlr4": "^4.13.2",
"yaml": "^2.8.0"
},
"devDependencies": {
"@jest/globals": "^29.7.0",
"@openfga/sdk": "^0.9.0",
"@types/jest": "^30.0.0",
"@types/node": "^24.1.0",
"@typescript-eslint/eslint-plugin": "^8.38.0",
"@typescript-eslint/parser": "^8.38.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-import": "^2.32.0",
"jest": "^29.7.0",
"jest-html-reporter": "^4.3.0",
"prettier": "^3.6.2",
"ts-jest": "^29.4.0",
"typescript": "^5.8.3"
},
"files": [
"README.md",
"CHANGELOG.md",
"LICENSE",
"dist"
],
"repository": {
"type": "git",
"url": "git://github.com:openfga/language.git"
},
"bugs": {
"url": "https://github.com/openfga/language/issues"
},
"homepage": "https://github.com/openfga/language#readme",
"publishConfig": {
"access": "public",
"provenance": true
}
}