Files
author/package.json

111 lines
2.7 KiB
JSON

{
"name": "author-app",
"version": "1.1.12",
"private": true,
"main": "electron/main.js",
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "eslint",
"electron:dev": "npm run dev & npx electron . --dev",
"electron:build": "next build && npx electron-builder --win",
"electron:start": "npx electron ."
},
"dependencies": {
"@tiptap/core": "^3.20.0",
"@tiptap/extension-character-count": "^3.19.0",
"@tiptap/extension-color": "^3.19.0",
"@tiptap/extension-font-family": "^3.19.0",
"@tiptap/extension-highlight": "^3.19.0",
"@tiptap/extension-placeholder": "^3.19.0",
"@tiptap/extension-subscript": "^3.19.0",
"@tiptap/extension-superscript": "^3.19.0",
"@tiptap/extension-task-item": "^3.19.0",
"@tiptap/extension-task-list": "^3.19.0",
"@tiptap/extension-text-align": "^3.19.0",
"@tiptap/extension-text-style": "^3.19.0",
"@tiptap/extension-underline": "^3.19.0",
"@tiptap/pm": "^3.19.0",
"@tiptap/react": "^3.19.0",
"@tiptap/starter-kit": "^3.19.0",
"docx": "^9.6.0",
"idb-keyval": "^6.2.2",
"jszip": "^3.10.1",
"katex": "^0.16.28",
"mammoth": "^1.11.0",
"next": "16.1.6",
"pdf-parse": "^1.1.1",
"react": "19.2.3",
"react-dom": "19.2.3",
"react-markdown": "^10.1.0",
"rehype-katex": "^7.0.1",
"remark-gfm": "^4.0.1",
"remark-math": "^6.0.0",
"tiptap-markdown": "^0.9.0",
"word-extractor": "^1.0.4",
"zustand": "^5.0.11"
},
"devDependencies": {
"@tailwindcss/postcss": "^4",
"electron": "^35.7.5",
"electron-builder": "^26.8.1",
"eslint": "^9",
"eslint-config-next": "16.1.6",
"tailwindcss": "^4"
},
"build": {
"appId": "com.yuanshijilong.author",
"productName": "Author",
"directories": {
"output": "dist"
},
"files": [
"electron/**/*",
"package.json"
],
"extraResources": [
{
"from": ".next/standalone",
"to": "standalone",
"filter": [
"**/*"
]
},
{
"from": ".next/static",
"to": "standalone/.next/static",
"filter": [
"**/*"
]
},
{
"from": "public",
"to": "standalone/public",
"filter": [
"**/*"
]
}
],
"afterPack": "./afterPack.js",
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
]
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowElevation": true,
"allowToChangeInstallationDirectory": true,
"runAfterFinish": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true
}
}
}