Files
pss/package.json
T
Lucas Rayan 51a8a6fa40 Implement Priority Round Robin Scheduling Algorithm with Tests
- Added `priority_rr` algorithm to handle scheduling based on priority and round-robin principles.
- Created unit tests for `select()`, `shouldPreempt()`, and `isQuantumExpired()` functions to ensure correct behavior.
- Developed integration tests to validate the scheduling logic under various scenarios, including preemption and round-robin execution.
- Introduced `useExport` hook for exporting process metrics to CSV format.
- Added `useGanttScroll` hook to manage smooth scrolling of the Gantt chart during simulation.
2026-03-19 16:45:05 -03:00

53 lines
1.5 KiB
JSON

{
"name": "pss",
"version": "1.0.0",
"description": "O Process Scheduler Simulator é uma ferramenta educacional interativa que roda inteiramente no navegador",
"main": "index.js",
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"build:release": "tsc -b && vite build && tar --dereference -czf dist.tar.gz dist",
"preview": "vite preview",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage"
},
"dependencies": {
"clsx": "^2.1.1",
"lucide-react": "^0.577.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"recharts": "^3.8.0",
"tailwind-merge": "^3.5.0",
"zustand": "^5.0.12"
},
"devDependencies": {
"@tailwindcss/vite": "^4.2.2",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/node": "^25.5.0",
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.1",
"@vitejs/plugin-react": "^4.3.4",
"@vitest/coverage-v8": "^3.0.9",
"jsdom": "^29.0.0",
"tailwindcss": "^4.2.2",
"typescript": "~5.6.2",
"vite": "^6.2.2",
"vitest": "^3.0.9"
},
"repository": {
"type": "git",
"url": "git+https://github.com/lucasrguerra/pss.git"
},
"keywords": [],
"author": "Lucas Rayan Guerra",
"license": "ISC",
"type": "commonjs",
"bugs": {
"url": "https://github.com/lucasrguerra/pss/issues"
},
"homepage": "https://github.com/lucasrguerra/pss#readme"
}