Files
notesnook/apps/web/desktop/package.json

189 lines
4.8 KiB
JSON
Raw Normal View History

{
"name": "@notesnook/desktop",
"productName": "Notesnook",
"description": "Your private note taking space",
2023-06-08 16:03:33 +05:00
"version": "2.5.2",
"appAppleId": "1544027013",
"private": true,
"main": "./build/electron.js",
"homepage": "https://notesnook.com/",
"repository": "https://github.com/streetwriters/notesnook",
"dependencies": {
2022-07-13 23:09:03 +05:00
"diary": "^0.3.1",
"electron-updater": "^5.3.0",
"icojs": "^0.17.1",
"yargs": "^17.6.2"
},
"devDependencies": {
2023-06-08 17:59:01 +05:00
"@types/node": "^18.15.0",
"electron": "^25.1.0",
"electron-builder": "^23.6.0",
"electron-builder-notarize": "^1.5.0",
2022-07-13 23:09:03 +05:00
"electron-reloader": "^1.2.3",
2023-06-08 17:59:01 +05:00
"esbuild": "^0.17.19",
"patch-package": "^6.5.1"
},
"scripts": {
"build": "esbuild ./electron.js ./preload.js --external:electron --external:fsevents --minify --bundle --outdir=./build --platform=node --tsconfig=tsconfig.json --define:MAC_APP_STORE=false --define:RELEASE=true",
"build:mas": "esbuild ./electron.js ./preload.js --minify --external:electron --external:fsevents --bundle --outdir=./build --platform=node --tsconfig=tsconfig.json --define:MAC_APP_STORE=true --define:RELEASE=true",
2023-03-21 09:25:15 +05:00
"pack": "rm -rf ./build && cp -r ../build ./ && npm run build && yarn electron-builder --linux AppImage:x64 AppImage:arm64",
"postinstall": "patch-package"
},
"author": {
2023-01-16 13:44:52 +05:00
"name": "Streetwriters (Private) Limited",
"email": "support@streetwriters.co",
"url": "https://streetwriters.co"
},
"build": {
"appId": "org.streetwriters.notesnook",
"productName": "Notesnook",
2023-01-16 13:44:52 +05:00
"copyright": "Copyright © 2023 Streetwriters (Private) Limited",
"artifactName": "notesnook_${os}_${arch}.${ext}",
"files": [
"!*.chunk.js.map",
"!*.chunk.js.LICENSE.txt",
"build/",
"!build/screenshots",
"!node_modules"
],
"afterSign": "electron-builder-notarize",
"afterPack": "./scripts/removeLocales.js",
"mac": {
2023-01-14 13:17:01 +05:00
"bundleVersion": "240",
"minimumSystemVersion": "10.12.0",
"target": [
2021-08-05 12:18:00 +05:00
{
"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"
},
"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": [
2023-03-21 08:28:50 +05:00
{
"target": "nsis",
"arch": [
"x64",
"arm64"
]
},
{
"target": "portable",
"arch": [
"x64",
"arm64"
]
}
],
"icon": "assets/icons/app.ico"
},
"portable": {
"artifactName": "notesnook_${os}_${arch}_portable.${ext}"
},
"nsis": {
"oneClick": true,
"createDesktopShortcut": "always"
},
"linux": {
"target": [
2023-03-21 08:28:50 +05:00
{
"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"
}
]
}
},
2022-09-23 11:13:35 +05:00
"snap": {
"autoStart": false,
"confinement": "strict",
"allowNativeWayland": true
},
"extraResources": [
"./assets/**"
],
"directories": {
"buildResources": "assets",
"output": "./dist/"
},
2022-09-23 11:13:35 +05:00
"publish": [
{
"provider": "github",
"repo": "notesnook",
"owner": "streetwriters"
}
]
}
}