Files
MajoorWaldi-ComfyUI-Majoor-…/package.json
T
MajoorWaldi dc72be0139 feat: enhance JS testing and linting setup
- Added coverage reporting for Vitest with configuration in vitest.config.mjs
- Updated package.json to include new scripts for JS coverage, linting, and formatting
- Modified run_quality_gate.py to allow skipping ESLint and Prettier checks
- Introduced .prettierrc for consistent code formatting
- Created .prettierignore to exclude specific files and directories from formatting
2026-03-28 14:14:28 +01:00

27 lines
735 B
JSON

{
"name": "comfyui-majoor-assetsmanager",
"private": true,
"type": "module",
"scripts": {
"quality": "python scripts/run_quality_gate.py",
"quality:py": "python scripts/run_quality_gate.py --python-only",
"test:js": "vitest run",
"test:js:watch": "vitest",
"test:js:coverage": "vitest run --coverage",
"lint:js": "eslint js/",
"lint:js:fix": "eslint js/ --fix",
"format": "prettier --write \"js/**/*.{js,mjs}\"",
"format:check": "prettier --check \"js/**/*.{js,mjs}\""
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@vitest/coverage-v8": "^2.1.9",
"eslint": "^10.1.0",
"prettier": "^3.8.1",
"vitest": "^2.1.9"
},
"dependencies": {
"three": "0.183.2"
}
}