73 lines
2.2 KiB
JSON
73 lines
2.2 KiB
JSON
{
|
|
"name": "piano-training-platform",
|
|
"version": "1.0.0",
|
|
"description": "AI-powered piano training platform with real-time feedback and gamification",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc && vite build",
|
|
"preview": "vite preview",
|
|
"test": "vitest run --passWithNoTests",
|
|
"test:ui": "vitest --ui",
|
|
"test:coverage": "vitest run --coverage --passWithNoTests",
|
|
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 50",
|
|
"lint:fix": "eslint . --ext ts,tsx --fix",
|
|
"lint-staged": "lint-staged",
|
|
"format": "prettier --write \"src/**/*.{ts,tsx,css,md}\"",
|
|
"format:check": "prettier --check \"src/**/*.{ts,tsx,css,md}\"",
|
|
"type-check": "tsc --noEmit",
|
|
"validate": "npm run lint && npm run format:check && npm run type-check && npm run test",
|
|
"prepare": "husky install"
|
|
},
|
|
"dependencies": {
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-router-dom": "^6.20.0",
|
|
"tone": "^14.7.77",
|
|
"@tonejs/midi": "^2.0.28",
|
|
"opensheetmusicdisplay": "^1.8.6",
|
|
"webmidi": "^3.1.6",
|
|
"ml5": "^0.12.2",
|
|
"axios": "^1.6.2",
|
|
"zustand": "^4.4.7"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/jest-dom": "^6.1.5",
|
|
"@testing-library/react": "^14.1.2",
|
|
"@testing-library/user-event": "^14.5.1",
|
|
"@types/react": "^18.2.43",
|
|
"@types/react-dom": "^18.2.17",
|
|
"@typescript-eslint/eslint-plugin": "^6.14.0",
|
|
"@typescript-eslint/parser": "^6.14.0",
|
|
"@vitejs/plugin-react": "^4.2.1",
|
|
"@vitest/coverage-v8": "^1.0.4",
|
|
"eslint": "^8.55.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-jsx-a11y": "^6.8.0",
|
|
"eslint-plugin-react": "^7.33.2",
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
"eslint-plugin-react-refresh": "^0.4.5",
|
|
"husky": "^8.0.3",
|
|
"jsdom": "^23.0.1",
|
|
"lint-staged": "^15.2.0",
|
|
"prettier": "^3.1.1",
|
|
"typescript": "^5.2.2",
|
|
"vite": "^5.0.8",
|
|
"vitest": "^1.0.4"
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,tsx}": [
|
|
"eslint --fix",
|
|
"prettier --write"
|
|
],
|
|
"*.{css,md}": [
|
|
"prettier --write"
|
|
]
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0",
|
|
"npm": ">=9.0.0"
|
|
}
|
|
}
|