mirror of
https://github.com/Egonex-AI/Understand-Anything.git
synced 2026-06-22 10:58:03 +08:00
1bbfe99c64
The repository has a pnpm lint script running 'eslint .' but ESLint and typescript-eslint were not listed in devDependencies. Added: - eslint (^9.0.0) - @eslint/js (^9.0.0) - typescript-eslint (^8.0.0) Added eslint.config.mjs with flat config (ESLint 9+) using typescript-eslint strict rules. Ignores node_modules, dist, build, and framework-specific output directories.
39 lines
1.1 KiB
JSON
39 lines
1.1 KiB
JSON
{
|
|
"name": "understand-anything",
|
|
"private": true,
|
|
"type": "module",
|
|
"main": ".opencode/plugins/understand-anything.js",
|
|
"packageManager": "pnpm@10.6.2+sha512.47870716bea1572b53df34ad8647b42962bc790ce2bf4562ba0f643237d7302a3d6a8ecef9e4bdfc01d23af1969aa90485d4cebb0b9638fa5ef1daef656f6c1b",
|
|
"scripts": {
|
|
"prepare": "pnpm --filter @understand-anything/core build",
|
|
"build": "pnpm -r build",
|
|
"test": "vitest",
|
|
"dev:dashboard": "pnpm --filter @understand-anything/dashboard dev",
|
|
"lint": "eslint ."
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.0.0",
|
|
"eslint": "^9.0.0",
|
|
"typescript": "^5.7.0",
|
|
"typescript-eslint": "^8.0.0",
|
|
"vitest": "^3.1.0"
|
|
},
|
|
"pnpm": {
|
|
"onlyBuiltDependencies": [
|
|
"esbuild",
|
|
"sharp",
|
|
"tree-sitter-c",
|
|
"tree-sitter-c-sharp",
|
|
"tree-sitter-cpp",
|
|
"tree-sitter-go",
|
|
"tree-sitter-java",
|
|
"tree-sitter-javascript",
|
|
"tree-sitter-php",
|
|
"tree-sitter-python",
|
|
"tree-sitter-ruby",
|
|
"tree-sitter-rust",
|
|
"tree-sitter-typescript"
|
|
]
|
|
}
|
|
}
|