89 lines
2.1 KiB
JSON
89 lines
2.1 KiB
JSON
{
|
|
"name": "borges",
|
|
"version": "1.3.0",
|
|
"description": "Flash fiction writing, analysis, and submission tracking",
|
|
"main": "out/main/index.js",
|
|
"scripts": {
|
|
"dev": "electron-vite dev",
|
|
"build": "electron-vite build",
|
|
"preview": "electron-vite preview",
|
|
"typecheck": "tsc --noEmit -p tsconfig.node.json && tsc --noEmit -p tsconfig.web.json",
|
|
"package": "npm run build && electron-builder --mac",
|
|
"package:win": "npm run build && electron-builder --win",
|
|
"package:linux": "npm run build && electron-builder --linux"
|
|
},
|
|
"devDependencies": {
|
|
"@electron-toolkit/tsconfig": "^1.0.1",
|
|
"@types/node": "^20.0.0",
|
|
"@types/react": "^18.2.0",
|
|
"@types/react-dom": "^18.2.0",
|
|
"@vitejs/plugin-react": "^4.2.0",
|
|
"electron": "^33.0.0",
|
|
"electron-builder": "^24.0.0",
|
|
"electron-vite": "^2.3.0",
|
|
"typescript": "^5.4.0",
|
|
"vite": "^5.2.0"
|
|
},
|
|
"dependencies": {
|
|
"@anthropic-ai/sdk": "^0.29.0",
|
|
"@codemirror/commands": "^6.6.0",
|
|
"@codemirror/lang-markdown": "^6.3.0",
|
|
"@codemirror/language": "^6.10.0",
|
|
"@codemirror/search": "^6.5.0",
|
|
"@codemirror/state": "^6.4.0",
|
|
"@codemirror/view": "^6.35.0",
|
|
"@electron-toolkit/preload": "^3.0.0",
|
|
"@electron-toolkit/utils": "^3.0.0",
|
|
"marked": "^17.0.3",
|
|
"openai": "^6.42.0",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"zustand": "^4.5.0"
|
|
},
|
|
"build": {
|
|
"appId": "com.borges.editor",
|
|
"productName": "Borges",
|
|
"icon": "resources/icon.png",
|
|
"mac": {
|
|
"icon": "resources/icon.icns",
|
|
"target": [
|
|
{
|
|
"target": "dmg",
|
|
"arch": "universal"
|
|
}
|
|
]
|
|
},
|
|
"win": {
|
|
"icon": "resources/icon.ico",
|
|
"target": [
|
|
{
|
|
"target": "nsis",
|
|
"arch": [
|
|
"x64"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"linux": {
|
|
"icon": "resources/icon.png",
|
|
"target": [
|
|
{
|
|
"target": "AppImage",
|
|
"arch": [
|
|
"x64"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"files": [
|
|
"out/**/*"
|
|
],
|
|
"extraResources": [
|
|
{
|
|
"from": "resources/icon.png",
|
|
"to": "icon.png"
|
|
}
|
|
]
|
|
}
|
|
}
|