Bun + SvelteKit (static adapter) + Electron project files, icon resources, dev/e2e/bench scripts and the README documenting the app. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
107 lines
2.9 KiB
JSON
107 lines
2.9 KiB
JSON
{
|
|
"name": "ink",
|
|
"productName": "Ink",
|
|
"desktopName": "ink.desktop",
|
|
"version": "1.0.0-beta",
|
|
"description": "A calm, offline Markdown notes app.",
|
|
"private": true,
|
|
"type": "module",
|
|
"main": "electron/main.cjs",
|
|
"scripts": {
|
|
"dev": "concurrently -k -n web,app -c magenta,cyan \"vite dev\" \"wait-on http://localhost:5173 && node scripts/dev-app.mjs\"",
|
|
"dev:web": "vite dev",
|
|
"build": "vite build",
|
|
"start": "vite build && electron .",
|
|
"dist": "vite build && electron-builder",
|
|
"test": "ELECTRON_RUN_AS_NODE=1 electron --test test/*.test.js",
|
|
"e2e": "node scripts/e2e.mjs",
|
|
"postinstall": "bun node_modules/electron/install.js && svelte-kit sync && electron-rebuild -f -w better-sqlite3",
|
|
"icons": "./scripts/icons.sh",
|
|
"test:e2e": "node scripts/e2e.mjs"
|
|
},
|
|
"trustedDependencies": [
|
|
"electron"
|
|
],
|
|
"dependencies": {
|
|
"better-sqlite3": "^11.9.1",
|
|
"katex": "^0.19.0",
|
|
"mermaid": "^12.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@electron/rebuild": "^3.7.1",
|
|
"@fontsource-variable/inter": "^5.2.5",
|
|
"@fontsource/jetbrains-mono": "^5.2.5",
|
|
"@sveltejs/adapter-static": "^3.0.8",
|
|
"@sveltejs/kit": "^2.20.2",
|
|
"@sveltejs/vite-plugin-svelte": "^5.0.3",
|
|
"concurrently": "^9.1.2",
|
|
"electron": "^35.1.2",
|
|
"electron-builder": "^25.1.8",
|
|
"svelte": "^5.25.3",
|
|
"vite": "^6.2.3",
|
|
"wait-on": "^8.0.3"
|
|
},
|
|
"build": {
|
|
"appId": "app.ink.desktop",
|
|
"productName": "Ink",
|
|
"copyright": "Copyright © 2026",
|
|
"directories": {
|
|
"output": "dist",
|
|
"buildResources": "resources"
|
|
},
|
|
"files": [
|
|
"build/**/*",
|
|
"electron/**/*",
|
|
"resources/icons/*.png",
|
|
"package.json"
|
|
],
|
|
"asarUnpack": [
|
|
"node_modules/better-sqlite3/**/*"
|
|
],
|
|
"artifactName": "${productName}-${version}-${arch}.${ext}",
|
|
"mac": {
|
|
"category": "public.app-category.productivity",
|
|
"icon": "resources/icon.png",
|
|
"target": [
|
|
"dmg"
|
|
]
|
|
},
|
|
"dmg": {
|
|
"title": "${productName} ${version}"
|
|
},
|
|
"win": {
|
|
"icon": "resources/icon.ico",
|
|
"target": [
|
|
"nsis"
|
|
]
|
|
},
|
|
"nsis": {
|
|
"oneClick": false,
|
|
"perMachine": false,
|
|
"allowToChangeInstallationDirectory": true,
|
|
"createDesktopShortcut": true,
|
|
"createStartMenuShortcut": true,
|
|
"shortcutName": "Ink",
|
|
"installerIcon": "resources/icon.ico",
|
|
"uninstallerIcon": "resources/icon.ico",
|
|
"uninstallDisplayName": "Ink",
|
|
"deleteAppDataOnUninstall": false
|
|
},
|
|
"linux": {
|
|
"icon": "resources/icons",
|
|
"target": [
|
|
"AppImage"
|
|
],
|
|
"category": "Office",
|
|
"executableName": "ink",
|
|
"synopsis": "A calm, offline Markdown notes app",
|
|
"desktop": {
|
|
"Name": "Ink",
|
|
"Comment": "A calm, offline Markdown notes app",
|
|
"Keywords": "notes;markdown;writing;kanban;journal;",
|
|
"StartupWMClass": "ink"
|
|
}
|
|
}
|
|
}
|
|
}
|