mirror of
https://github.com/PragmaticMachineLearning/probly.git
synced 2026-01-11 06:17:58 -05:00
This commit adds Docker support for easy deployment and improves browser compatibility: - Add Dockerfile and docker-compose.yml for containerized deployment - Fix Pyodide integration to work properly in browser-only mode - Add mock implementation for server-side rendering - Clean up markdown formatting in analysis output - Update README with Docker deployment instructions - Add platform-specific keyboard shortcuts (Mac/Windows) - Ensure public directory exists in Docker build - Fix TypeScript type definitions for Pyodide The application now properly handles the browser/server environment difference, with Python analysis running exclusively in the browser while the server provides API proxying and static file serving.
44 lines
771 B
JSON
44 lines
771 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "es5",
|
|
"lib": [
|
|
"dom",
|
|
"dom.iterable",
|
|
"esnext"
|
|
],
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"noEmit": true,
|
|
"esModuleInterop": true,
|
|
"module": "esnext",
|
|
"moduleResolution": "bundler",
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"jsx": "preserve",
|
|
"incremental": true,
|
|
"plugins": [
|
|
{
|
|
"name": "next"
|
|
}
|
|
],
|
|
"paths": {
|
|
"@/*": [
|
|
"./src/*"
|
|
]
|
|
},
|
|
"baseUrl": ".",
|
|
"typeRoots": ["./node_modules/@types", "./src/types"]
|
|
},
|
|
"include": [
|
|
"next-env.d.ts",
|
|
"**/*.ts",
|
|
"**/*.tsx",
|
|
".next/types/**/*.ts",
|
|
"out/types/**/*.ts"
|
|
],
|
|
"exclude": [
|
|
"node_modules"
|
|
]
|
|
}
|