UNPKG

pi-lens

Version:

Real-time code feedback for pi — LSP, linters, formatters, type-checking, structural analysis & booboo

137 lines (136 loc) • 4.65 kB
{ "name": "pi-lens", "version": "3.8.70", "type": "module", "description": "Real-time code feedback for pi — LSP, linters, formatters, type-checking, structural analysis & booboo", "repository": { "type": "git", "url": "git+https://github.com/apmantza/pi-lens.git" }, "main": "./dist/index.js", "bin": { "pi-lens-mcp": "dist/mcp/server.js", "pi-lens-analyze": "dist/mcp/analyze-cli.js" }, "scripts": { "build": "tsc --project tsconfig.build.json", "build:dist": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\" && npx --yes -p typescript@6 tsc --project tsconfig.dist.json --noCheck && npm run bundle:dist", "bundle:dist": "node scripts/bundle-dist.mjs", "prepare": "npm run build:dist && node scripts/download-grammars.js --core --dest grammars", "lint": "tsc --project tsconfig.json", "watch": "tsc --watch", "test": "vitest run", "test:unit": "vitest run --ignore tests/index-integration.test.ts --ignore tests/clients/lsp/integration.test.ts", "test:integration": "vitest run tests/index-integration.test.ts tests/clients/lsp/integration.test.ts", "test:watch": "vitest", "check": "node scripts/check-extensions.mjs", "selftest:install": "node scripts/install-selftest.mjs", "check:lockfile": "node scripts/check-lockfile-sync.mjs", "check:grammars": "node scripts/check-grammar-provenance.mjs", "check:grammar-load": "node scripts/check-grammar-load.mjs", "audit:tree-sitter": "node scripts/audit-tree-sitter-rules.mjs", "audit:rule-catalog": "node scripts/validate-rule-catalog.mjs", "audit:astgrep-rule-pairs": "node scripts/audit-astgrep-rule-pairs.mjs", "audit:playground": "node scripts/playground-verify-rule.mjs", "logs:smells": "node scripts/analyze-pi-lens-logs.mjs", "changelog:check": "node scripts/changelog-release.mjs --check", "changelog:release": "node scripts/changelog-release.mjs", "changelog:extract": "node scripts/changelog-extract.mjs", "release:backfill-notes": "node scripts/backfill-github-releases.mjs", "release:backfill-thanks": "node scripts/backfill-release-thanks.mjs", "docs:rule-catalogs": "node scripts/gen-rule-catalogs.mjs", "banner": "npx -y sharp-cli --input banner.svg --output banner.png resize 2200 620", "download-grammars": "node scripts/download-grammars.js", "harness:poc": "node scripts/run-harness.mjs cases/ts/pipeline-dispatch-poc --pi-bin \"C:\\Users\\R3LiC\\AppData\\Roaming\\npm\\pi.cmd\"", "harness:python-poc": "node scripts/run-harness.mjs cases/python/pipeline-dispatch-poc --pi-bin \"C:\\Users\\R3LiC\\AppData\\Roaming\\npm\\pi.cmd\"", "harness:ts-format-poc": "node scripts/run-harness.mjs cases/ts/format-default-poc --pi-bin \"C:\\Users\\R3LiC\\AppData\\Roaming\\npm\\pi.cmd\"", "harness:python-autofix-poc": "node scripts/run-harness.mjs cases/python/autofix-default-poc --pi-bin \"C:\\Users\\R3LiC\\AppData\\Roaming\\npm\\pi.cmd\"", "harness:go-poc": "node scripts/run-harness.mjs cases/go/pipeline-dispatch-poc --pi-bin \"C:\\Users\\R3LiC\\AppData\\Roaming\\npm\\pi.cmd\"" }, "keywords": [ "pi", "pi-extension", "pi-package", "linter", "biome", "ast-grep", "ruff", "typescript", "code-quality", "feedback", "type-coverage", "jscpd", "knip" ], "author": "Apostolos Mantzaris", "license": "MIT", "files": [ "dist/", "docs/", "grammars/", "config/", "rules/", "skills/", "scripts/download-grammars.js", "scripts/grammars.lock.json", "scripts/analyze-pi-lens-logs.mjs", "scripts/install-selftest.mjs", "scripts/rpc-load-check.mjs", "README.md", "CHANGELOG.md", "banner.svg", "banner.png" ], "dependencies": { "@ast-grep/cli": "^0.44.0", "@ast-grep/napi": "^0.44.0", "@earendil-works/pi-tui": "^0.80.2", "js-yaml": "^4.1.1", "minimatch": "^10.2.5", "pidusage": "^4.0.1", "typebox": "^1.0.0", "vscode-jsonrpc": "^9.0.0" }, "peerDependencies": { "@earendil-works/pi-coding-agent": "*" }, "peerDependenciesMeta": { "@earendil-works/pi-coding-agent": { "optional": true } }, "optionalDependencies": { "web-tree-sitter": "0.25.10" }, "devDependencies": { "@biomejs/biome": "^2.4.10", "@earendil-works/pi-coding-agent": "^0.80.2", "@types/js-yaml": "^4.0.9", "@types/node": "^26.0.0", "@types/pidusage": "^2.0.5", "@vitest/coverage-v8": "^4.1.5", "typescript": "^6.0.3", "typescript-language-server": "^5.1.3", "vitest": "^4.1.1" }, "pi": { "extensions": [ "./dist/index.js" ], "skills": [ "../../skills" ] }, "knip": { "entry": [ "index.ts" ], "project": [ "**/*.ts", "!**/*.test.ts" ], "ignore": [ "**/*.test.ts" ] } }