mirror of
https://github.com/johndoe6345789/snippet-pastebin.git
synced 2026-04-24 13:34:55 +00:00
- Changed npm lint script from 'next lint' to direct ESLint invocation - Added 'lint:fix' script for auto-fixing linting errors - Fixed 25 ESLint errors across the codebase: - 8 auto-fixed with --fix flag - 17 manual fixes (empty function warnings, type definitions) ESLint now properly validates TypeScript and React code without Next.js config wrapper incompatibility. Test Results: - ✅ npm run lint - No errors - ✅ npm test - All tests passing - ✅ npm run build - Clean build Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
62 lines
1.7 KiB
JSON
62 lines
1.7 KiB
JSON
{
|
|
"name": "codesnippet",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "eslint . --config eslint.config.mjs",
|
|
"lint:fix": "eslint . --config eslint.config.mjs --fix",
|
|
"test": "jest",
|
|
"test:e2e": "playwright test",
|
|
"test:e2e:ui": "playwright test --ui",
|
|
"test:e2e:debug": "playwright test --debug",
|
|
"test:unit": "jest --watch"
|
|
},
|
|
"dependencies": {
|
|
"@babel/standalone": "^7.24.0",
|
|
"@monaco-editor/react": "^4.6.0",
|
|
"@phosphor-icons/react": "^2.1.7",
|
|
"@reduxjs/toolkit": "^2.5.0",
|
|
"class-variance-authority": "^0.7.0",
|
|
"framer-motion": "^11.15.0",
|
|
"idb": "^8.0.2",
|
|
"lucide-react": "^0.294.0",
|
|
"monaco-editor": "^0.52.2",
|
|
"next": "15.1.3",
|
|
"pyodide": "^0.23.0",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"react-error-boundary": "^4.0.11",
|
|
"react-redux": "^9.2.0",
|
|
"recharts": "^2.15.0",
|
|
"sonner": "^1.7.1",
|
|
"sucrase": "^3.35.0"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.49.1",
|
|
"@testing-library/jest-dom": "^6.1.5",
|
|
"@testing-library/react": "^14.1.2",
|
|
"@testing-library/user-event": "^14.5.1",
|
|
"@types/jest": "^29.5.11",
|
|
"@types/node": "^20",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"autoprefixer": "^10.4.17",
|
|
"eslint": "^8",
|
|
"eslint-config-next": "15.1.3",
|
|
"jest": "^29.7.0",
|
|
"jest-environment-jsdom": "^29.7.0",
|
|
"postcss": "^8.4.35",
|
|
"sass": "^1.83.4",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^5",
|
|
"typescript-eslint": "^8.53.1"
|
|
},
|
|
"overrides": {
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0"
|
|
}
|
|
}
|