@diullei/codeguardian
Version:
Open-source developer tool to validate and enforce architectural rules, especially for AI-generated code
85 lines (84 loc) • 2.74 kB
JSON
{
"name": "@diullei/codeguardian",
"version": "0.1.0-beta.9",
"description": "Open-source developer tool to validate and enforce architectural rules, especially for AI-generated code",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"codeguardian": "./dist/cli/index.js"
},
"files": [
"dist/**/*",
"README.md",
"LICENSE",
"Cheat_Sheet.md"
],
"scripts": {
"build": "tsc",
"postbuild": "chmod +x dist/cli/index.js",
"dev": "tsc --watch",
"test": "jest",
"test:watch": "jest --watch",
"lint": "eslint .",
"typecheck": "tsc --noEmit",
"clean": "rm -rf dist",
"prepare": "npm run build",
"check": "npm run build && ./dist/cli/index.js check -b main --exclude \"**/examples/**\" \"**/tests/**\" \"test-*.*\"",
"check:all": "npm run build && ./dist/cli/index.js check -b main --mode=all --exclude \"**/examples/**\" \"**/tests/**\" \"test-*.*\"",
"check:staged": "npm run build && ./dist/cli/index.js check -b main --mode=staged --exclude \"**/examples/**\" \"**/tests/**\" \"test-*.*\"",
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md,yaml,yml}\"",
"format:check": "prettier --check \"**/*.{ts,tsx,js,jsx,json,md,yaml,yml}\"",
"prepublish:beta": "npm run clean && npm run build && npm test && npm run check",
"publish:beta": "npm run prepublish:beta && npm publish --tag beta --access=public",
"publish:dry": "npm run prepublish:beta && npm publish --dry-run --access=public"
},
"keywords": [
"code-validation",
"ci-cd",
"rule-engine",
"ast",
"code-quality",
"ai-code-review",
"architecture-validation",
"git-diff",
"code-guardian",
"linter",
"architectural-rules"
],
"author": "Diullei Gomes <diullei@gmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/diullei/codeguardian.git"
},
"bugs": {
"url": "https://github.com/diullei/codeguardian/issues"
},
"homepage": "https://github.com/diullei/codeguardian#readme",
"engines": {
"node": ">=16.0.0"
},
"devDependencies": {
"@types/jest": "^30.0.0",
"@types/minimatch": "^5.1.2",
"@types/node": "^24.0.3",
"@types/yargs": "^17.0.33",
"@typescript-eslint/eslint-plugin": "^8.34.1",
"@typescript-eslint/parser": "^8.34.1",
"eslint": "^9.29.0",
"jest": "^29.7.0",
"prettier": "^3.5.3",
"prettier-plugin-organize-imports": "^4.1.0",
"ts-jest": "^29.4.0",
"typescript": "^5.8.3",
"typescript-eslint": "^8.34.1"
},
"dependencies": {
"@types/glob": "^8.1.0",
"glob": "^11.0.3",
"minimatch": "^10.0.3",
"simple-git": "^3.28.0",
"yaml": "^2.8.0",
"yargs": "^18.0.0"
}
}