{ "name": "@notesnook/desktop", "productName": "Notesnook", "description": "Your private note taking space", "version": "3.0.11", "appAppleId": "1544027013", "private": true, "main": "./dist/index.js", "types": "./dist/index.d.ts", "homepage": "https://notesnook.com/", "repository": "https://github.com/streetwriters/notesnook", "license": "GPL-3.0-or-later", "dependencies": { "@notesnook/crypto": "file:../../packages/crypto", "@trpc/client": "10.38.3", "@trpc/server": "10.38.3", "better-sqlite3-multiple-ciphers": "^9.5.0", "electron-trpc": "0.5.2", "electron-updater": "6.1.4", "icojs": "^0.17.1", "sodium-native": "^4.1.1", "typed-emitter": "^2.1.0", "yargs": "^17.6.2", "zod": "^3.21.4" }, "devDependencies": { "@types/node": "18.16.1", "@types/yargs": "^17.0.24", "chokidar": "^3.5.3", "electron": "^29.3.1", "electron-builder": "^24.13.3", "esbuild": "^0.23.0", "kysely": "^0.27.3", "node-gyp-build": "^4.8.0", "prebuildify": "^6.0.1", "tree-kill": "^1.2.2", "undici": "^6.14.1" }, "optionalDependencies": { "dmg-license": "^1.0.11" }, "scripts": { "start": "node scripts/dev.mjs", "staging": "node scripts/build.mjs --run", "release": "node scripts/build.mjs", "build": "tsc", "bundle": "esbuild electron=./src/main.ts ./src/preload.ts --external:electron --external:fsevents --external:better-sqlite3-multiple-ciphers --external:sodium-native --minify --bundle --outdir=./build --platform=node --tsconfig=tsconfig.json --define:MAC_APP_STORE=false --define:RELEASE=true", "bundle:mas": "esbuild electron=./src/main.ts ./src/preload.ts --minify --external:electron --external:fsevents --bundle --outdir=./build --platform=node --tsconfig=tsconfig.json --define:MAC_APP_STORE=true --define:RELEASE=true", "postinstall": "patch-package" }, "author": { "name": "Streetwriters (Private) Limited", "email": "support@streetwriters.co", "url": "https://streetwriters.co" }, "build": { "appId": "org.streetwriters.notesnook", "productName": "Notesnook", "copyright": "Copyright © 2023 Streetwriters (Private) Limited", "artifactName": "notesnook_${os}_${arch}.${ext}", "generateUpdatesFilesForAllChannels": true, "asar": false, "files": [ "!*.chunk.js.map", "!*.chunk.js.LICENSE.txt", "build/", "!build/screenshots${/*}", "!build/banner.jpg", "!build/*.ico", "!build/*.png", "!node_modules${/*}", "node_modules/better-sqlite3-multiple-ciphers/build/Release/better_sqlite3.node", "node_modules/better-sqlite3-multiple-ciphers/lib", "node_modules/better-sqlite3-multiple-ciphers/package.json", "node_modules/file-uri-to-path", "node_modules/bindings", "node_modules/node-gyp-build", "node_modules/sodium-native/prebuilds/${platform}-${arch}", "node_modules/sodium-native/index.js", "node_modules/sodium-native/package.json" ], "afterPack": "./scripts/removeLocales.js", "mac": { "bundleVersion": "240", "minimumSystemVersion": "10.12.0", "target": [ { "target": "dmg", "arch": [ "arm64", "x64" ] }, { "target": "zip", "arch": [ "arm64", "x64" ] } ], "category": "public.app-category.productivity", "darkModeSupport": true, "type": "distribution", "hardenedRuntime": true, "entitlements": "assets/entitlements.mac.plist", "entitlementsInherit": "assets/entitlements.mac.plist", "gatekeeperAssess": false, "icon": "assets/icons/app.icns", "notarize": true }, "dmg": { "contents": [ { "x": 130, "y": 220 }, { "x": 410, "y": 220, "type": "link", "path": "/Applications" } ], "icon": "assets/icons/app.icns", "title": "Install Notesnook" }, "mas": { "entitlements": "assets/entitlements.mas.plist", "entitlementsInherit": "assets/entitlements.mas.inherit.plist", "entitlementsLoginHelper": "assets/entitlements.mas.loginhelper.plist", "hardenedRuntime": true }, "win": { "target": [ { "target": "nsis", "arch": [ "x64", "arm64" ] }, { "target": "portable", "arch": [ "x64", "arm64" ] } ], "signingHashAlgorithms": [ "sha256" ], "sign": "./scripts/sign.js", "icon": "assets/icons/app.ico" }, "portable": { "artifactName": "notesnook_${os}_${arch}_portable.${ext}" }, "nsis": { "oneClick": true, "createDesktopShortcut": "always" }, "linux": { "target": [ { "target": "AppImage", "arch": [ "x64", "arm64" ] }, { "target": "snap", "arch": [ "x64", "arm64" ] } ], "category": "Office", "icon": "assets/icons/app.icns", "description": "Your private note taking space", "executableName": "notesnook", "desktop": { "actions": [ { "id": "new-note", "name": "New note", "args": "new note" }, { "id": "new-notebook", "name": "New notebook", "args": "new notebook" }, { "id": "new-reminder", "name": "New reminder", "args": "new reminder" } ] } }, "snap": { "autoStart": false, "confinement": "strict", "allowNativeWayland": true }, "extraResources": [ "app-update.yml", "./assets/**" ], "extraMetadata": { "main": "./build/electron.js" }, "directories": { "buildResources": "assets", "output": "./output/" }, "publish": [ { "provider": "github", "repo": "notesnook", "owner": "streetwriters" } ] } }