Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) · 4.65 KB
/
Copy pathpackage.json
File metadata and controls
85 lines (85 loc) · 4.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"name": "clean-code-tools",
"version": "1.0.7",
"description": "Clean-code pattern corpus and lint tooling.",
"type": "module",
"packageManager": "bun@1.3.13",
"homepage": "https://github.com/wnz99/clean-code-tools#readme",
"bugs": {
"url": "https://github.com/wnz99/clean-code-tools/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/wnz99/clean-code-tools.git"
},
"main": "src/js/eslint-plugin-clean-code.mjs",
"exports": {
".": "./src/js/eslint-plugin-clean-code.mjs",
"./eslint-plugin": "./src/js/eslint-plugin-clean-code.mjs",
"./configs/eslint.clean-code.recommended.mjs": "./configs/eslint.clean-code.recommended.mjs"
},
"files": [
"configs/eslint.clean-code.recommended.mjs",
"src/js/eslint-plugin-clean-code.mjs"
],
"directories": {
"doc": "docs"
},
"scripts": {
"test": "bun test tests/*.test.mjs",
"test:eslint-plugin": "bun test tests/eslint-plugin-clean-code.test.mjs",
"check:python-config": "uv run --group lint python scripts/check_python_config.py",
"check:sample-apps": "uv run --group lint python scripts/check_sample_apps.py",
"check:semantic-search": "uv run --group mcp python scripts/check_semantic_search_tooling.py",
"check:review-candidates": "uv run python scripts/check_clean_code_review_candidates.py",
"check:retrieval-evals": "uv run --group mcp python scripts/check_retrieval_evals.py",
"check:python-tests": "uv run --group lint --group mcp coverage erase && uv run --group lint --group mcp coverage run -m unittest discover -s tests/python -p '*_test.py' && uv run --group lint --group mcp coverage run --append scripts/check_semantic_search_tooling.py && uv run --group lint --group mcp coverage run --append scripts/check_retrieval_evals.py && uv run --group lint --group mcp coverage run --append scripts/check_fastmcp_server.py && uv run --group lint --group mcp coverage report --include 'src/python/mcp_server/corpus.py,src/python/mcp_server/custom_pattern_tools.py,src/python/mcp_server/custom_patterns.py,src/python/mcp_server/pattern_chunks.py,src/python/mcp_server/pattern_lookup.py,src/python/mcp_server/pattern_models.py,src/python/mcp_server/ranking.py,src/python/mcp_server/server.py,src/python/mcp_server/sqlite_vec_store.py'",
"check:python-repo-lint": "uv run --group lint python scripts/check_repo_python_lint.py",
"check:deptry": "uv run --group lint deptry src/python scripts --no-ansi",
"check:knip": "bunx knip --no-progress --no-config-hints",
"check:fallow": "bunx fallow dead-code --summary --quiet && bunx fallow dupes --summary --quiet",
"inspect:fallow-health": "bunx fallow health --format compact || true",
"check:packages": "uv run python scripts/check_packages.py",
"check:fastmcp": "uv run --group mcp python scripts/check_fastmcp_server.py",
"index:build": "uv run --group mcp python scripts/sqlite_vec_ingest_clean_code.py",
"index:search": "uv run --group mcp python scripts/sqlite_vec_search_clean_code.py",
"semantic:chunks": "uv run python scripts/clean_code_semantic.py",
"clean-code:candidates": "uv run python scripts/clean_code_review_candidates.py",
"semantic:ingest": "uv run --group mcp python scripts/sqlite_vec_ingest_clean_code.py",
"semantic:search": "uv run --group mcp python scripts/sqlite_vec_search_clean_code.py",
"mcp:stdio": "uv run --group mcp python scripts/clean_code_mcp_server.py",
"mcp:http": "uv run --group mcp python scripts/clean_code_mcp_server.py --transport http --host 127.0.0.1 --port 8765",
"check": "bun --check src/js/eslint-plugin-clean-code.mjs && bun --check configs/eslint.clean-code.recommended.mjs && bun test && bun run check:python-config && bun run check:sample-apps && bun run check:semantic-search && bun run check:review-candidates && bun run check:retrieval-evals && bun run check:python-tests && bun run check:python-repo-lint && bun run check:deptry && bun run check:knip && bun run check:fallow && bun run check:packages"
},
"keywords": [
"clean-code",
"eslint",
"pylint",
"ruff",
"mcp",
"static-analysis"
],
"author": "",
"license": "UNLICENSED",
"engines": {
"node": "^22.13.0 || >=24"
},
"peerDependencies": {
"@eslint/js": "^10.0.0",
"eslint": "^10.4.0",
"eslint-plugin-sonarjs": "^4.0.0",
"eslint-plugin-unicorn": "^69.0.0",
"typescript-eslint": "^8.0.0"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@typescript-eslint/parser": "^8.0.0",
"eslint": "^10.6.0",
"eslint-plugin-sonarjs": "^4.1.0",
"eslint-plugin-unicorn": "^69.0.0",
"fallow": "^2.103.0",
"knip": "^6.23.0",
"typescript": "^5.0.0",
"typescript-eslint": "^8.0.0"
}
}