UNPKG

rls-guard

Version:

A CLI tool for managing PostgreSQL Row Level Security (RLS) policies as code

65 lines 1.51 kB
{ "name": "rls-guard", "version": "0.1.1", "description": "A CLI tool for managing PostgreSQL Row Level Security (RLS) policies as code", "main": "dist/index.js", "type": "module", "bin": { "rls-guard": "./bin/cli.js" }, "scripts": { "build": "tsc", "test": "tsx test/lib-only.test.ts test/integration.test.ts", "test:watch": "tsx --watch test/lib-only.test.ts test/integration.test.ts", "test:all": "tsx test/*.test.ts", "test:db": "tsx test/database-integration.test.ts", "test:db-setup": "./scripts/setup-test-db.sh", "test:db-teardown": "./scripts/teardown-test-db.sh", "test:full": "npm run test:db-setup && npm run test:db && npm run test:db-teardown" }, "keywords": [ "cli", "postgresql", "rls", "row-level-security", "database", "security", "policies", "typescript" ], "author": "Theodore Han <theodore@example.com>", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/rls-guard/rls-guard.git" }, "homepage": "https://github.com/rls-guard/rls-guard#readme", "engines": { "node": ">=12.0.0" }, "os": [ "darwin", "linux", "win32" ], "cpu": [ "x64", "arm64" ], "files": [ "bin/", "src/", "lib/", "README.md" ], "dependencies": { "commander": "^12.0.0", "pg": "^8.11.0", "tsx": "^4.7.0", "@types/node": "^20.0.0", "chalk": "^5.3.0" }, "devDependencies": { "@types/pg": "^8.11.0" } }