117 lines
2.8 KiB
JSON
117 lines
2.8 KiB
JSON
{
|
|
"name": "micropad",
|
|
"version": "4.5.1",
|
|
"description": "A powerful note-taking app that helps you organise + take notes without restrictions.",
|
|
"main": "main.js",
|
|
"scripts": {
|
|
"start": "yarn build && yarn electron . --is-dev --no-sandbox",
|
|
"build": "yarn tsc -p tsconfig.json",
|
|
"update-core": "rm -rf core && rm -rf tmp && mkdir tmp && wget https://github.com/MicroPad/MicroPad-Core/releases/download/v${npm_package_version}/micropad.tar.xz -P ./tmp && cd tmp && tar -xf micropad.tar.xz && rm build/dist/*.map && cp -r build ../core && cd .. && rm -rf tmp",
|
|
"pack": "yarn build && yarn electron-builder --dir",
|
|
"dist": "yarn build && yarn electron-builder",
|
|
"windows:version": "echo %npm_package_version%"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/MicroPad/Electron.git"
|
|
},
|
|
"author": {
|
|
"name": "Nick Webster",
|
|
"email": "nick@nick.geek.nz"
|
|
},
|
|
"license": "MPL-2.0",
|
|
"bugs": {
|
|
"url": "https://github.com/MicroPad/Electron/issues"
|
|
},
|
|
"homepage": "https://getmicropad.com",
|
|
"devDependencies": {
|
|
"@types/mime": "^3.0.1",
|
|
"@types/node": "^18.7.18",
|
|
"@types/typo-js": "^1.2.1",
|
|
"electron": "^28.1.0",
|
|
"electron-builder": "^24.9.1",
|
|
"typescript": "~5.2.2"
|
|
},
|
|
"dependencies": {
|
|
"dictionary-en": "^3.0.0",
|
|
"dictionary-en-au": "^2.1.1",
|
|
"electron-context-menu": "^3.1.2",
|
|
"electron-window-state": "^5.0.3",
|
|
"localforage": "^1.10.0",
|
|
"mime": "^3.0.0",
|
|
"typo-js": "^1.2.3"
|
|
},
|
|
"build": {
|
|
"appId": "com.getmicropad.micropad",
|
|
"productName": "µPad",
|
|
"publish": {
|
|
"provider": "github",
|
|
"releaseType": "release"
|
|
},
|
|
"asarUnpack": [
|
|
"preload.js"
|
|
],
|
|
"linux": {
|
|
"target": [
|
|
{
|
|
"target": "tar.gz",
|
|
"arch": [
|
|
"x64",
|
|
"armv7l",
|
|
"arm64"
|
|
]
|
|
},
|
|
{
|
|
"target": "AppImage",
|
|
"arch": [
|
|
"x64",
|
|
"armv7l",
|
|
"arm64"
|
|
]
|
|
},
|
|
"snap",
|
|
"deb",
|
|
"rpm",
|
|
"pacman"
|
|
],
|
|
"executableName": "micropad",
|
|
"category": "Office",
|
|
"icon": "build/icons"
|
|
},
|
|
"pacman": {
|
|
"depends": [
|
|
"gtk3"
|
|
]
|
|
},
|
|
"snap": {
|
|
"publish": {
|
|
"provider": "github",
|
|
"releaseType": "release"
|
|
}
|
|
},
|
|
"mac": {
|
|
"target": {
|
|
"target": "dmg",
|
|
"arch": "universal"
|
|
},
|
|
"category": "public.app-category.productivity",
|
|
"identity": null
|
|
},
|
|
"win": {
|
|
"target": [
|
|
{
|
|
"target": "nsis",
|
|
"arch": [
|
|
"x64",
|
|
"arm64"
|
|
]
|
|
},
|
|
"portable"
|
|
]
|
|
},
|
|
"nsis": {
|
|
"allowToChangeInstallationDirectory": true,
|
|
"oneClick": false
|
|
}
|
|
}
|
|
}
|