{ "name": "app-files", "version": "0.1.0", "private": true, "license": "MIT", "author": "nonvioce", "description": "面向中文长篇小说的 AI 创作桌面应用", "type": "module", "main": "electron-dist/main.js", "scripts": { "dev": "next dev --turbopack", "build": "next build", "start": "next start", "lint": "next lint", "test": "vitest --run", "test:watch": "vitest", "package:cherry": "node scripts/package-cherry.mjs", "electron:compile": "tsc --project tsconfig.electron.json && node -e \"require('fs').writeFileSync('electron-dist/package.json', JSON.stringify({type:'commonjs'}))\"", "electron:dev": "concurrently \"next dev --turbopack\" \"wait-on http://localhost:3000 && electron .\"", "electron:build": "next build && npm run electron:compile && electron-builder", "package": "node scripts/build.mjs", "package:web": "node scripts/build.mjs --web", "package:electron": "node scripts/build.mjs --electron" }, "dependencies": { "@next/swc-win32-x64-msvc": "^16.2.4", "@vercel/analytics": "^1.5.0", "lucide-react": "^0.563.0", "next": "15.4.10", "novel": "^1.0.2", "react": "^19.0.0", "react-dom": "^19.0.0", "react-markdown": "^10.0.1", "remark-gfm": "^4.0.1" }, "devDependencies": { "@eslint/eslintrc": "^3", "@tailwindcss/postcss": "^4", "@tailwindcss/typography": "^0.5.16", "@types/node": "^22", "@types/react": "^19", "@types/react-dom": "^19", "concurrently": "9.1.2", "electron": "^36.3.1", "electron-builder": "25.1.8", "eslint": "^9", "eslint-config-next": "^15.4.6", "fast-check": "^4.7.0", "tailwindcss": "^4", "typescript": "^5", "vitest": "^4.1.5", "wait-on": "^8.0.3" }, "packageManager": "yarn@4.6.0+sha512.5383cc12567a95f1d668fbe762dfe0075c595b4bfff433be478dbbe24e05251a8e8c3eb992a986667c1d53b6c3a9c85b8398c35a960587fbd9fa3a0915406728" }