sfcoe-ailabs
Version:
AI-powered code review tool with static analysis integration for comprehensive code quality assessment.
247 lines (246 loc) • 6.39 kB
JSON
{
"name": "sfcoe-ailabs",
"description": "AI-powered code review tool with static analysis integration for comprehensive code quality assessment.",
"version": "0.1.1",
"readme": "README.md",
"dependencies": {
"@anthropic-ai/sdk": "^0.39.0",
"@oclif/core": "^4",
"@types/glob": "^8.1.0",
"datadog-metrics": "^0.12.1",
"datadog-winston": "^1.6.0",
"execa": "^9.5.2",
"fs-extra": "^11.3.0",
"glob": "^11.0.1",
"got": "^14.4.6",
"minimatch": "^3.0.4",
"openai": "^4.86.2",
"simple-git": "^3.27.0",
"winston": "^3.17.0",
"yarn": "^1.22.22"
},
"devDependencies": {
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1",
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@oclif/plugin-command-snapshot": "^5.2.37",
"@types/chai": "^5.2.2",
"@types/datadog-winston": "^1.0.7",
"@types/fs-extra": "^11.0.4",
"@types/mocha": "^10.0.10",
"@types/node": "^24.0.12",
"@types/sarif": "^2.1.7",
"@types/sinon": "^17.0.4",
"@typescript-eslint/eslint-plugin": "^8.19.1",
"@typescript-eslint/parser": "^8.19.1",
"chai": "^5.2.1",
"cpx": "^1.2.1",
"eslint": "^9.17.0",
"husky": "^9.1.7",
"lint-staged": "^16.1.2",
"mocha": "^11.7.1",
"oclif": "^4.17.34",
"prettier": "^3.4.2",
"rimraf": "^6.0.1",
"sinon": "^21.0.0",
"ts-node": "^10.9.2",
"typescript": "^5.8.2",
"wireit": "^0.14.10"
},
"engines": {
"node": ">=18.0.0"
},
"files": [
"/lib",
"/messages",
"/oclif.manifest.json",
"/oclif.lock",
"/architecture-diagram.png"
],
"keywords": [
"ai",
"code-review",
"static-analysis",
"cli",
"pmd",
"code-analyzer",
"git"
],
"license": "BSD-3-Clause",
"bin": {
"sfcoe-ailabs": "./bin/run.js"
},
"oclif": {
"commands": "./lib/commands",
"bin": "sfcoe-ailabs",
"topicSeparator": " ",
"devPlugins": [
"@oclif/plugin-help"
],
"topics": {
"pr-review": {
"description": "AI-powered pull request review and analysis"
}
},
"flexibleTaxonomy": true
},
"scripts": {
"build": "wireit",
"clean": "rimraf lib *.tsbuildinfo",
"clean-all": "rimraf lib *.tsbuildinfo node_modules",
"compile": "wireit",
"docs": "oclif readme",
"format": "wireit",
"format:check": "prettier --check \"+(src|test|schemas)/**/*.+(ts|js|json)|command-snapshot.json\"",
"lint:check": "eslint src test --color --cache --cache-location .eslintcache",
"link-check": "wireit",
"lint": "wireit",
"lint:fix": "eslint src test --color --cache --cache-location .eslintcache --fix",
"type-check": "tsc --noEmit",
"postpack": "cp README-github.md README.md && rm README-github.md",
"prepack": "cp README.md README-github.md && cp README-npm.md README.md",
"prepublishOnly": "npm run build && oclif manifest",
"test": "wireit",
"test:only": "wireit",
"version": "oclif readme && oclif manifest && git add oclif.manifest.json README.md",
"prepare": "husky"
},
"publishConfig": {
"access": "public"
},
"lint-staged": {
"*.{ts,js}": [
"prettier --write",
"eslint --fix"
],
"*.{json,md,yml,yaml}": [
"prettier --write"
]
},
"wireit": {
"build": {
"dependencies": [
"compile",
"lint",
"copy-configs"
]
},
"compile": {
"command": "tsc -p . --pretty --incremental",
"files": [
"src/**/*.ts",
"**/tsconfig.json",
"messages/**"
],
"output": [
"lib/**",
"*.tsbuildinfo"
],
"clean": "if-file-deleted"
},
"format": {
"command": "prettier --write \"+(src|test|schemas)/**/*.+(ts|js|json)|command-snapshot.json\"",
"files": [
"src/**/*.ts",
"test/**/*.ts",
"schemas/**/*.json",
"command-snapshot.json",
".prettier*"
],
"output": []
},
"lint": {
"command": "eslint src test --color --cache --cache-location .eslintcache",
"files": [
"src/**/*.ts",
"test/**/*.ts",
"messages/**",
"**/.eslint*",
"**/tsconfig.json"
],
"output": []
},
"copy-configs": {
"command": "cpx \"src/**/*.{yml,xml}\" lib",
"files": [
"src/**/*.yml",
"src/**/*.xml"
],
"output": [
"lib/**/*.yml",
"lib/**/*.xml"
]
},
"test:compile": {
"command": "tsc -p \"./test\" --pretty",
"files": [
"test/**/*.ts",
"**/tsconfig.json"
],
"output": []
},
"test": {
"dependencies": [
"test:compile",
"test:only",
"lint"
]
},
"test:only": {
"command": "nyc mocha \"test/**/*.test.ts\"",
"env": {
"FORCE_COLOR": "2"
},
"files": [
"test/**/*.ts",
"src/**/*.ts",
"**/tsconfig.json",
".mocha*",
"!*.nut.ts",
".nycrc"
],
"output": []
},
"test:command-reference": {
"command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" commandreference:generate --erroronwarnings",
"files": [
"src/**/*.ts",
"messages/**",
"package.json"
],
"output": [
"tmp/root"
]
},
"test:deprecation-policy": {
"command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" snapshot:compare",
"files": [
"src/**/*.ts"
],
"output": [],
"dependencies": [
"compile"
]
},
"test:json-schema": {
"command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" schema:compare",
"files": [
"src/**/*.ts",
"schemas"
],
"output": []
},
"link-check": {
"command": "node -e \"process.exit(process.env.CI ? 0 : 1)\" || linkinator \"**/*.md\" --skip \"CHANGELOG.md|node_modules|test/|confluence.internal.salesforce.com|my.salesforce.com|%s\" --markdown --retry --directory-listing --verbosity error",
"files": [
"./*.md",
"./!(CHANGELOG).md",
"messages/**/*.md"
],
"output": []
}
},
"exports": "./lib/index.js",
"type": "module",
"author": "SF COE Team"
}