mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-25 07:59:48 +01:00
128 lines
3.3 KiB
JSON
128 lines
3.3 KiB
JSON
{
|
|
"name": "@notesnook/desktop",
|
|
"productName": "Notesnook",
|
|
"description": "Your private note taking space",
|
|
"version": "1.4.1",
|
|
"private": true,
|
|
"main": "./build/electron.js",
|
|
"homepage": "https://notesnook.com/",
|
|
"repository": "https://github.com/streetwriters/notesnook",
|
|
"dependencies": {
|
|
"electron-serve": "^1.1.0",
|
|
"electron-updater": "^4.3.8",
|
|
"node-fetch": "^2.6.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node-fetch": "^2.5.10",
|
|
"electron": "^12.0.0",
|
|
"electron-builder": "^22.11.7",
|
|
"electron-builder-notarize": "^1.2.0",
|
|
"electron-reloader": "^1.2.1",
|
|
"esbuild": "^0.12.15",
|
|
"mvdir": "^1.0.21",
|
|
"zx": "^2.0.0"
|
|
},
|
|
"scripts": {
|
|
"build": "esbuild ./electron.js ./preload.js --minify --external:electron --external:fsevents --bundle --outdir=./build --platform=node"
|
|
},
|
|
"author": {
|
|
"name": "Streetwriters (Private) Ltd.",
|
|
"email": "support@streetwriters.co",
|
|
"url": "https://streetwriters.co"
|
|
},
|
|
"build": {
|
|
"appId": "com.streetwriters.notesnook",
|
|
"productName": "Notesnook",
|
|
"copyright": "Copyright © 2021 Streetwriters (Private) Ltd.",
|
|
"artifactName": "notesnook.${ext}",
|
|
"files": [
|
|
"!*.chunk.js.map",
|
|
"!*.chunk.js.LICENSE.txt",
|
|
"build/",
|
|
"!node_modules",
|
|
"node_modules/node-fetch",
|
|
"node_modules/electron-updater",
|
|
"node_modules/lazy-val",
|
|
"node_modules/builder-util-runtime",
|
|
"node_modules/fs-extra",
|
|
"node_modules/js-yaml",
|
|
"node_modules/lodash.isequal",
|
|
"node_modules/semver",
|
|
"node_modules/debug",
|
|
"node_modules/ms",
|
|
"node_modules/lru-cache",
|
|
"node_modules/yallist",
|
|
"node_modules/universalify",
|
|
"node_modules/graceful-fs",
|
|
"node_modules/at-least-node",
|
|
"node_modules/jsonfile",
|
|
"node_modules/sax"
|
|
],
|
|
"afterSign": "electron-builder-notarize",
|
|
"afterPack": "./scripts/removeLocales.js",
|
|
"mac": {
|
|
"target": [
|
|
"dmg",
|
|
"zip"
|
|
],
|
|
"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"
|
|
},
|
|
"win": {
|
|
"target": [
|
|
"nsis"
|
|
],
|
|
"icon": "assets/icons/app.ico"
|
|
},
|
|
"nsis": {
|
|
"oneClick": true,
|
|
"createDesktopShortcut": "always"
|
|
},
|
|
"linux": {
|
|
"target": [
|
|
"AppImage",
|
|
"deb",
|
|
"rpm"
|
|
],
|
|
"category": "Office",
|
|
"icon": "assets/icons/app.icns",
|
|
"description": "Your private note taking space",
|
|
"executableName": "Notesnook"
|
|
},
|
|
"extraResources": [
|
|
"./assets/**"
|
|
],
|
|
"directories": {
|
|
"buildResources": "assets",
|
|
"output": "./dist/"
|
|
},
|
|
"publish": {
|
|
"provider": "github",
|
|
"repo": "notesnook",
|
|
"owner": "streetwriters"
|
|
}
|
|
}
|
|
}
|